Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/clang.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-172119-10529/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/clang.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (9 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/clang-17.0.6-3.ocs23.src.rpm RPM build warnings: %patchN is deprecated (9 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/clang.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-172119-10529/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/clang.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (9 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.3C94tt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf clang-tools-extra-17.0.6.src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/clang-tools-extra-17.0.6.src.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd clang-tools-extra-17.0.6.src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #3000 (0001-clang-tools-extra-Make-test-dependency-on-LLVMHello-.patch):' Patch #3000 (0001-clang-tools-extra-Make-test-dependency-on-LLVMHello-.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0 patching file test/CMakeLists.txt patching file test/clang-tidy/CTTestTidyModule.cpp patching file test/lit.cfg.py patching file test/lit.site.cfg.py.in + rm test/clang-tidy/checkers/altera/struct-pack-align.cpp + pathfix.py -i /usr/bin/python3 -p -n -k -as clang-tidy/tool/ clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py recursedown('clang-tidy/tool/') clang-tidy/tool/clang-tidy-diff.py: updating clang-tidy/tool/run-clang-tidy.py: updating clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py: updating + cd /builddir/build/BUILD + rm -rf clang-17.0.6.src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/clang-17.0.6.src.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd clang-17.0.6.src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (0001-Backport-LoongArch-Add-the-support-for-vector.patch): + echo 'Patch #1 (0001-Backport-LoongArch-Add-the-support-for-vector.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0 patching file include/clang/Basic/BuiltinsLoongArch.def patching file include/clang/Basic/DiagnosticSemaKinds.td patching file lib/CodeGen/CGBuiltin.cpp patching file lib/CodeGen/CodeGenFunction.h patching file lib/Sema/SemaChecking.cpp patching file test/CodeGen/LoongArch/intrinsic-la32-error.c patching file include/clang/Basic/DiagnosticDriverKinds.td patching file include/clang/Driver/Options.td Hunk #2 succeeded at 4192 (offset -6 lines). patching file lib/Basic/Targets/LoongArch.cpp patching file lib/Basic/Targets/LoongArch.h patching file lib/Driver/ToolChains/Arch/LoongArch.cpp patching file test/Driver/loongarch-mlasx-error.c patching file test/Driver/loongarch-mlasx.c patching file test/Driver/loongarch-mlsx-error.c patching file test/Driver/loongarch-mlsx.c patching file test/Preprocessor/init-loongarch.c patching file lib/CodeGen/Targets/LoongArch.cpp patching file include/clang/Basic/BuiltinsLoongArch.def patching file include/clang/Basic/BuiltinsLoongArchBase.def patching file include/clang/Basic/BuiltinsLoongArchLSX.def patching file lib/Headers/CMakeLists.txt patching file lib/Headers/lsxintrin.h patching file lib/Sema/SemaChecking.cpp patching file include/clang/Basic/BuiltinsLoongArch.def patching file include/clang/Basic/BuiltinsLoongArchLASX.def patching file lib/Headers/CMakeLists.txt patching file lib/Headers/lasxintrin.h patching file lib/Sema/SemaChecking.cpp patching file test/CodeGen/LoongArch/lsx/builtin-alias-error.c patching file test/CodeGen/LoongArch/lsx/builtin-alias.c patching file test/CodeGen/LoongArch/lsx/builtin-error.c patching file test/CodeGen/LoongArch/lsx/builtin.c patching file test/CodeGen/LoongArch/lasx/builtin-alias-error.c patching file test/CodeGen/LoongArch/lasx/builtin-alias.c patching file test/CodeGen/LoongArch/lasx/builtin-error.c patching file test/CodeGen/LoongArch/lasx/builtin.c patching file lib/CodeGen/Targets/LoongArch.cpp patching file test/CodeGen/LoongArch/lasx/builtin-alias.c patching file test/CodeGen/LoongArch/lasx/builtin.c patching file test/CodeGen/LoongArch/lsx/builtin-alias.c patching file test/CodeGen/LoongArch/lsx/builtin.c Patch #2 (0002-Backport-LoongArch-improve-the-support-for-compiler-rt-and-bugfix.patch): + echo 'Patch #2 (0002-Backport-LoongArch-improve-the-support-for-compiler-rt-and-bugfix.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0 patching file lib/Driver/ToolChain.cpp patching file test/Driver/fsanitize.c patching file lib/Basic/Targets/LoongArch.h patching file test/CodeGen/mcount.c patching file test/CodeGen/LoongArch/abi-lp64d-empty-structs.c patching file lib/CodeGen/Targets/LoongArch.cpp patching file test/CodeGen/LoongArch/abi-lp64d-empty-structs.c patching file test/CodeGen/LoongArch/abi-lp64d-empty-unions.c patching file lib/CodeGen/Targets/LoongArch.cpp patching file test/CodeGen/LoongArch/abi-lp64d-empty-structs.c patching file test/CodeGen/LoongArch/abi-lp64d-empty-unions.c patching file lib/Driver/ToolChains/Clang.cpp Hunk #1 succeeded at 5595 (offset -37 lines). patching file test/Driver/fdirect-access-external-data.c patching file test/CodeGen/LoongArch/intrinsic-la32.c patching file test/CodeGen/LoongArch/intrinsic-la64.c patching file lib/Headers/larchintrin.h patching file test/CodeGen/LoongArch/intrinsic-la32.c patching file test/CodeGen/LoongArch/intrinsic-la64.c Patch #3001 (0010-PATCH-clang-Produce-DWARF4-by-default.patch): + echo 'Patch #3001 (0010-PATCH-clang-Produce-DWARF4-by-default.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0 patching file lib/Driver/ToolChain.cpp patching file test/CodeGen/dwarf-version.c patching file test/Driver/as-options.s patching file test/Driver/cl-options.c Hunk #1 succeeded at 575 (offset 6 lines). patching file test/Driver/clang-g-opts.c patching file test/Driver/ve-toolchain.c patching file test/Driver/ve-toolchain.cpp Patch #3002 (0003-PATCH-clang-Don-t-install-static-libraries.patch): + echo 'Patch #3002 (0003-PATCH-clang-Don-t-install-static-libraries.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0 patching file cmake/modules/AddClang.cmake Hunk #1 succeeded at 114 (offset 1 line). Patch #3003 (cfg.patch): + echo 'Patch #3003 (cfg.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0 patching file include/clang/Analysis/CFG.h patching file lib/Analysis/CFG.cpp Hunk #2 succeeded at 1325 (offset -25 lines). Hunk #3 succeeded at 1841 (offset -25 lines). Hunk #4 succeeded at 1859 (offset -25 lines). Hunk #5 succeeded at 1871 (offset -25 lines). Hunk #6 succeeded at 1905 (offset -25 lines). Hunk #7 succeeded at 2078 (offset -25 lines). Hunk #8 succeeded at 2136 (offset -25 lines). Hunk #9 succeeded at 5275 (offset -24 lines). Hunk #10 succeeded at 5819 (offset -24 lines). patching file lib/Analysis/PathDiagnostic.cpp Hunk #1 succeeded at 565 (offset -2 lines). patching file lib/StaticAnalyzer/Core/ExprEngine.cpp patching file test/Analysis/scopes-cfg-output.cpp Patch #3004 (tsa.patch): + echo 'Patch #3004 (tsa.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0 patching file include/clang/Analysis/Analyses/ThreadSafetyCommon.h patching file lib/Analysis/ThreadSafety.cpp Hunk #2 succeeded at 2415 (offset -3 lines). patching file lib/Analysis/ThreadSafetyCommon.cpp patching file test/Sema/warn-thread-safety-analysis.c Patch #5000 (clang-16.0.6-add-OpenCloudOS-support.patch): + echo 'Patch #5000 (clang-16.0.6-add-OpenCloudOS-support.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file lib/Driver/ToolChains/Gnu.cpp Hunk #1 succeeded at 2298 (offset 225 lines). Hunk #2 succeeded at 2328 (offset 229 lines). Hunk #3 succeeded at 2395 (offset 233 lines). Hunk #4 succeeded at 2405 (offset 233 lines). Patch #5001 (0001-LoongArch-Add-support-for-OpenCloudOS-triple.patch): + echo 'Patch #5001 (0001-LoongArch-Add-support-for-OpenCloudOS-triple.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0 patching file lib/Driver/ToolChains/Gnu.cpp + pathfix.py -i /usr/bin/python3 -p -n -k -as tools/clang-format/ tools/clang-format/git-clang-format utils/hmaptool/hmaptool tools/scan-view/bin/scan-view tools/scan-view/share/Reporter.py tools/scan-view/share/startfile.py tools/scan-build-py/bin/analyze-build tools/scan-build-py/bin/intercept-build tools/scan-build-py/bin/scan-build tools/scan-build-py/libexec/analyze-c++ tools/scan-build-py/libexec/analyze-cc tools/scan-build-py/libexec/intercept-c++ tools/scan-build-py/libexec/intercept-cc recursedown('tools/clang-format/') recursedown('tools/clang-format/fuzzer') tools/clang-format/clang-format-diff.py: updating tools/clang-format/clang-format-sublime.py: no change tools/clang-format/clang-format.py: no change tools/clang-format/git-clang-format: updating utils/hmaptool/hmaptool: updating tools/scan-view/bin/scan-view: updating tools/scan-view/share/Reporter.py: updating tools/scan-view/share/startfile.py: updating tools/scan-build-py/bin/analyze-build: updating tools/scan-build-py/bin/intercept-build: updating tools/scan-build-py/bin/scan-build: updating tools/scan-build-py/libexec/analyze-c++: updating tools/scan-build-py/libexec/analyze-cc: updating tools/scan-build-py/libexec/intercept-c++: updating tools/scan-build-py/libexec/intercept-cc: updating + rm test/CodeGen/profile-filter.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.I7srje + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd clang-17.0.6.src + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B aarch64-OpenCloudOS-linux-gnu -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -G Ninja -DLLVM_PARALLEL_LINK_JOBS=1 -DLLVM_LINK_LLVM_DYLIB:BOOL=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DPYTHON_EXECUTABLE=/usr/bin/python3 -DCMAKE_SKIP_RPATH:BOOL=ON -DCLANG_INCLUDE_TESTS:BOOL=ON -DLLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR=../clang-tools-extra-17.0.6.src -DLLVM_EXTERNAL_LIT=/usr/bin/lit -DLLVM_MAIN_SRC_DIR=/usr/share/llvm/src -DLLVM_LIBDIR_SUFFIX=64 -DLLVM_TABLEGEN_EXE:FILEPATH=/usr/bin/llvm-tblgen -DLLVM_COMMON_CMAKE_UTILS=/usr/share/llvm/cmake -DCLANG_ENABLE_ARCMT:BOOL=ON -DCLANG_ENABLE_STATIC_ANALYZER:BOOL=ON -DCLANG_INCLUDE_DOCS:BOOL=ON -DCLANG_PLUGIN_SUPPORT:BOOL=ON -DENABLE_LINKER_BUILD_ID:BOOL=ON -DLLVM_ENABLE_EH=ON -DLLVM_ENABLE_RTTI=ON -DPPC_LINUX_DEFAULT_IEEELONGDOUBLE=ON -DCLANG_LINK_CLANG_DYLIB=ON -DLLVM_ENABLE_NEW_PASS_MANAGER=ON -DLLVM_ENABLE_SPHINX=ON -DSPHINX_WARNINGS_AS_ERRORS=OFF -DLLVM_BUILD_DOCS=ON -DCLANG_BUILD_EXAMPLES:BOOL=OFF -DBUILD_SHARED_LIBS=OFF '-DCLANG_REPOSITORY_STRING=OpenCloudOS 17.0.6-3.ocs23' -DCLANG_DEFAULT_UNWINDLIB=libgcc -- The C compiler identification is GNU 12.3.1 -- The CXX compiler identification is GNU 12.3.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Could NOT find FFI (missing: FFI_LIBRARIES HAVE_FFI_CALL) -- Looking for histedit.h -- Looking for histedit.h - found -- Found LibEdit: /usr/include (found version "2.11") -- Performing Test Terminfo_LINKABLE -- Performing Test Terminfo_LINKABLE - Success -- Found Terminfo: /usr/lib64/libtinfo.so -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.13") -- Linker detection: GNU ld -- Performing Test C_SUPPORTS_FPIC -- Performing Test C_SUPPORTS_FPIC - Success -- Performing Test CXX_SUPPORTS_FPIC -- Performing Test CXX_SUPPORTS_FPIC - Success -- Building with -fPIC -- Performing Test C_SUPPORTS_FNO_SEMANTIC_INTERPOSITION -- Performing Test C_SUPPORTS_FNO_SEMANTIC_INTERPOSITION - Success -- Performing Test CXX_SUPPORTS_FNO_SEMANTIC_INTERPOSITION -- Performing Test CXX_SUPPORTS_FNO_SEMANTIC_INTERPOSITION - Success -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success -- Performing Test C_SUPPORTS_WERROR_DATE_TIME -- Performing Test C_SUPPORTS_WERROR_DATE_TIME - Success -- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME -- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME - Success -- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW -- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed -- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW -- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed -- Performing Test C_SUPPORTS_CMAKE_CXX_FLAGS -- Performing Test C_SUPPORTS_CMAKE_CXX_FLAGS - Success -- Performing Test CXX_SUPPORTS_CMAKE_CXX_FLAGS -- Performing Test CXX_SUPPORTS_CMAKE_CXX_FLAGS - Success -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success -- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG -- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success -- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG -- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed -- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG -- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG - Success -- Performing Test CXX_SUPPORTS_REDUNDANT_MOVE_FLAG -- Performing Test CXX_SUPPORTS_REDUNDANT_MOVE_FLAG - Success -- Performing Test CXX_SUPPORTS_PESSIMIZING_MOVE_FLAG -- Performing Test CXX_SUPPORTS_PESSIMIZING_MOVE_FLAG - Success -- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG -- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG - Success -- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR -- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR - Failed -- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG -- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG - Success -- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL -- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL - Success -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Failed -- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG -- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG - Failed -- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG -- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG - Failed -- Performing Test CXX_SUPPORTS_MISLEADING_INDENTATION_FLAG -- Performing Test CXX_SUPPORTS_MISLEADING_INDENTATION_FLAG - Success -- Performing Test C_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG -- Performing Test C_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG - Failed -- Performing Test CXX_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG -- Performing Test CXX_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG - Success -- Performing Test LINKER_SUPPORTS_COLOR_DIAGNOSTICS -- Performing Test LINKER_SUPPORTS_COLOR_DIAGNOSTICS - Failed -- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS -- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS - Success -- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS -- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS - Success -- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS -- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS - Success -- Performing Test C_SUPPORTS_FDATA_SECTIONS -- Performing Test C_SUPPORTS_FDATA_SECTIONS - Success -- Performing Test CXX_SUPPORTS_FDATA_SECTIONS -- Performing Test CXX_SUPPORTS_FDATA_SECTIONS - Success -- Looking for os_signpost_interval_begin -- Looking for os_signpost_interval_begin - not found -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Success -- Performing Test LLVM_HAS_ATOMICS -- Performing Test LLVM_HAS_ATOMICS - Success -- Found Python3: /usr/bin/python3.11 (found version "3.11.6") found components: Interpreter -- Looking for sys/resource.h -- Looking for sys/resource.h - found -- Clang version: 17.0.6 -- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG -- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG - Failed -- Could NOT find Git (missing: GIT_EXECUTABLE) -- Looking for include file sys/inotify.h -- Looking for include file sys/inotify.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Sphinx enabled. -- Found Sphinx: /usr/bin/sphinx-build -- Configuring done (7.4s) -- Generating done (0.7s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP CMAKE_VERBOSE_MAKEFILE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX LLVM_ENABLE_NEW_PASS_MANAGER PYTHON_EXECUTABLE SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu + /usr/bin/cmake --build aarch64-OpenCloudOS-linux-gnu -j8 --verbose [1/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangDataCollectorsEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangDataCollectorsEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangDataCollectorsEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangDataCollectorsEmitter.cpp [2/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentHTMLTagsEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentHTMLTagsEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentHTMLTagsEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangCommentHTMLTagsEmitter.cpp [3/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp [4/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ASTTableGen.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ASTTableGen.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ASTTableGen.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ASTTableGen.cpp [5/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentCommandInfoEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentCommandInfoEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentCommandInfoEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangCommentCommandInfoEmitter.cpp [6/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangASTNodesEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangASTNodesEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangASTNodesEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangASTNodesEmitter.cpp [7/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangSACheckersEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangSACheckersEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangSACheckersEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangSACheckersEmitter.cpp [8/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOpcodesEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOpcodesEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOpcodesEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangOpcodesEmitter.cpp [9/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangASTPropertiesEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangASTPropertiesEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangASTPropertiesEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangASTPropertiesEmitter.cpp [10/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangSyntaxEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangSyntaxEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangSyntaxEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangSyntaxEmitter.cpp [11/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangTypeNodesEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangTypeNodesEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangTypeNodesEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangTypeNodesEmitter.cpp [12/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOptionDocEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOptionDocEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOptionDocEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangOptionDocEmitter.cpp [13/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOpenCLBuiltinEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOpenCLBuiltinEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOpenCLBuiltinEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp [14/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /usr/bin/llvm-tblgen -gen-opt-parser-defs -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Driver/Options.td --write-if-changed -o include/clang/Driver/Options.inc -d include/clang/Driver/Options.inc.d [15/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_cuda_builtin_vars.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_builtin_vars.h [16/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_cuda_cmath.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_cmath.h [17/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_cuda_complex_builtins.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_complex_builtins.h [18/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_cuda_device_functions.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_device_functions.h [19/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_cuda_intrinsics.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_intrinsics.h [20/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_cuda_libdevice_declares.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_libdevice_declares.h [21/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_cuda_math.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_math.h [22/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_cuda_math_forward_declares.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_math_forward_declares.h [23/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_cuda_runtime_wrapper.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_runtime_wrapper.h [24/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_cuda_texture_intrinsics.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_texture_intrinsics.h [25/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_hip_cmath.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_hip_cmath.h [26/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_hip_libdevice_declares.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_hip_libdevice_declares.h [27/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_hip_math.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_hip_math.h [28/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_hip_runtime_wrapper.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_hip_runtime_wrapper.h [29/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_hip_stdlib.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_hip_stdlib.h [30/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__wmmintrin_aes.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__wmmintrin_aes.h [31/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__wmmintrin_pclmul.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__wmmintrin_pclmul.h [32/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/adxintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/adxintrin.h [33/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/altivec.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/altivec.h [34/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ammintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ammintrin.h [35/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/amxcomplexintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/amxcomplexintrin.h [36/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/amxfp16intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/amxfp16intrin.h [37/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/amxintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/amxintrin.h [38/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx2intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx2intrin.h [39/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512bf16intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512bf16intrin.h [40/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512bitalgintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512bitalgintrin.h [41/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512bwintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512bwintrin.h [42/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512cdintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512cdintrin.h [43/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512dqintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512dqintrin.h [44/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512erintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512erintrin.h [45/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512fintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512fintrin.h [46/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512fp16intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512fp16intrin.h [47/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512ifmaintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512ifmaintrin.h [48/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512ifmavlintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512ifmavlintrin.h [49/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/TableGen.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/TableGen.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/TableGen.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/TableGen.cpp [50/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512pfintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512pfintrin.h [51/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vbmiintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vbmiintrin.h [52/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vbmi2intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vbmi2intrin.h [53/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vlbf16intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlbf16intrin.h [54/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vbmivlintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vbmivlintrin.h [55/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vlbitalgintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlbitalgintrin.h [56/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vlbwintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlbwintrin.h [57/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vlcdintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlcdintrin.h [58/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vldqintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vldqintrin.h [59/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vlfp16intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlfp16intrin.h [60/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vlintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlintrin.h [61/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vlvbmi2intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlvbmi2intrin.h [62/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vlvnniintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlvnniintrin.h [63/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vnniintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vnniintrin.h [64/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vlvp2intersectintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlvp2intersectintrin.h [65/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vp2intersectintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vp2intersectintrin.h [66/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vpopcntdqintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vpopcntdqintrin.h [67/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vpopcntdqvlintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vpopcntdqvlintrin.h [68/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avxifmaintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avxifmaintrin.h [69/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avxintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avxintrin.h [70/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avxneconvertintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avxneconvertintrin.h [71/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avxvnniint8intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avxvnniint8intrin.h [72/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avxvnniint16intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avxvnniint16intrin.h [73/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/bmi2intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/bmi2intrin.h [74/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avxvnniintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avxvnniintrin.h [75/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/bmiintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/bmiintrin.h [76/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/builtins.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/builtins.h [77/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/cet.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cet.h [78/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/cetintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cetintrin.h [79/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/cldemoteintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cldemoteintrin.h [80/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/clwbintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/clwbintrin.h [81/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/clflushoptintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/clflushoptintrin.h [82/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/clzerointrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/clzerointrin.h [83/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/cmpccxaddintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cmpccxaddintrin.h [84/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/cpuid.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cpuid.h [85/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/crc32intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/crc32intrin.h [86/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/cuda_wrappers/algorithm /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cuda_wrappers/algorithm [87/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/cuda_wrappers/bits/basic_string.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cuda_wrappers/bits/basic_string.h [88/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/cuda_wrappers/bits/shared_ptr_base.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cuda_wrappers/bits/shared_ptr_base.h [89/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/cuda_wrappers/bits/basic_string.tcc /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cuda_wrappers/bits/basic_string.tcc [90/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/cuda_wrappers/cmath /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cuda_wrappers/cmath [91/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/cuda_wrappers/complex /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cuda_wrappers/complex [92/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/emmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/emmintrin.h [93/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/cuda_wrappers/new /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cuda_wrappers/new [94/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/enqcmdintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/enqcmdintrin.h [95/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/f16cintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/f16cintrin.h [96/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/fmaintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/fmaintrin.h [97/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/fma4intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/fma4intrin.h [98/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/fxsrintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/fxsrintrin.h [99/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/gfniintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/gfniintrin.h [100/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/hexagon_circ_brev_intrinsics.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/hexagon_circ_brev_intrinsics.h [101/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/hexagon_protos.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/hexagon_protos.h [102/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/hexagon_types.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/hexagon_types.h [103/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/hlsl.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/hlsl.h [104/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/hresetintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/hresetintrin.h [105/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/htmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/htmintrin.h [106/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/htmxlintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/htmxlintrin.h [107/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/hvx_hexagon_protos.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/hvx_hexagon_protos.h [108/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ia32intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ia32intrin.h [109/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/immintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/immintrin.h [110/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/intrin.h [111/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/invpcidintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/invpcidintrin.h [112/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/keylockerintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/keylockerintrin.h [113/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/larchintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/larchintrin.h [114/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/lasxintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/lasxintrin.h [115/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/llvm_libc_wrappers/stdio.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/llvm_libc_wrappers/stdio.h [116/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/lsxintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/lsxintrin.h [117/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/lzcntintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/lzcntintrin.h [118/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/lwpintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/lwpintrin.h [119/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/mm3dnow.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/mm3dnow.h [120/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/mm_malloc.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/mm_malloc.h [121/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/mmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/mmintrin.h [122/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/movdirintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/movdirintrin.h [123/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/msa.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/msa.h [124/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/mwaitxintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/mwaitxintrin.h [125/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/nmmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/nmmintrin.h [126/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/opencl-c.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/opencl-c.h [127/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/openmp_wrappers/math.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/openmp_wrappers/math.h [128/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/pconfigintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/pconfigintrin.h [129/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/pkuintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/pkuintrin.h [130/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/pmmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/pmmintrin.h [131/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/popcntintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/popcntintrin.h [132/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ppc_wrappers/bmi2intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/bmi2intrin.h [133/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ppc_wrappers/bmiintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/bmiintrin.h [134/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ppc_wrappers/emmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/emmintrin.h [135/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ppc_wrappers/immintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/immintrin.h [136/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ppc_wrappers/mm_malloc.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/mm_malloc.h [137/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ppc_wrappers/mmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/mmintrin.h [138/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ppc_wrappers/pmmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/pmmintrin.h [139/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ppc_wrappers/smmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/smmintrin.h [140/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ppc_wrappers/x86gprintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/x86gprintrin.h [141/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ppc_wrappers/tmmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/tmmintrin.h [142/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ppc_wrappers/x86intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/x86intrin.h [143/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ppc_wrappers/xmmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/xmmintrin.h [144/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/prfchiintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/prfchiintrin.h [145/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/prfchwintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/prfchwintrin.h [146/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ptwriteintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ptwriteintrin.h [147/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/raointintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/raointintrin.h [148/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/rdpruintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/rdpruintrin.h [149/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/rdseedintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/rdseedintrin.h [150/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/s390intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/s390intrin.h [151/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/rtmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/rtmintrin.h [152/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangDiagnosticsEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangDiagnosticsEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangDiagnosticsEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangDiagnosticsEmitter.cpp [153/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/serializeintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/serializeintrin.h [154/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/sgxintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/sgxintrin.h [155/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/sha512intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/sha512intrin.h [156/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/shaintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/shaintrin.h [157/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/sm3intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/sm3intrin.h [158/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/sm4intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/sm4intrin.h [159/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/tbmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/tbmintrin.h [160/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/smmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/smmintrin.h [161/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/tmmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/tmmintrin.h [162/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/tsxldtrkintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/tsxldtrkintrin.h [163/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/uintrintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/uintrintrin.h [164/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/vaesintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/vaesintrin.h [165/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/vecintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/vecintrin.h [166/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/velintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/velintrin.h [167/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/vpclmulqdqintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/vpclmulqdqintrin.h [168/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/velintrin_approx.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/velintrin_approx.h [169/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/velintrin_gen.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/velintrin_gen.h [170/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/waitpkgintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/waitpkgintrin.h [171/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/wasm_simd128.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/wasm_simd128.h [172/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/wbnoinvdintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/wbnoinvdintrin.h [173/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/wmmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/wmmintrin.h [174/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/x86gprintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/x86gprintrin.h [175/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/x86intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/x86intrin.h [176/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/xopintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/xopintrin.h [177/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/xmmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/xmmintrin.h [178/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/xsavecintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/xsavecintrin.h [179/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/xsaveintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/xsaveintrin.h [180/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/xsaveoptintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/xsaveoptintrin.h [181/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/xsavesintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/xsavesintrin.h [182/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/xtestintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/xtestintrin.h [183/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/plugins/SampleAnalyzer && /usr/bin/python3.11 -c "import sys; lines = [' ' + l.rstrip() for l in sys.stdin] + [' local: *;']; print('LLVM_17 {'); print(' global:') if len(lines) > 1 else None; print(';\\n'.join(lines) + '\\n};')" < /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/plugins/SampleAnalyzer/SampleAnalyzerPlugin.exports > SampleAnalyzerPlugin.exports [184/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/plugins/CheckerDependencyHandling && /usr/bin/python3.11 -c "import sys; lines = [' ' + l.rstrip() for l in sys.stdin] + [' local: *;']; print('LLVM_17 {'); print(' global:') if len(lines) > 1 else None; print(';\\n'.join(lines) + '\\n};')" < /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/plugins/CheckerDependencyHandling/CheckerDependencyHandlingAnalyzerPlugin.exports > CheckerDependencyHandlingAnalyzerPlugin.exports [185/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/plugins/CheckerOptionHandling && /usr/bin/python3.11 -c "import sys; lines = [' ' + l.rstrip() for l in sys.stdin] + [' local: *;']; print('LLVM_17 {'); print(' global:') if len(lines) > 1 else None; print(';\\n'.join(lines) + '\\n};')" < /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/plugins/CheckerOptionHandling/CheckerOptionHandlingAnalyzerPlugin.exports > CheckerOptionHandlingAnalyzerPlugin.exports [186/2015] cd /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive && /usr/bin/python3.11 /builddir/build/BUILD/clang-17.0.6.src/utils/bundle_resources.py /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive/HTMLLogger.inc HTMLLogger.html HTMLLogger.css HTMLLogger.js [187/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/bin/scan-build /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/ [188/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/libexec && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/libexec/c++-analyzer /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/libexec/ [189/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/libexec && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/libexec/ccc-analyzer /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/libexec/ [190/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/man/man1 && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/man/scan-build.1 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/man/man1/ [191/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/scan-build && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/share/scan-build/scanview.css /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/scan-build/ [192/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/scan-build && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/share/scan-build/sorttable.js /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/scan-build/ [193/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/bin/analyze-build /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/ [194/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/bin/intercept-build /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/ [195/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/bin/scan-build /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/scan-build-py [196/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libear && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libear/__init__.py /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libear/ [197/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libear && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libear/config.h.in /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libear/ [198/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libear && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libear/ear.c /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libear/ [199/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libscanbuild/__init__.py /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/ [200/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libscanbuild/analyze.py /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/ [201/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libscanbuild/arguments.py /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/ [202/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libscanbuild/clang.py /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/ [203/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libscanbuild/compilation.py /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/ [204/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libscanbuild/intercept.py /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/ [205/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libscanbuild/report.py /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/ [206/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/resources && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libscanbuild/resources/scanview.css /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/resources [207/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/resources && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libscanbuild/resources/selectable.js /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/resources [208/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/resources && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libscanbuild/resources/sorttable.js /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/resources [209/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libscanbuild/shell.py /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/ [210/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/libexec && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/libexec/analyze-c++ /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/libexec/ [211/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/libexec && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/libexec/analyze-cc /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/libexec/ [212/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/libexec && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/libexec/intercept-cc /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/libexec/ [213/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/libexec && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/libexec/intercept-c++ /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/libexec/ [214/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-view && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/scan-view && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-view/share/Reporter.py /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/scan-view/ [215/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-view && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-view/bin/scan-view /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/ [216/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-view && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/scan-view && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-view/share/bugcatcher.ico /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/scan-view/ [217/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-view && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/scan-view && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-view/share/ScanView.py /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/scan-view/ [218/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-view && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/scan-view && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-view/share/startfile.py /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/scan-view/ [219/2015] cd /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/tool && /usr/bin/python3.11 /builddir/build/BUILD/clang-17.0.6.src/utils/bundle_resources.py /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/tool/HTMLForestResources.inc HTMLForest.css HTMLForest.js HTMLForest.html [220/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/docs && /usr/bin/cmake -E copy_directory /builddir/build/BUILD/clang-17.0.6.src/docs /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/docs && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/docs/../CodeOwners.rst /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/docs [221/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/RISCVVEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/RISCVVEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/RISCVVEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/RISCVVEmitter.cpp [222/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc/ConfusableTable -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/ConfusableTable -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/ConfusableTable/CMakeFiles/clang-tidy-confusable-chars-gen.dir/BuildConfusableTable.cpp.o -MF tools/extra/clang-tidy/misc/ConfusableTable/CMakeFiles/clang-tidy-confusable-chars-gen.dir/BuildConfusableTable.cpp.o.d -o tools/extra/clang-tidy/misc/ConfusableTable/CMakeFiles/clang-tidy-confusable-chars-gen.dir/BuildConfusableTable.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/ConfusableTable/BuildConfusableTable.cpp [223/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/SveEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/SveEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/SveEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/SveEmitter.cpp [224/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/clang-tidy/misc/ConfusableTable/CMakeFiles/clang-tidy-confusable-chars-gen.dir/BuildConfusableTable.cpp.o -o bin/clang-tidy-confusable-chars-gen /usr/lib64/libLLVM-17.so && : [225/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tidy-confusable-chars-gen /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/ConfusableTable/confusables.txt /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc/Confusables.inc [226/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Support -I/builddir/build/BUILD/clang-17.0.6.src/lib/Support -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Support/CMakeFiles/obj.clangSupport.dir/RISCVVIntrinsicUtils.cpp.o -MF lib/Support/CMakeFiles/obj.clangSupport.dir/RISCVVIntrinsicUtils.cpp.o.d -o lib/Support/CMakeFiles/obj.clangSupport.dir/RISCVVIntrinsicUtils.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Support/RISCVVIntrinsicUtils.cpp [227/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/NeonEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/NeonEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/NeonEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/NeonEmitter.cpp [228/2015] : && /usr/bin/cmake -E rm -f lib64/libclangSupport.a && /usr/bin/ar Dqc lib64/libclangSupport.a lib/Support/CMakeFiles/obj.clangSupport.dir/RISCVVIntrinsicUtils.cpp.o && /usr/bin/ranlib -D lib64/libclangSupport.a && : [229/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangAttrEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangAttrEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangAttrEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangAttrEmitter.cpp [230/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/MveEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/MveEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/MveEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/MveEmitter.cpp [231/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections lib/Support/CMakeFiles/obj.clangSupport.dir/RISCVVIntrinsicUtils.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ASTTableGen.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangASTNodesEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangASTPropertiesEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangAttrEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentCommandInfoEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentHTMLTagsEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangDataCollectorsEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangDiagnosticsEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOpcodesEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOpenCLBuiltinEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOptionDocEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangSACheckersEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangSyntaxEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangTypeNodesEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/MveEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/NeonEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/RISCVVEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/SveEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/TableGen.cpp.o -o bin/clang-tblgen /usr/lib64/libLLVMSupport.a /usr/lib64/libLLVMTableGen.a /usr/lib64/libLLVMSupport.a -lrt -ldl -lm /usr/lib64/libz.so /usr/lib64/libtinfo.so /usr/lib64/libLLVMDemangle.a && : [232/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-type-nodes -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/../Basic/TypeNodes.td --write-if-changed -o include/clang/AST/TypeNodes.inc -d include/clang/AST/TypeNodes.inc.d [233/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-decl-nodes -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/../Basic/DeclNodes.td --write-if-changed -o include/clang/AST/DeclNodes.inc -d include/clang/AST/DeclNodes.inc.d [234/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-stmt-nodes -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/../Basic/StmtNodes.td --write-if-changed -o include/clang/AST/StmtNodes.inc -d include/clang/AST/StmtNodes.inc.d [235/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-basic-reader -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/PropertiesBase.td --write-if-changed -o include/clang/AST/AbstractBasicReader.inc -d include/clang/AST/AbstractBasicReader.inc.d [236/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-basic-writer -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/PropertiesBase.td --write-if-changed -o include/clang/AST/AbstractBasicWriter.inc -d include/clang/AST/AbstractBasicWriter.inc.d [237/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-type-reader -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/TypeProperties.td --write-if-changed -o include/clang/AST/AbstractTypeReader.inc -d include/clang/AST/AbstractTypeReader.inc.d [238/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-comment-nodes -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/../Basic/CommentNodes.td --write-if-changed -o include/clang/AST/CommentNodes.inc -d include/clang/AST/CommentNodes.inc.d [239/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-type-writer -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/TypeProperties.td --write-if-changed -o include/clang/AST/AbstractTypeWriter.inc -d include/clang/AST/AbstractTypeWriter.inc.d [240/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-node-traverse -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/../Basic/Attr.td --write-if-changed -o include/clang/AST/AttrNodeTraverse.inc -d include/clang/AST/AttrNodeTraverse.inc.d [241/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-text-node-dump -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/../Basic/Attr.td --write-if-changed -o include/clang/AST/AttrTextNodeDump.inc -d include/clang/AST/AttrTextNodeDump.inc.d [242/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-ast-visitor -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/../Basic/Attr.td --write-if-changed -o include/clang/AST/AttrVisitor.inc -d include/clang/AST/AttrVisitor.inc.d [243/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-comment-html-tags -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/CommentHTMLTags.td --write-if-changed -o include/clang/AST/CommentHTMLTags.inc -d include/clang/AST/CommentHTMLTags.inc.d [244/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-comment-html-tags-properties -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/CommentHTMLTags.td --write-if-changed -o include/clang/AST/CommentHTMLTagsProperties.inc -d include/clang/AST/CommentHTMLTagsProperties.inc.d [245/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-classes -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/../Basic/Attr.td --write-if-changed -o include/clang/AST/Attrs.inc -d include/clang/AST/Attrs.inc.d [246/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-comment-html-named-character-references -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/CommentHTMLNamedCharacterReferences.td --write-if-changed -o include/clang/AST/CommentHTMLNamedCharacterReferences.inc -d include/clang/AST/CommentHTMLNamedCharacterReferences.inc.d [247/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-comment-command-info -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/CommentCommands.td --write-if-changed -o include/clang/AST/CommentCommandInfo.inc -d include/clang/AST/CommentCommandInfo.inc.d [248/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-comment-command-list -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/CommentCommands.td --write-if-changed -o include/clang/AST/CommentCommandList.inc -d include/clang/AST/CommentCommandList.inc.d [249/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-data-collectors -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/StmtDataCollectors.td --write-if-changed -o include/clang/AST/StmtDataCollectors.inc -d include/clang/AST/StmtDataCollectors.inc.d [250/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-impl -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/../Basic/Attr.td --write-if-changed -o include/clang/AST/AttrImpl.inc -d include/clang/AST/AttrImpl.inc.d [251/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diags-defs -clang-component=Analysis -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticAnalysisKinds.inc -d include/clang/Basic/DiagnosticAnalysisKinds.inc.d [252/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diags-defs -clang-component=AST -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticASTKinds.inc -d include/clang/Basic/DiagnosticASTKinds.inc.d [253/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diags-defs -clang-component=Comment -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticCommentKinds.inc -d include/clang/Basic/DiagnosticCommentKinds.inc.d [254/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diags-defs -clang-component=Frontend -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticFrontendKinds.inc -d include/clang/Basic/DiagnosticFrontendKinds.inc.d [255/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diags-defs -clang-component=CrossTU -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticCrossTUKinds.inc -d include/clang/Basic/DiagnosticCrossTUKinds.inc.d [256/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diags-defs -clang-component=Common -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticCommonKinds.inc -d include/clang/Basic/DiagnosticCommonKinds.inc.d [257/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diags-defs -clang-component=Driver -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticDriverKinds.inc -d include/clang/Basic/DiagnosticDriverKinds.inc.d [258/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diags-defs -clang-component=Lex -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticLexKinds.inc -d include/clang/Basic/DiagnosticLexKinds.inc.d [259/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-list -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/../../ -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Attr.td --write-if-changed -o include/clang/Basic/AttrList.inc -d include/clang/Basic/AttrList.inc.d [260/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-subject-match-rule-list -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/../../ -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Attr.td --write-if-changed -o include/clang/Basic/AttrSubMatchRulesList.inc -d include/clang/Basic/AttrSubMatchRulesList.inc.d [261/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-token-kinds -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/../../ -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Attr.td --write-if-changed -o include/clang/Basic/AttrTokenKinds.inc -d include/clang/Basic/AttrTokenKinds.inc.d [262/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-has-attribute-impl -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/../../ -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Attr.td --write-if-changed -o include/clang/Basic/AttrHasAttributeImpl.inc -d include/clang/Basic/AttrHasAttributeImpl.inc.d [263/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-neon-sema -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_fp16.td --write-if-changed -o include/clang/Basic/arm_fp16.inc -d include/clang/Basic/arm_fp16.inc.d [264/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diags-index-name -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticIndexName.inc -d include/clang/Basic/DiagnosticIndexName.inc.d [265/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-neon-sema -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_neon.td --write-if-changed -o include/clang/Basic/arm_neon.inc -d include/clang/Basic/arm_neon.inc.d [266/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diags-defs -clang-component=Parse -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticParseKinds.inc -d include/clang/Basic/DiagnosticParseKinds.inc.d [267/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diags-defs -clang-component=Refactoring -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticRefactoringKinds.inc -d include/clang/Basic/DiagnosticRefactoringKinds.inc.d [268/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diags-defs -clang-component=Serialization -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticSerializationKinds.inc -d include/clang/Basic/DiagnosticSerializationKinds.inc.d [269/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diag-groups -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticGroups.inc -d include/clang/Basic/DiagnosticGroups.inc.d [270/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-mve-builtin-def -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_mve.td --write-if-changed -o include/clang/Basic/arm_mve_builtins.inc -d include/clang/Basic/arm_mve_builtins.inc.d [271/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diags-defs -clang-component=Sema -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticSemaKinds.inc -d include/clang/Basic/DiagnosticSemaKinds.inc.d [272/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-sme-builtins -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_sme.td --write-if-changed -o include/clang/Basic/arm_sme_builtins.inc -d include/clang/Basic/arm_sme_builtins.inc.d [273/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-sve-typeflags -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_sve.td --write-if-changed -o include/clang/Basic/arm_sve_typeflags.inc -d include/clang/Basic/arm_sve_typeflags.inc.d [274/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-mve-builtin-sema -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_mve.td --write-if-changed -o include/clang/Basic/arm_mve_builtin_sema.inc -d include/clang/Basic/arm_mve_builtin_sema.inc.d [275/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-sme-builtin-codegen -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_sme.td --write-if-changed -o include/clang/Basic/arm_sme_builtin_cg.inc -d include/clang/Basic/arm_sme_builtin_cg.inc.d [276/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-sme-sema-rangechecks -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_sme.td --write-if-changed -o include/clang/Basic/arm_sme_sema_rangechecks.inc -d include/clang/Basic/arm_sme_sema_rangechecks.inc.d [277/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-cde-builtin-def -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_cde.td --write-if-changed -o include/clang/Basic/arm_cde_builtins.inc -d include/clang/Basic/arm_cde_builtins.inc.d [278/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-mve-builtin-aliases -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_mve.td --write-if-changed -o include/clang/Basic/arm_mve_builtin_aliases.inc -d include/clang/Basic/arm_mve_builtin_aliases.inc.d [279/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-cde-builtin-codegen -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_cde.td --write-if-changed -o include/clang/Basic/arm_cde_builtin_cg.inc -d include/clang/Basic/arm_cde_builtin_cg.inc.d [280/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-cde-builtin-sema -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_cde.td --write-if-changed -o include/clang/Basic/arm_cde_builtin_sema.inc -d include/clang/Basic/arm_cde_builtin_sema.inc.d [281/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-cde-builtin-aliases -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_cde.td --write-if-changed -o include/clang/Basic/arm_cde_builtin_aliases.inc -d include/clang/Basic/arm_cde_builtin_aliases.inc.d [282/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-riscv-sifive-vector-builtins -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/riscv_sifive_vector.td --write-if-changed -o include/clang/Basic/riscv_sifive_vector_builtins.inc -d include/clang/Basic/riscv_sifive_vector_builtins.inc.d [283/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-riscv-sifive-vector-builtin-codegen -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/riscv_sifive_vector.td --write-if-changed -o include/clang/Basic/riscv_sifive_vector_builtin_cg.inc -d include/clang/Basic/riscv_sifive_vector_builtin_cg.inc.d [284/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-riscv-sifive-vector-builtin-sema -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/riscv_sifive_vector.td --write-if-changed -o include/clang/Basic/riscv_sifive_vector_builtin_sema.inc -d include/clang/Basic/riscv_sifive_vector_builtin_sema.inc.d [285/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-mve-builtin-codegen -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_mve.td --write-if-changed -o include/clang/Basic/arm_mve_builtin_cg.inc -d include/clang/Basic/arm_mve_builtin_cg.inc.d [286/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-parser-string-switches -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Parse/../../ -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Parse/../Basic/Attr.td --write-if-changed -o include/clang/Parse/AttrParserStringSwitches.inc -d include/clang/Parse/AttrParserStringSwitches.inc.d [287/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-subject-match-rules-parser-string-switches -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Parse/../../ -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Parse/../Basic/Attr.td --write-if-changed -o include/clang/Parse/AttrSubMatchRulesParserStringSwitches.inc -d include/clang/Parse/AttrSubMatchRulesParserStringSwitches.inc.d [288/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-template-instantiate -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/../../ -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/../Basic/Attr.td --write-if-changed -o include/clang/Sema/AttrTemplateInstantiate.inc -d include/clang/Sema/AttrTemplateInstantiate.inc.d [289/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-parsed-attr-list -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/../../ -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/../Basic/Attr.td --write-if-changed -o include/clang/Sema/AttrParsedAttrList.inc -d include/clang/Sema/AttrParsedAttrList.inc.d [290/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-spelling-index -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/../../ -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/../Basic/Attr.td --write-if-changed -o include/clang/Sema/AttrSpellingListIndex.inc -d include/clang/Sema/AttrSpellingListIndex.inc.d [291/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-parsed-attr-kinds -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/../../ -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/../Basic/Attr.td --write-if-changed -o include/clang/Sema/AttrParsedAttrKinds.inc -d include/clang/Sema/AttrParsedAttrKinds.inc.d [292/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-pch-read -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Serialization/../../ -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Serialization/../Basic/Attr.td --write-if-changed -o include/clang/Serialization/AttrPCHRead.inc -d include/clang/Serialization/AttrPCHRead.inc.d [293/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-parsed-attr-impl -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/../../ -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/../Basic/Attr.td --write-if-changed -o include/clang/Sema/AttrParsedAttrImpl.inc -d include/clang/Sema/AttrParsedAttrImpl.inc.d [294/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-pch-write -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Serialization/../../ -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Serialization/../Basic/Attr.td --write-if-changed -o include/clang/Serialization/AttrPCHWrite.inc -d include/clang/Serialization/AttrPCHWrite.inc.d [295/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-syntax-node-list -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Tooling/Syntax/Nodes.td --write-if-changed -o include/clang/Tooling/Syntax/Nodes.inc -d include/clang/Tooling/Syntax/Nodes.inc.d [296/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-sa-checkers -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Checkers/Checkers.td --write-if-changed -o include/clang/StaticAnalyzer/Checkers/Checkers.inc -d include/clang/StaticAnalyzer/Checkers/Checkers.inc.d [297/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-syntax-node-classes -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Tooling/Syntax/Nodes.td --write-if-changed -o include/clang/Tooling/Syntax/NodeClasses.inc -d include/clang/Tooling/Syntax/NodeClasses.inc.d [298/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-sve-builtins -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_sve.td --write-if-changed -o include/clang/Basic/arm_sve_builtins.inc -d include/clang/Basic/arm_sve_builtins.inc.d [299/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-sve-builtin-codegen -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_sve.td --write-if-changed -o include/clang/Basic/arm_sve_builtin_cg.inc -d include/clang/Basic/arm_sve_builtin_cg.inc.d [300/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/arm64intr.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm64intr.h [301/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/arm_acle.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_acle.h [302/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-sve-sema-rangechecks -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_sve.td --write-if-changed -o include/clang/Basic/arm_sve_sema_rangechecks.inc -d include/clang/Basic/arm_sve_sema_rangechecks.inc.d [303/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-bf16 -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/ -I /builddir/build/BUILD/clang-17.0.6.src/lib/Headers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_bf16.td --write-if-changed -o lib/Headers/arm_bf16.h -d lib/Headers/arm_bf16.h.d [304/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/arm_neon_sve_bridge.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_neon_sve_bridge.h [305/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/arm_cmse.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_cmse.h [306/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/armintr.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/armintr.h [307/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/riscv_ntlh.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/riscv_ntlh.h [308/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-cde-header -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/ -I /builddir/build/BUILD/clang-17.0.6.src/lib/Headers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_cde.td --write-if-changed -o lib/Headers/arm_cde.h -d lib/Headers/arm_cde.h.d [309/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-fp16 -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/ -I /builddir/build/BUILD/clang-17.0.6.src/lib/Headers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_fp16.td --write-if-changed -o lib/Headers/arm_fp16.h -d lib/Headers/arm_fp16.h.d [310/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-sme-header -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/ -I /builddir/build/BUILD/clang-17.0.6.src/lib/Headers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_sme.td --write-if-changed -o lib/Headers/arm_sme_draft_spec_subject_to_change.h -d lib/Headers/arm_sme_draft_spec_subject_to_change.h.d [311/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-riscv-vector-builtins -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/riscv_vector.td --write-if-changed -o include/clang/Basic/riscv_vector_builtins.inc -d include/clang/Basic/riscv_vector_builtins.inc.d [312/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-riscv-vector-builtin-sema -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/riscv_vector.td --write-if-changed -o include/clang/Basic/riscv_vector_builtin_sema.inc -d include/clang/Basic/riscv_vector_builtin_sema.inc.d [313/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-riscv-vector-header -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/ -I /builddir/build/BUILD/clang-17.0.6.src/lib/Headers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/riscv_vector.td --write-if-changed -o lib/Headers/riscv_vector.h -d lib/Headers/riscv_vector.h.d [314/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-mve-header -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/ -I /builddir/build/BUILD/clang-17.0.6.src/lib/Headers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_mve.td --write-if-changed -o lib/Headers/arm_mve.h -d lib/Headers/arm_mve.h.d [315/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-sve-header -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/ -I /builddir/build/BUILD/clang-17.0.6.src/lib/Headers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_sve.td --write-if-changed -o lib/Headers/arm_sve.h -d lib/Headers/arm_sve.h.d [316/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-riscv-vector-builtin-codegen -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/riscv_vector.td --write-if-changed -o include/clang/Basic/riscv_vector_builtin_cg.inc -d include/clang/Basic/riscv_vector_builtin_cg.inc.d [317/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic && /usr/bin/cmake -DNAMES="LLVM;CLANG" -DLLVM_SOURCE_DIR= -DCLANG_SOURCE_DIR= -DCLANG_VC_REPOSITORY= -DCLANG_VC_REVISION= -DHEADER_FILE=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic/VCSVersion.inc -DLLVM_VC_REPOSITORY= -DLLVM_VC_REVISION= -P /usr/lib64/cmake/llvm/GenerateVersionFromVCS.cmake [318/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-neon -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/ -I /builddir/build/BUILD/clang-17.0.6.src/lib/Headers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_neon.td --write-if-changed -o lib/Headers/arm_neon.h -d lib/Headers/arm_neon.h.d [319/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__stddef_max_align_t.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__stddef_max_align_t.h [320/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers/arm_bf16.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_bf16.h [321/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers/arm_cde.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_cde.h [322/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers/arm_fp16.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_fp16.h [323/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers/arm_mve.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_mve.h [324/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers/arm_neon.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_neon.h [325/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers/arm_sme_draft_spec_subject_to_change.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_sme_draft_spec_subject_to_change.h [326/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers/arm_sve.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_sve.h [327/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/float.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/float.h [328/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/hlsl/hlsl_basic_types.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/hlsl/hlsl_basic_types.h [329/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/hlsl/hlsl_intrinsics.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/hlsl/hlsl_intrinsics.h [330/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/inttypes.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/inttypes.h [331/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/iso646.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/iso646.h [332/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/limits.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/limits.h [333/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/llvm_libc_wrappers/ctype.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/llvm_libc_wrappers/ctype.h [334/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/llvm_libc_wrappers/inttypes.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/llvm_libc_wrappers/inttypes.h [335/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/llvm_libc_wrappers/stdlib.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/llvm_libc_wrappers/stdlib.h [336/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/llvm_libc_wrappers/string.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/llvm_libc_wrappers/string.h [337/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/module.modulemap /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/module.modulemap [338/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/opencl-c-base.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/opencl-c-base.h [339/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/openmp_wrappers/__clang_openmp_device_functions.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/openmp_wrappers/__clang_openmp_device_functions.h [340/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/openmp_wrappers/cmath /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/openmp_wrappers/cmath [341/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/openmp_wrappers/complex /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/openmp_wrappers/complex [342/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/openmp_wrappers/complex.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/openmp_wrappers/complex.h [343/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/openmp_wrappers/complex_cmath.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/openmp_wrappers/complex_cmath.h [344/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/openmp_wrappers/new /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/openmp_wrappers/new [345/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers/riscv_vector.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/riscv_vector.h [346/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/sifive_vector.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/sifive_vector.h [347/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/stdalign.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/stdalign.h [348/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/stdarg.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/stdarg.h [349/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/stdatomic.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/stdatomic.h [350/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/stdbool.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/stdbool.h [351/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/stddef.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/stddef.h [352/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/stdint.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/stdint.h [353/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/stdnoreturn.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/stdnoreturn.h [354/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/tgmath.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/tgmath.h [355/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/unwind.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/unwind.h [356/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/vadefs.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/vadefs.h [357/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/varargs.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/varargs.h [358/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/APINotes -I/builddir/build/BUILD/clang-17.0.6.src/lib/APINotes -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/APINotes/CMakeFiles/obj.clangAPINotes.dir/APINotesTypes.cpp.o -MF lib/APINotes/CMakeFiles/obj.clangAPINotes.dir/APINotesTypes.cpp.o.d -o lib/APINotes/CMakeFiles/obj.clangAPINotes.dir/APINotesTypes.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/APINotes/APINotesTypes.cpp [359/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/CLWarnings.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/CLWarnings.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/CLWarnings.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/CLWarnings.cpp [360/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/CharInfo.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/CharInfo.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/CharInfo.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/CharInfo.cpp [361/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/HeaderMap.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/HeaderMap.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/HeaderMap.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/HeaderMap.cpp [362/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Builtins.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Builtins.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Builtins.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Builtins.cpp [363/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/DependencyDirectivesScanner.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/DependencyDirectivesScanner.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/DependencyDirectivesScanner.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/DependencyDirectivesScanner.cpp [364/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Cuda.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Cuda.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Cuda.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Cuda.cpp [365/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/CodeGenOptions.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/CodeGenOptions.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/CodeGenOptions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/CodeGenOptions.cpp [366/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/DiagnosticOptions.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/DiagnosticOptions.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/DiagnosticOptions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/DiagnosticOptions.cpp [367/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/ExpressionTraits.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/ExpressionTraits.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/ExpressionTraits.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/ExpressionTraits.cpp [368/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/APINotes -I/builddir/build/BUILD/clang-17.0.6.src/lib/APINotes -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/APINotes/CMakeFiles/obj.clangAPINotes.dir/APINotesYAMLCompiler.cpp.o -MF lib/APINotes/CMakeFiles/obj.clangAPINotes.dir/APINotesYAMLCompiler.cpp.o.d -o lib/APINotes/CMakeFiles/obj.clangAPINotes.dir/APINotesYAMLCompiler.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/APINotes/APINotesYAMLCompiler.cpp [369/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/FileEntry.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/FileEntry.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/FileEntry.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileEntry.cpp [370/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/InitHeaderSearch.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/InitHeaderSearch.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/InitHeaderSearch.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/InitHeaderSearch.cpp [371/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/DarwinSDKInfo.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/DarwinSDKInfo.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/DarwinSDKInfo.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/DarwinSDKInfo.cpp [372/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/FileSystemStatCache.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/FileSystemStatCache.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/FileSystemStatCache.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileSystemStatCache.cpp [373/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/LangOptions.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/LangOptions.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/LangOptions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/LangOptions.cpp [374/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/FileManager.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/FileManager.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/FileManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp [375/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/MakeSupport.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/MakeSupport.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/MakeSupport.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/MakeSupport.cpp [376/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/LangStandards.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/LangStandards.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/LangStandards.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/LangStandards.cpp [377/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Diagnostic.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Diagnostic.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Diagnostic.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Diagnostic.cpp [378/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/ObjCRuntime.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/ObjCRuntime.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/ObjCRuntime.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/ObjCRuntime.cpp [379/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/OperatorPrecedence.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/OperatorPrecedence.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/OperatorPrecedence.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/OperatorPrecedence.cpp [380/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/ParsedAttrInfo.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/ParsedAttrInfo.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/ParsedAttrInfo.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/ParsedAttrInfo.cpp [381/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/OpenMPKinds.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/OpenMPKinds.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/OpenMPKinds.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/OpenMPKinds.cpp [382/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/HeaderSearch.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/HeaderSearch.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/HeaderSearch.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/HeaderSearch.cpp [383/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/OpenCLOptions.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/OpenCLOptions.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/OpenCLOptions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/OpenCLOptions.cpp [384/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/IdentifierTable.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/IdentifierTable.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/IdentifierTable.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/IdentifierTable.cpp [385/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/SanitizerSpecialCaseList.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/SanitizerSpecialCaseList.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/SanitizerSpecialCaseList.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/SanitizerSpecialCaseList.cpp [386/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Sanitizers.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Sanitizers.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Sanitizers.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Sanitizers.cpp [387/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/ProfileList.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/ProfileList.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/ProfileList.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/ProfileList.cpp [388/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/NoSanitizeList.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/NoSanitizeList.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/NoSanitizeList.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/NoSanitizeList.cpp [389/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Module.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Module.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Module.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Module.cpp [390/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Stack.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Stack.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Stack.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Stack.cpp [391/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/SourceLocation.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/SourceLocation.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/SourceLocation.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/SourceLocation.cpp [392/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/TargetID.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/TargetID.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/TargetID.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/TargetID.cpp [393/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/TargetInfo.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/TargetInfo.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/TargetInfo.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/TargetInfo.cpp [394/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Sarif.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Sarif.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Sarif.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Sarif.cpp [395/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AMDGPU.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AMDGPU.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AMDGPU.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/AMDGPU.cpp [396/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/ARC.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/ARC.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/ARC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/ARC.cpp [397/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/SourceManager.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/SourceManager.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/SourceManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/SourceManager.cpp [398/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AArch64.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AArch64.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AArch64.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/AArch64.cpp [399/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/DiagnosticIDs.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/DiagnosticIDs.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/DiagnosticIDs.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/DiagnosticIDs.cpp [400/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/BPF.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/BPF.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/BPF.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/BPF.cpp [401/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/DirectX.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/DirectX.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/DirectX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/DirectX.cpp [402/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/CSKY.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/CSKY.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/CSKY.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/CSKY.cpp [403/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/ARM.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/ARM.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/ARM.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/ARM.cpp [404/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Attributes.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Attributes.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Attributes.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Attributes.cpp [405/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Lanai.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Lanai.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Lanai.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/Lanai.cpp [406/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Hexagon.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Hexagon.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Hexagon.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/Hexagon.cpp [407/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AVR.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AVR.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AVR.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/AVR.cpp [408/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Le64.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Le64.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Le64.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/Le64.cpp [409/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/MSP430.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/MSP430.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/MSP430.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/MSP430.cpp [410/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/LoongArch.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/LoongArch.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/LoongArch.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/LoongArch.cpp [411/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/M68k.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/M68k.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/M68k.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/M68k.cpp [412/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/NVPTX.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/NVPTX.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/NVPTX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/NVPTX.cpp [413/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/OSTargets.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/OSTargets.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/OSTargets.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/OSTargets.cpp [414/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/PNaCl.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/PNaCl.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/PNaCl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/PNaCl.cpp [415/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Mips.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Mips.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Mips.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/Mips.cpp [416/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/SPIR.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/SPIR.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/SPIR.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/SPIR.cpp [417/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/TCE.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/TCE.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/TCE.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/TCE.cpp [418/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Sparc.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Sparc.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Sparc.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/Sparc.cpp [419/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/SystemZ.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/SystemZ.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/SystemZ.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/SystemZ.cpp [420/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/TokenKinds.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/TokenKinds.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/TokenKinds.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/TokenKinds.cpp [421/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/TypeTraits.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/TypeTraits.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/TypeTraits.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/TypeTraits.cpp [422/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/VE.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/VE.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/VE.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/VE.cpp [423/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/PPC.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/PPC.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/PPC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/PPC.cpp [424/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Version.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Version.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Version.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Version.cpp [425/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/RISCV.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/RISCV.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/RISCV.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/RISCV.cpp [426/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/XRayInstr.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/XRayInstr.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/XRayInstr.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/XRayInstr.cpp [427/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/WebAssembly.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/WebAssembly.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/WebAssembly.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/WebAssembly.cpp [428/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Warnings.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Warnings.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Warnings.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Warnings.cpp [429/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/XCore.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/XCore.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/XCore.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/XCore.cpp [430/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets.cpp [431/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/XRayLists.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/XRayLists.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/XRayLists.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/XRayLists.cpp [432/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/X86.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/X86.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/X86.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/X86.cpp [433/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/PPCallbacks.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/PPCallbacks.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/PPCallbacks.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/PPCallbacks.cpp [434/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/MacroArgs.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/MacroArgs.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/MacroArgs.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/MacroArgs.cpp [435/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/MacroInfo.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/MacroInfo.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/MacroInfo.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/MacroInfo.cpp [436/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/PPCaching.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/PPCaching.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/PPCaching.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/PPCaching.cpp [437/2015] : && /usr/bin/cmake -E rm -f lib64/libclangBasic.a && /usr/bin/ar Dqc lib64/libclangBasic.a lib/Basic/CMakeFiles/obj.clangBasic.dir/Attributes.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Builtins.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/CLWarnings.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/CharInfo.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/CodeGenOptions.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Cuda.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/DarwinSDKInfo.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Diagnostic.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/DiagnosticIDs.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/DiagnosticOptions.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/ExpressionTraits.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/FileEntry.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/FileManager.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/FileSystemStatCache.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/IdentifierTable.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/LangOptions.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/LangStandards.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/MakeSupport.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Module.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/ObjCRuntime.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/OpenCLOptions.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/OpenMPKinds.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/OperatorPrecedence.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/ParsedAttrInfo.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/ProfileList.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/NoSanitizeList.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/SanitizerSpecialCaseList.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Sanitizers.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Sarif.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/SourceLocation.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/SourceManager.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Stack.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/TargetID.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/TargetInfo.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AArch64.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AMDGPU.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/ARC.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/ARM.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AVR.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/BPF.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/CSKY.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/DirectX.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Hexagon.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Lanai.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Le64.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/LoongArch.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/M68k.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/MSP430.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Mips.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/NVPTX.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/OSTargets.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/PNaCl.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/PPC.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/RISCV.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/SPIR.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Sparc.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/SystemZ.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/TCE.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/VE.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/WebAssembly.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/X86.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/XCore.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/TokenKinds.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/TypeTraits.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Version.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Warnings.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/XRayInstr.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/XRayLists.cpp.o && /usr/bin/ranlib -D lib64/libclangBasic.a && : [438/2015] : && /usr/bin/cmake -E rm -f lib64/libclangAPINotes.a && /usr/bin/ar Dqc lib64/libclangAPINotes.a lib/APINotes/CMakeFiles/obj.clangAPINotes.dir/APINotesTypes.cpp.o lib/APINotes/CMakeFiles/obj.clangAPINotes.dir/APINotesYAMLCompiler.cpp.o && /usr/bin/ranlib -D lib64/libclangAPINotes.a && : [439/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/PPConditionalDirectiveRecord.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/PPConditionalDirectiveRecord.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/PPConditionalDirectiveRecord.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/PPConditionalDirectiveRecord.cpp [440/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/Lexer.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/Lexer.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/Lexer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/Lexer.cpp [441/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/LiteralSupport.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/LiteralSupport.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/LiteralSupport.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/LiteralSupport.cpp [442/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/PreprocessingRecord.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/PreprocessingRecord.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/PreprocessingRecord.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/PreprocessingRecord.cpp [443/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/PPExpressions.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/PPExpressions.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/PPExpressions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/PPExpressions.cpp [444/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/PPLexerChange.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/PPLexerChange.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/PPLexerChange.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/PPLexerChange.cpp [445/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/ModuleMap.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/ModuleMap.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/ModuleMap.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/ModuleMap.cpp [446/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/ScratchBuffer.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/ScratchBuffer.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/ScratchBuffer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/ScratchBuffer.cpp [447/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/PPMacroExpansion.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/PPMacroExpansion.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/PPMacroExpansion.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/PPMacroExpansion.cpp [448/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/PPDirectives.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/PPDirectives.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/PPDirectives.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/PPDirectives.cpp [449/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/PreprocessorLexer.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/PreprocessorLexer.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/PreprocessorLexer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/PreprocessorLexer.cpp [450/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/Pragma.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/Pragma.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/Pragma.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/Pragma.cpp [451/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/TokenConcatenation.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/TokenConcatenation.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/TokenConcatenation.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/TokenConcatenation.cpp [452/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/Preprocessor.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/Preprocessor.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/Preprocessor.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/Preprocessor.cpp [453/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/TokenLexer.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/TokenLexer.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/TokenLexer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/TokenLexer.cpp [454/2015] : && /usr/bin/cmake -E rm -f lib64/libclangLex.a && /usr/bin/ar Dqc lib64/libclangLex.a lib/Lex/CMakeFiles/obj.clangLex.dir/DependencyDirectivesScanner.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/HeaderMap.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/HeaderSearch.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/InitHeaderSearch.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/Lexer.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/LiteralSupport.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/MacroArgs.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/MacroInfo.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/ModuleMap.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PPCaching.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PPCallbacks.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PPConditionalDirectiveRecord.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PPDirectives.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PPExpressions.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PPLexerChange.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PPMacroExpansion.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/Pragma.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PreprocessingRecord.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/Preprocessor.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PreprocessorLexer.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/ScratchBuffer.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/TokenConcatenation.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/TokenLexer.cpp.o && /usr/bin/ranlib -D lib64/libclangLex.a && : [455/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseAST.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseAST.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseAST.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp [456/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseCXXInlineMethods.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseCXXInlineMethods.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseCXXInlineMethods.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseCXXInlineMethods.cpp [457/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseHLSL.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseHLSL.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseHLSL.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseHLSL.cpp [458/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseInit.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseInit.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseInit.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseInit.cpp [459/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseExpr.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseExpr.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseExpr.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseExpr.cpp [460/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseExprCXX.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseExprCXX.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseExprCXX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseExprCXX.cpp [461/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseDeclCXX.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseDeclCXX.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseDeclCXX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseDeclCXX.cpp [462/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseDecl.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseDecl.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseDecl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseDecl.cpp [463/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseObjc.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseObjc.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseObjc.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseObjc.cpp [464/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-opcodes -I /builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Opcodes.td --write-if-changed -o lib/AST/Opcodes.inc -d lib/AST/Opcodes.inc.d [465/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-doc-table -I /builddir/build/BUILD/clang-17.0.6.src/lib/AST/../../include/ -I /builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/lib/AST/../../include/clang/Basic/Attr.td --write-if-changed -o lib/AST/AttrDocTable.inc -d lib/AST/AttrDocTable.inc.d [466/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseStmt.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseStmt.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseStmt.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseStmt.cpp [467/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseTentative.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseTentative.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseTentative.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseTentative.cpp [468/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParsePragma.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParsePragma.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParsePragma.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParsePragma.cpp [469/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseOpenMP.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseOpenMP.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseOpenMP.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseOpenMP.cpp [470/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/APValue.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/APValue.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/APValue.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/APValue.cpp [471/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ASTConsumer.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ASTConsumer.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ASTConsumer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ASTConsumer.cpp [472/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseTemplate.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseTemplate.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseTemplate.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseTemplate.cpp [473/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseStmtAsm.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseStmtAsm.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseStmtAsm.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseStmtAsm.cpp [474/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ASTConcept.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ASTConcept.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ASTConcept.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ASTConcept.cpp [475/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/Parser.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/Parser.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/Parser.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/Parser.cpp [476/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/AttrDocTable.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/AttrDocTable.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/AttrDocTable.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/AttrDocTable.cpp [477/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ASTTypeTraits.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ASTTypeTraits.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ASTTypeTraits.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ASTTypeTraits.cpp [478/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ASTDiagnostic.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ASTDiagnostic.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ASTDiagnostic.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ASTDiagnostic.cpp [479/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/CommentBriefParser.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/CommentBriefParser.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/CommentBriefParser.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/CommentBriefParser.cpp [480/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ASTStructuralEquivalence.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ASTStructuralEquivalence.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ASTStructuralEquivalence.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ASTStructuralEquivalence.cpp [481/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/CommentCommandTraits.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/CommentCommandTraits.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/CommentCommandTraits.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/CommentCommandTraits.cpp [482/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Comment.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Comment.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Comment.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Comment.cpp [483/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/CommentLexer.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/CommentLexer.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/CommentLexer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/CommentLexer.cpp [484/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/CommentParser.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/CommentParser.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/CommentParser.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/CommentParser.cpp [485/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ASTDumper.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ASTDumper.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ASTDumper.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ASTDumper.cpp [486/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ASTImporterLookupTable.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ASTImporterLookupTable.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ASTImporterLookupTable.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ASTImporterLookupTable.cpp [487/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ComparisonCategories.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ComparisonCategories.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ComparisonCategories.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ComparisonCategories.cpp [488/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/CommentSema.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/CommentSema.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/CommentSema.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/CommentSema.cpp [489/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/DataCollection.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/DataCollection.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/DataCollection.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/DataCollection.cpp [490/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ComputeDependence.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ComputeDependence.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ComputeDependence.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ComputeDependence.cpp [491/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/CXXInheritance.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/CXXInheritance.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/CXXInheritance.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/CXXInheritance.cpp [492/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/DeclarationName.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/DeclarationName.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/DeclarationName.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/DeclarationName.cpp [493/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/DeclFriend.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/DeclFriend.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/DeclFriend.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/DeclFriend.cpp [494/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/DeclGroup.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/DeclGroup.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/DeclGroup.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/DeclGroup.cpp [495/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ASTImporter.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ASTImporter.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ASTImporter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ASTImporter.cpp [496/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/DeclBase.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/DeclBase.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/DeclBase.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/DeclBase.cpp [497/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Decl.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Decl.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Decl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Decl.cpp [498/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/DeclCXX.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/DeclCXX.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/DeclCXX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/DeclCXX.cpp [499/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/DeclOpenMP.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/DeclOpenMP.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/DeclOpenMP.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/DeclOpenMP.cpp [500/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/DeclObjC.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/DeclObjC.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/DeclObjC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/DeclObjC.cpp [501/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/DeclTemplate.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/DeclTemplate.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/DeclTemplate.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/DeclTemplate.cpp [502/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ASTContext.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ASTContext.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ASTContext.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ASTContext.cpp [503/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ExprConcepts.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ExprConcepts.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ExprConcepts.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ExprConcepts.cpp [504/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ExprClassification.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ExprClassification.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ExprClassification.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ExprClassification.cpp [505/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/DeclPrinter.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/DeclPrinter.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/DeclPrinter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/DeclPrinter.cpp [506/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/AttrImpl.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/AttrImpl.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/AttrImpl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/AttrImpl.cpp [507/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ExprObjC.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ExprObjC.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ExprObjC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ExprObjC.cpp [508/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ExternalASTSource.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ExternalASTSource.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ExternalASTSource.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ExternalASTSource.cpp [509/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/FormatString.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/FormatString.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/FormatString.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/FormatString.cpp [510/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ExprCXX.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ExprCXX.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ExprCXX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ExprCXX.cpp [511/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ExternalASTMerger.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ExternalASTMerger.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ExternalASTMerger.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ExternalASTMerger.cpp [512/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/InheritViz.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/InheritViz.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/InheritViz.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/InheritViz.cpp [513/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeGenError.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeGenError.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeGenError.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeGenError.cpp [514/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Expr.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Expr.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Expr.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Expr.cpp [515/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Descriptor.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Descriptor.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Descriptor.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Descriptor.cpp [516/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ParentMapContext.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ParentMapContext.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ParentMapContext.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ParentMapContext.cpp [517/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeEmitter.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeEmitter.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeEmitter.cpp [518/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Frame.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Frame.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Frame.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Frame.cpp [519/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeStmtGen.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeStmtGen.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeStmtGen.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeStmtGen.cpp [520/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Floating.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Floating.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Floating.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.cpp [521/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Context.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Context.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Context.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Context.cpp [522/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Function.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Function.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Function.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Function.cpp [523/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeExprGen.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeExprGen.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeExprGen.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp [524/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpBuiltin.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpBuiltin.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpBuiltin.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/InterpBuiltin.cpp [525/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Disasm.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Disasm.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Disasm.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Disasm.cpp [526/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpBlock.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpBlock.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpBlock.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/InterpBlock.cpp [527/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpStack.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpStack.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpStack.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/InterpStack.cpp [528/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpState.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpState.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpState.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/InterpState.cpp [529/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/PrimType.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/PrimType.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/PrimType.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/PrimType.cpp [530/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Pointer.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Pointer.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Pointer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Pointer.cpp [531/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpFrame.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpFrame.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpFrame.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/InterpFrame.cpp [532/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Source.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Source.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Source.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Source.cpp [533/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Record.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Record.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Record.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Record.cpp [534/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/State.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/State.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/State.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/State.cpp [535/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Program.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Program.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Program.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.cpp [536/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ItaniumCXXABI.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ItaniumCXXABI.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ItaniumCXXABI.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ItaniumCXXABI.cpp [537/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/MicrosoftCXXABI.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/MicrosoftCXXABI.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/MicrosoftCXXABI.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/MicrosoftCXXABI.cpp [538/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Mangle.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Mangle.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Mangle.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Mangle.cpp [539/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/EvalEmitter.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/EvalEmitter.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/EvalEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/EvalEmitter.cpp In file included from /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/EvalEmitter.cpp:11: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'clang::interp::InitGlobalTemp<(clang::interp::PrimType)8, clang::interp::Boolean>(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int, clang::LifetimeExtendedTemporaryDecl const*)bool [clone .isra.0]': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ In file included from /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/InterpFrame.h:17, from /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/InterpState.h:18, from /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/EvalEmitter.h:19, from /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/EvalEmitter.cpp:9: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'clang::interp::InitGlobal<(clang::interp::PrimType)8, clang::interp::Boolean>(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool', inlined from 'clang::interp::EvalEmitter::emitInitGlobalBool(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'clang::interp::EvalEmitter::emitInitGlobalBool(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:6: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'clang::interp::EvalEmitter::emitInitGlobalBool(unsigned int, clang::interp::SourceInfo const&)': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'clang::interp::InitGlobal<(clang::interp::PrimType)11, clang::interp::FunctionPointer>(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool', inlined from 'clang::interp::EvalEmitter::emitInitGlobalFnPtr(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'clang::interp::EvalEmitter::emitInitGlobalFnPtr(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:6, inlined from 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'clang::interp::InitGlobal<(clang::interp::PrimType)8, clang::interp::Boolean>(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool', inlined from 'clang::interp::EvalEmitter::emitInitGlobalBool(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'clang::interp::EvalEmitter::emitInitGlobalBool(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:6, inlined from 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:30: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'clang::interp::InitGlobal<(clang::interp::PrimType)7, clang::interp::Integral<64u, false> >(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool', inlined from 'clang::interp::EvalEmitter::emitInitGlobalUint64(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'clang::interp::EvalEmitter::emitInitGlobalUint64(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:6, inlined from 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'clang::interp::InitGlobal<(clang::interp::PrimType)6, clang::interp::Integral<64u, true> >(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool', inlined from 'clang::interp::EvalEmitter::emitInitGlobalSint64(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'clang::interp::EvalEmitter::emitInitGlobalSint64(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:6, inlined from 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'clang::interp::InitGlobal<(clang::interp::PrimType)5, clang::interp::Integral<32u, false> >(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool', inlined from 'clang::interp::EvalEmitter::emitInitGlobalUint32(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'clang::interp::EvalEmitter::emitInitGlobalUint32(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:6, inlined from 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'clang::interp::InitGlobal<(clang::interp::PrimType)4, clang::interp::Integral<32u, true> >(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool', inlined from 'clang::interp::EvalEmitter::emitInitGlobalSint32(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'clang::interp::EvalEmitter::emitInitGlobalSint32(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:6, inlined from 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'clang::interp::InitGlobal<(clang::interp::PrimType)3, clang::interp::Integral<16u, false> >(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool', inlined from 'clang::interp::EvalEmitter::emitInitGlobalUint16(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'clang::interp::EvalEmitter::emitInitGlobalUint16(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:6, inlined from 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'clang::interp::InitGlobal<(clang::interp::PrimType)2, clang::interp::Integral<16u, true> >(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool', inlined from 'clang::interp::EvalEmitter::emitInitGlobalSint16(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'clang::interp::EvalEmitter::emitInitGlobalSint16(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:6, inlined from 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'clang::interp::InitGlobal<(clang::interp::PrimType)1, clang::interp::Integral<8u, false> >(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool', inlined from 'clang::interp::EvalEmitter::emitInitGlobalUint8(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'clang::interp::EvalEmitter::emitInitGlobalUint8(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:6, inlined from 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'clang::interp::InitGlobal<(clang::interp::PrimType)0, clang::interp::Integral<8u, true> >(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool', inlined from 'clang::interp::EvalEmitter::emitInitGlobalSint8(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'clang::interp::EvalEmitter::emitInitGlobalSint8(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:6, inlined from 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ [540/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Interp.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Interp.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Interp.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.cpp In file included from /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.cpp:9: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'clang::interp::InitGlobal<(clang::interp::PrimType)8, clang::interp::Boolean>(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool [clone .isra.0]': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ In file included from /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/InterpFrame.h:17, from /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:20: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'clang::interp::InitGlobalTemp<(clang::interp::PrimType)8, clang::interp::Boolean>(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int, clang::LifetimeExtendedTemporaryDecl const*)bool [clone .isra.0]': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In file included from /usr/include/c++/12/memory:75, from /usr/include/llvm/Support/Casting.h:20, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/LLVM.h:21, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/ComparisonCategories.h:17, from /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Integral.h:16, from /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Boolean.h:14, from /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:16: In member function 'std::unique_ptr >::~unique_ptr()', inlined from 'llvm::detail::DoubleAPFloat::~DoubleAPFloat()' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'llvm::detail::DoubleAPFloat::operator=(llvm::detail::DoubleAPFloat&&)' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'llvm::detail::DoubleAPFloat::operator=(llvm::detail::DoubleAPFloat&&)' at /usr/include/llvm/ADT/APFloat.h:1417:16, inlined from 'llvm::APFloat::Storage::operator=(llvm::APFloat::Storage&&)' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'llvm::APFloat::Storage::operator=(llvm::APFloat::Storage&&)' at /usr/include/llvm/ADT/APFloat.h:841:14, inlined from 'llvm::APFloat::operator=(llvm::APFloat&&)' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'clang::interp::Floating::operator=(clang::interp::Floating&&)' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'clang::interp::InitGlobal<(clang::interp::PrimType)9, clang::interp::Floating>(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool [clone .isra.0]' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'clang::interp::InitGlobal<(clang::interp::PrimType)9, clang::interp::Floating>(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool [clone .isra.0]': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | ^ [541/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ExprConstant.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ExprConstant.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ExprConstant.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ExprConstant.cpp [542/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/NestedNameSpecifier.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/NestedNameSpecifier.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/NestedNameSpecifier.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/NestedNameSpecifier.cpp [543/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/NSAPI.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/NSAPI.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/NSAPI.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/NSAPI.cpp [544/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/JSONNodeDumper.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/JSONNodeDumper.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/JSONNodeDumper.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/JSONNodeDumper.cpp [545/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ItaniumMangle.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ItaniumMangle.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ItaniumMangle.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ItaniumMangle.cpp [546/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/MicrosoftMangle.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/MicrosoftMangle.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/MicrosoftMangle.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/MicrosoftMangle.cpp [547/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/OSLog.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/OSLog.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/OSLog.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/OSLog.cpp [548/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ParentMap.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ParentMap.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ParentMap.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ParentMap.cpp [549/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ODRDiagsEmitter.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ODRDiagsEmitter.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ODRDiagsEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ODRDiagsEmitter.cpp [550/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/PrintfFormatString.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/PrintfFormatString.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/PrintfFormatString.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/PrintfFormatString.cpp [551/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ODRHash.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ODRHash.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ODRHash.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ODRHash.cpp [552/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/OpenMPClause.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/OpenMPClause.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/OpenMPClause.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/OpenMPClause.cpp [553/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/QualTypeNames.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/QualTypeNames.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/QualTypeNames.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/QualTypeNames.cpp [554/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/SelectorLocationsKind.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/SelectorLocationsKind.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/SelectorLocationsKind.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/SelectorLocationsKind.cpp [555/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Randstruct.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Randstruct.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Randstruct.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Randstruct.cpp [556/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ScanfFormatString.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ScanfFormatString.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ScanfFormatString.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ScanfFormatString.cpp [557/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/RecordLayout.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/RecordLayout.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/RecordLayout.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/RecordLayout.cpp [558/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/StmtIterator.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/StmtIterator.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/StmtIterator.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/StmtIterator.cpp [559/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/RawCommentList.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/RawCommentList.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/RawCommentList.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/RawCommentList.cpp [560/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/StmtCXX.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/StmtCXX.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/StmtCXX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/StmtCXX.cpp [561/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/StmtObjC.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/StmtObjC.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/StmtObjC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/StmtObjC.cpp [562/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/StmtViz.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/StmtViz.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/StmtViz.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/StmtViz.cpp [563/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/RecordLayoutBuilder.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/RecordLayoutBuilder.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/RecordLayoutBuilder.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/RecordLayoutBuilder.cpp [564/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/TemplateName.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/TemplateName.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/TemplateName.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/TemplateName.cpp [565/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/TemplateBase.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/TemplateBase.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/TemplateBase.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/TemplateBase.cpp [566/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/StmtOpenMP.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/StmtOpenMP.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/StmtOpenMP.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/StmtOpenMP.cpp [567/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Stmt.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Stmt.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Stmt.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Stmt.cpp [568/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/StmtProfile.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/StmtProfile.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/StmtProfile.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/StmtProfile.cpp [569/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/StmtPrinter.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/StmtPrinter.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/StmtPrinter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/StmtPrinter.cpp [570/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/VTTBuilder.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/VTTBuilder.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/VTTBuilder.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/VTTBuilder.cpp [571/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/TypeLoc.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/TypeLoc.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/TypeLoc.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/TypeLoc.cpp [572/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Type.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Type.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Type.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Type.cpp [573/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/TypePrinter.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/TypePrinter.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/TypePrinter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/TypePrinter.cpp [574/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/TextNodeDumper.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/TextNodeDumper.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/TextNodeDumper.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/TextNodeDumper.cpp [575/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/VTableBuilder.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/VTableBuilder.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/VTableBuilder.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/VTableBuilder.cpp [576/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ASTMatchers/Dynamic -I/builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers/Dynamic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Diagnostics.cpp.o -MF lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Diagnostics.cpp.o.d -o lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Diagnostics.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers/Dynamic/Diagnostics.cpp [577/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ASTMatchers -I/builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/ASTMatchersInternal.cpp.o -MF lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/ASTMatchersInternal.cpp.o.d -o lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/ASTMatchersInternal.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers/ASTMatchersInternal.cpp [578/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ASTMatchers -I/builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/GtestMatchers.cpp.o -MF lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/GtestMatchers.cpp.o.d -o lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/GtestMatchers.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers/GtestMatchers.cpp [579/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-opencl-builtins -I /builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/OpenCLBuiltins.td --write-if-changed -o lib/Sema/OpenCLBuiltins.inc -d lib/Sema/OpenCLBuiltins.inc.d [580/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ASTMatchers/Dynamic -I/builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers/Dynamic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Marshallers.cpp.o -MF lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Marshallers.cpp.o.d -o lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Marshallers.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers/Dynamic/Marshallers.cpp [581/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ASTMatchers/Dynamic -I/builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers/Dynamic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Parser.cpp.o -MF lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Parser.cpp.o.d -o lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Parser.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers/Dynamic/Parser.cpp [582/2015] : && /usr/bin/cmake -E rm -f lib64/libclangAST.a && /usr/bin/ar Dqc lib64/libclangAST.a lib/AST/CMakeFiles/obj.clangAST.dir/APValue.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTConcept.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTConsumer.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTContext.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTDiagnostic.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTDumper.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTImporter.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTImporterLookupTable.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTStructuralEquivalence.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTTypeTraits.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/AttrDocTable.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/AttrImpl.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Comment.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/CommentBriefParser.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/CommentCommandTraits.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/CommentLexer.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/CommentParser.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/CommentSema.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ComparisonCategories.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ComputeDependence.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/CXXInheritance.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DataCollection.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Decl.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclarationName.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclBase.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclCXX.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclFriend.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclGroup.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclObjC.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclOpenMP.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclPrinter.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclTemplate.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ParentMapContext.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Expr.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ExprClassification.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ExprConcepts.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ExprConstant.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ExprCXX.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ExprObjC.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ExternalASTMerger.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ExternalASTSource.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/FormatString.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/InheritViz.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeEmitter.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeExprGen.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeGenError.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeStmtGen.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Context.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Descriptor.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Disasm.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/EvalEmitter.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Frame.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Function.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpBuiltin.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Floating.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Interp.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpBlock.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpFrame.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpStack.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpState.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Pointer.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/PrimType.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Program.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Record.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Source.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/State.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ItaniumCXXABI.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ItaniumMangle.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/JSONNodeDumper.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Mangle.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/MicrosoftCXXABI.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/MicrosoftMangle.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/NestedNameSpecifier.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/NSAPI.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ODRDiagsEmitter.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ODRHash.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/OpenMPClause.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/OSLog.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ParentMap.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/PrintfFormatString.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/QualTypeNames.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Randstruct.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/RawCommentList.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/RecordLayout.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/RecordLayoutBuilder.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ScanfFormatString.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/SelectorLocationsKind.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Stmt.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/StmtCXX.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/StmtIterator.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/StmtObjC.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/StmtOpenMP.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/StmtPrinter.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/StmtProfile.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/StmtViz.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/TemplateBase.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/TemplateName.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/TextNodeDumper.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Type.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/TypeLoc.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/TypePrinter.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/VTableBuilder.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/VTTBuilder.cpp.o && /usr/bin/ranlib -D lib64/libclangAST.a && : [583/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CrossTU -I/builddir/build/BUILD/clang-17.0.6.src/lib/CrossTU -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CrossTU/CMakeFiles/obj.clangCrossTU.dir/CrossTranslationUnit.cpp.o -MF lib/CrossTU/CMakeFiles/obj.clangCrossTU.dir/CrossTranslationUnit.cpp.o.d -o lib/CrossTU/CMakeFiles/obj.clangCrossTU.dir/CrossTranslationUnit.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CrossTU/CrossTranslationUnit.cpp [584/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ASTMatchers -I/builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/ASTMatchFinder.cpp.o -MF lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/ASTMatchFinder.cpp.o.d -o lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/ASTMatchFinder.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers/ASTMatchFinder.cpp [585/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ASTMatchers/Dynamic -I/builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers/Dynamic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/VariantValue.cpp.o -MF lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/VariantValue.cpp.o.d -o lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/VariantValue.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers/Dynamic/VariantValue.cpp [586/2015] : && /usr/bin/cmake -E rm -f lib64/libclangASTMatchers.a && /usr/bin/ar Dqc lib64/libclangASTMatchers.a lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/ASTMatchFinder.cpp.o lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/ASTMatchersInternal.cpp.o lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/GtestMatchers.cpp.o && /usr/bin/ranlib -D lib64/libclangASTMatchers.a && : [587/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/CodeCompleteConsumer.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/CodeCompleteConsumer.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/CodeCompleteConsumer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/CodeCompleteConsumer.cpp [588/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/DeclSpec.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/DeclSpec.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/DeclSpec.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp [589/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/IdentifierResolver.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/IdentifierResolver.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/IdentifierResolver.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/IdentifierResolver.cpp [590/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/DelayedDiagnostic.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/DelayedDiagnostic.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/DelayedDiagnostic.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DelayedDiagnostic.cpp [591/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/Scope.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/Scope.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/Scope.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/Scope.cpp [592/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/HLSLExternalSemaSource.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/HLSLExternalSemaSource.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/HLSLExternalSemaSource.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/HLSLExternalSemaSource.cpp [593/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/JumpDiagnostics.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/JumpDiagnostics.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/JumpDiagnostics.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/JumpDiagnostics.cpp [594/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/MultiplexExternalSemaSource.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/MultiplexExternalSemaSource.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/MultiplexExternalSemaSource.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/MultiplexExternalSemaSource.cpp [595/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/ScopeInfo.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/ScopeInfo.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/ScopeInfo.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/ScopeInfo.cpp [596/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/AnalysisBasedWarnings.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/AnalysisBasedWarnings.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/AnalysisBasedWarnings.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/AnalysisBasedWarnings.cpp [597/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/ParsedAttr.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/ParsedAttr.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/ParsedAttr.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/ParsedAttr.cpp [598/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAccess.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAccess.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAccess.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaAccess.cpp [599/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCXXScopeSpec.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCXXScopeSpec.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCXXScopeSpec.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaCXXScopeSpec.cpp [600/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAttr.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAttr.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAttr.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaAttr.cpp [601/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaConsumer.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaConsumer.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaConsumer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaConsumer.cpp [602/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/Sema.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/Sema.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/Sema.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/Sema.cpp [603/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCast.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCast.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCast.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaCast.cpp [604/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCoroutine.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCoroutine.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCoroutine.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaCoroutine.cpp [605/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCUDA.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCUDA.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCUDA.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaCUDA.cpp [606/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAvailability.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAvailability.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAvailability.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaAvailability.cpp [607/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaConcept.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaConcept.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaConcept.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaConcept.cpp [608/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCodeComplete.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCodeComplete.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCodeComplete.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaCodeComplete.cpp [609/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaChecking.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaChecking.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaChecking.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaChecking.cpp [610/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExceptionSpec.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExceptionSpec.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExceptionSpec.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaExceptionSpec.cpp [611/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclObjC.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclObjC.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclObjC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaDeclObjC.cpp [612/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclAttr.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclAttr.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclAttr.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaDeclAttr.cpp [613/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprMember.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprMember.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprMember.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaExprMember.cpp [614/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDecl.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDecl.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDecl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaDecl.cpp [615/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ASTMatchers/Dynamic -I/builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers/Dynamic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Registry.cpp.o -MF lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Registry.cpp.o.d -o lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Registry.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers/Dynamic/Registry.cpp [616/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaFixItUtils.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaFixItUtils.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaFixItUtils.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaFixItUtils.cpp [617/2015] : && /usr/bin/cmake -E rm -f lib64/libclangDynamicASTMatchers.a && /usr/bin/ar Dqc lib64/libclangDynamicASTMatchers.a lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Diagnostics.cpp.o lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Marshallers.cpp.o lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Parser.cpp.o lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Registry.cpp.o lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/VariantValue.cpp.o && /usr/bin/ranlib -D lib64/libclangDynamicASTMatchers.a && : [618/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaHLSL.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaHLSL.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaHLSL.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaHLSL.cpp [619/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprObjC.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprObjC.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprObjC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaExprObjC.cpp [620/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclCXX.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclCXX.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclCXX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaDeclCXX.cpp [621/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaModule.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaModule.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaModule.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaModule.cpp [622/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaInit.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaInit.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaInit.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaInit.cpp [623/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaLambda.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaLambda.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaLambda.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaLambda.cpp [624/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaObjCProperty.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaObjCProperty.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaObjCProperty.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaObjCProperty.cpp [625/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaRISCVVectorLookup.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaRISCVVectorLookup.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaRISCVVectorLookup.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaRISCVVectorLookup.cpp [626/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaPseudoObject.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaPseudoObject.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaPseudoObject.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaPseudoObject.cpp [627/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprCXX.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprCXX.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprCXX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaExprCXX.cpp [628/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaLookup.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaLookup.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaLookup.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaLookup.cpp [629/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaSYCL.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaSYCL.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaSYCL.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaSYCL.cpp [630/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmtAsm.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmtAsm.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmtAsm.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaStmtAsm.cpp [631/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmtAttr.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmtAttr.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmtAttr.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaStmtAttr.cpp [632/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaOverload.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaOverload.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaOverload.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOverload.cpp [633/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmt.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmt.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmt.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaStmt.cpp [634/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateVariadic.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateVariadic.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateVariadic.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaTemplateVariadic.cpp [635/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/TypeLocBuilder.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/TypeLocBuilder.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/TypeLocBuilder.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/TypeLocBuilder.cpp [636/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExpr.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExpr.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExpr.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaExpr.cpp [637/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateInstantiate.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateInstantiate.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateInstantiate.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaTemplateInstantiate.cpp [638/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaOpenMP.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaOpenMP.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaOpenMP.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp In file included from /usr/include/llvm/ADT/APSInt.h:18, from /usr/include/llvm/ADT/APFixedPoint.h:19, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/APValue.h:17, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/Decl.h:16, from /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/CoroutineStmtBuilder.h:16, from /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/TreeTransform.h:16, from /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:14: In member function 'llvm::APInt::~APInt()', inlined from 'llvm::APInt::~APInt()' at /usr/include/llvm/ADT/APInt.h:168:3, inlined from 'llvm::APSInt::~APSInt()' at /usr/include/llvm/ADT/APSInt.h:23:21, inlined from 'checkOMPArraySectionConstantForReduction(clang::ASTContext&, clang::OMPArraySectionExpr const*, bool&, llvm::SmallVectorImpl&)' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19108:45, inlined from 'actOnOMPReductionKindClause(clang::Sema&, (anonymous namespace)::DSAStackTy*, llvm::omp::Clause, llvm::ArrayRef, clang::SourceLocation, clang::SourceLocation, clang::SourceLocation, clang::SourceLocation, clang::CXXScopeSpec&, clang::DeclarationNameInfo const&, llvm::ArrayRef, (anonymous namespace)::ReductionData&) [clone .constprop.0]' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19485:68: /usr/include/llvm/ADT/APInt.h:170:18: warning: 'operator delete[](void*)' called on a pointer to an unallocated object '1B' [-Wfree-nonheap-object] 170 | delete[] U.pVal; | ^~~~ In member function 'llvm::APInt::~APInt()', inlined from 'llvm::APInt::~APInt()' at /usr/include/llvm/ADT/APInt.h:168:3, inlined from 'llvm::APSInt::~APSInt()' at /usr/include/llvm/ADT/APSInt.h:23:21, inlined from 'checkOMPArraySectionConstantForReduction(clang::ASTContext&, clang::OMPArraySectionExpr const*, bool&, llvm::SmallVectorImpl&)' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19127:45, inlined from 'actOnOMPReductionKindClause(clang::Sema&, (anonymous namespace)::DSAStackTy*, llvm::omp::Clause, llvm::ArrayRef, clang::SourceLocation, clang::SourceLocation, clang::SourceLocation, clang::SourceLocation, clang::CXXScopeSpec&, clang::DeclarationNameInfo const&, llvm::ArrayRef, (anonymous namespace)::ReductionData&) [clone .constprop.0]' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19485:68: /usr/include/llvm/ADT/APInt.h:170:18: warning: 'operator delete[](void*)' called on a pointer to an unallocated object '1B' [-Wfree-nonheap-object] 170 | delete[] U.pVal; | ^~~~ [639/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaType.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaType.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaType.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaType.cpp [640/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateInstantiateDecl.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateInstantiateDecl.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateInstantiateDecl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaTemplateInstantiateDecl.cpp [641/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ABIInfo.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ABIInfo.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ABIInfo.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/ABIInfo.cpp [642/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ABIInfoImpl.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ABIInfoImpl.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ABIInfoImpl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/ABIInfoImpl.cpp [643/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateDeduction.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateDeduction.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateDeduction.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaTemplateDeduction.cpp [644/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGAtomic.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGAtomic.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGAtomic.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGAtomic.cpp [645/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCUDARuntime.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCUDARuntime.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCUDARuntime.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGCUDARuntime.cpp [646/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBlocks.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBlocks.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBlocks.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGBlocks.cpp [647/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCXX.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCXX.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCXX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGCXX.cpp [648/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/BackendUtil.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/BackendUtil.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/BackendUtil.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/BackendUtil.cpp [649/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplate.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplate.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplate.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaTemplate.cpp [650/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCUDANV.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCUDANV.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCUDANV.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGCUDANV.cpp [651/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCXXABI.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCXXABI.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCXXABI.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGCXXABI.cpp [652/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCleanup.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCleanup.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCleanup.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGCleanup.cpp [653/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCoroutine.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCoroutine.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCoroutine.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGCoroutine.cpp [654/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGClass.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGClass.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGClass.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGClass.cpp [655/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDecl.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDecl.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDecl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGDecl.cpp [656/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCall.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCall.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCall.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGCall.cpp [657/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDeclCXX.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDeclCXX.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDeclCXX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGDeclCXX.cpp [658/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGException.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGException.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGException.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGException.cpp [659/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprAgg.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprAgg.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprAgg.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGExprAgg.cpp [660/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprCXX.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprCXX.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprCXX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGExprCXX.cpp [661/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExpr.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExpr.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExpr.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGExpr.cpp [662/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDebugInfo.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDebugInfo.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDebugInfo.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGDebugInfo.cpp [663/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprComplex.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprComplex.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprComplex.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGExprComplex.cpp [664/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprConstant.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprConstant.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprConstant.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGExprConstant.cpp [665/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGLoopInfo.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGLoopInfo.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGLoopInfo.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGLoopInfo.cpp [666/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGGPUBuiltin.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGGPUBuiltin.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGGPUBuiltin.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGGPUBuiltin.cpp [667/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGHLSLRuntime.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGHLSLRuntime.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGHLSLRuntime.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGHLSLRuntime.cpp [668/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprScalar.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprScalar.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprScalar.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGExprScalar.cpp [669/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGNonTrivialStruct.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGNonTrivialStruct.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGNonTrivialStruct.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGNonTrivialStruct.cpp [670/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjC.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjC.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGObjC.cpp [671/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCRuntime.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCRuntime.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCRuntime.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGObjCRuntime.cpp [672/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenCLRuntime.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenCLRuntime.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenCLRuntime.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGOpenCLRuntime.cpp [673/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCGNU.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCGNU.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCGNU.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGObjCGNU.cpp [674/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCMac.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCMac.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCMac.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGObjCMac.cpp [675/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGRecordLayoutBuilder.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGRecordLayoutBuilder.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGRecordLayoutBuilder.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGRecordLayoutBuilder.cpp [676/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGVTT.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGVTT.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGVTT.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGVTT.cpp [677/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenMPRuntimeGPU.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenMPRuntimeGPU.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenMPRuntimeGPU.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGOpenMPRuntimeGPU.cpp [678/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGStmt.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGStmt.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGStmt.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGStmt.cpp [679/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGVTables.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGVTables.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGVTables.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGVTables.cpp [680/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenABITypes.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenABITypes.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenABITypes.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CodeGenABITypes.cpp [681/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenTBAA.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenTBAA.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenTBAA.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CodeGenTBAA.cpp [682/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenMPRuntime.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenMPRuntime.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenMPRuntime.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGOpenMPRuntime.cpp [683/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGStmtOpenMP.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGStmtOpenMP.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGStmtOpenMP.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGStmtOpenMP.cpp [684/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenFunction.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenFunction.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenFunction.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CodeGenFunction.cpp [685/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenAction.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenAction.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenAction.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CodeGenAction.cpp [686/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ConstantInitBuilder.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ConstantInitBuilder.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ConstantInitBuilder.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/ConstantInitBuilder.cpp [687/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenTypes.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenTypes.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenTypes.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CodeGenTypes.cpp [688/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/MacroPPCallbacks.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/MacroPPCallbacks.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/MacroPPCallbacks.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/MacroPPCallbacks.cpp [689/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenPGO.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenPGO.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenPGO.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CodeGenPGO.cpp [690/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CoverageMappingGen.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CoverageMappingGen.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CoverageMappingGen.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CoverageMappingGen.cpp [691/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ItaniumCXXABI.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ItaniumCXXABI.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ItaniumCXXABI.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/ItaniumCXXABI.cpp [692/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ModuleBuilder.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ModuleBuilder.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ModuleBuilder.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/ModuleBuilder.cpp [693/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/PatternInit.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/PatternInit.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/PatternInit.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/PatternInit.cpp [694/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/MicrosoftCXXABI.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/MicrosoftCXXABI.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/MicrosoftCXXABI.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/MicrosoftCXXABI.cpp [695/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/SanitizerMetadata.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/SanitizerMetadata.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/SanitizerMetadata.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/SanitizerMetadata.cpp [696/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenModule.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenModule.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenModule.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CodeGenModule.cpp [697/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/SwiftCallingConv.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/SwiftCallingConv.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/SwiftCallingConv.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/SwiftCallingConv.cpp [698/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/TargetInfo.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/TargetInfo.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/TargetInfo.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/TargetInfo.cpp [699/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AArch64.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AArch64.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AArch64.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/AArch64.cpp [700/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ObjectFilePCHContainerOperations.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ObjectFilePCHContainerOperations.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ObjectFilePCHContainerOperations.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/ObjectFilePCHContainerOperations.cpp [701/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AMDGPU.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AMDGPU.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AMDGPU.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/AMDGPU.cpp [702/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/ARC.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/ARC.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/ARC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/ARC.cpp [703/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AVR.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AVR.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AVR.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/AVR.cpp [704/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/ARM.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/ARM.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/ARM.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/ARM.cpp [705/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBuiltin.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBuiltin.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBuiltin.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGBuiltin.cpp [706/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/BPF.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/BPF.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/BPF.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/BPF.cpp [707/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/CSKY.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/CSKY.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/CSKY.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/CSKY.cpp [708/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Lanai.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Lanai.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Lanai.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/Lanai.cpp [709/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Hexagon.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Hexagon.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Hexagon.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/Hexagon.cpp [710/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/LoongArch.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/LoongArch.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/LoongArch.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/LoongArch.cpp [711/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/M68k.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/M68k.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/M68k.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/M68k.cpp [712/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/MSP430.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/MSP430.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/MSP430.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/MSP430.cpp [713/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Mips.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Mips.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Mips.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/Mips.cpp [714/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/NVPTX.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/NVPTX.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/NVPTX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/NVPTX.cpp [715/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/PNaCl.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/PNaCl.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/PNaCl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/PNaCl.cpp [716/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/RISCV.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/RISCV.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/RISCV.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/RISCV.cpp [717/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/PPC.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/PPC.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/PPC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/PPC.cpp [718/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/SPIR.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/SPIR.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/SPIR.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/SPIR.cpp [719/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Sparc.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Sparc.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Sparc.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/Sparc.cpp [720/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/SystemZ.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/SystemZ.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/SystemZ.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/SystemZ.cpp [721/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/TCE.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/TCE.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/TCE.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/TCE.cpp [722/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/VarBypassDetector.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/VarBypassDetector.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/VarBypassDetector.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/VarBypassDetector.cpp [723/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/VE.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/VE.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/VE.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/VE.cpp [724/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/WebAssembly.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/WebAssembly.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/WebAssembly.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/WebAssembly.cpp [725/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/BodyFarm.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/BodyFarm.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/BodyFarm.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/BodyFarm.cpp [726/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/AnalysisDeclContext.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/AnalysisDeclContext.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/AnalysisDeclContext.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/AnalysisDeclContext.cpp [727/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFGReachabilityAnalysis.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFGReachabilityAnalysis.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFGReachabilityAnalysis.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/CFGReachabilityAnalysis.cpp [728/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFGStmtMap.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFGStmtMap.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFGStmtMap.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/CFGStmtMap.cpp [729/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CocoaConventions.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CocoaConventions.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CocoaConventions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/CocoaConventions.cpp [730/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/XCore.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/XCore.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/XCore.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/XCore.cpp [731/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CodeInjector.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CodeInjector.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CodeInjector.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/CodeInjector.cpp [732/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/X86.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/X86.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/X86.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/X86.cpp [733/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ConstructionContext.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ConstructionContext.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ConstructionContext.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/ConstructionContext.cpp [734/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CallGraph.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CallGraph.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CallGraph.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/CallGraph.cpp [735/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFG.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFG.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFG.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/CFG.cpp [736/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/Dominators.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/Dominators.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/Dominators.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/Dominators.cpp [737/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CloneDetection.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CloneDetection.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CloneDetection.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/CloneDetection.cpp [738/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CalledOnceCheck.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CalledOnceCheck.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CalledOnceCheck.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/CalledOnceCheck.cpp [739/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/Consumed.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/Consumed.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/Consumed.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/Consumed.cpp [740/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ObjCNoReturn.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ObjCNoReturn.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ObjCNoReturn.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/ObjCNoReturn.cpp [741/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/MacroExpansionContext.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/MacroExpansionContext.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/MacroExpansionContext.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/MacroExpansionContext.cpp [742/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/IntervalPartition.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/IntervalPartition.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/IntervalPartition.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/IntervalPartition.cpp [743/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/IssueHash.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/IssueHash.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/IssueHash.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/IssueHash.cpp [744/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/PostOrderCFGView.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/PostOrderCFGView.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/PostOrderCFGView.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/PostOrderCFGView.cpp [745/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/LiveVariables.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/LiveVariables.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/LiveVariables.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/LiveVariables.cpp [746/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyLogical.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyLogical.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyLogical.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/ThreadSafetyLogical.cpp [747/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ProgramPoint.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ProgramPoint.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ProgramPoint.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/ProgramPoint.cpp [748/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/PathDiagnostic.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/PathDiagnostic.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/PathDiagnostic.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/PathDiagnostic.cpp [749/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ReachableCode.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ReachableCode.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ReachableCode.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/ReachableCode.cpp [750/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyTIL.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyTIL.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyTIL.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/ThreadSafetyTIL.cpp [751/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Arena.cpp.o -MF lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Arena.cpp.o.d -o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Arena.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/Arena.cpp [752/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyCommon.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyCommon.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyCommon.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/ThreadSafetyCommon.cpp [753/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafety.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafety.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafety.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/ThreadSafety.cpp [754/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/ControlFlowContext.cpp.o -MF lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/ControlFlowContext.cpp.o.d -o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/ControlFlowContext.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/ControlFlowContext.cpp [755/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Formula.cpp.o -MF lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Formula.cpp.o.d -o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Formula.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/Formula.cpp [756/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/UninitializedValues.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/UninitializedValues.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/UninitializedValues.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/UninitializedValues.cpp [757/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/RetainSummaryManager.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/RetainSummaryManager.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/RetainSummaryManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/RetainSummaryManager.cpp [758/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ExprMutationAnalyzer.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ExprMutationAnalyzer.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ExprMutationAnalyzer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/ExprMutationAnalyzer.cpp [759/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DataflowAnalysisContext.cpp.o -MF lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DataflowAnalysisContext.cpp.o.d -o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DataflowAnalysisContext.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/DataflowAnalysisContext.cpp [760/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DataflowEnvironment.cpp.o -MF lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DataflowEnvironment.cpp.o.d -o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DataflowEnvironment.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp: In member function 'void clang::dataflow::Environment::setValueStrict(const clang::Expr&, clang::dataflow::Value&)': /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp:702:15: warning: unused variable 'ExistingVal' [-Wunused-variable] 702 | if (auto *ExistingVal = cast_or_null(getValueStrict(E))) | ^~~~~~~~~~~ /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp:704:26: warning: unused variable 'ExistingLoc' [-Wunused-variable] 704 | if (StorageLocation *ExistingLoc = getStorageLocation(E, SkipPast::None)) | ^~~~~~~~~~~ [761/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Value.cpp.o -MF lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Value.cpp.o.d -o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Value.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/Value.cpp [762/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Logger.cpp.o -MF lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Logger.cpp.o.d -o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Logger.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/Logger.cpp [763/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/RecordOps.cpp.o -MF lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/RecordOps.cpp.o.d -o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/RecordOps.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/RecordOps.cpp [764/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/WatchedLiteralsSolver.cpp.o -MF lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/WatchedLiteralsSolver.cpp.o.d -o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/WatchedLiteralsSolver.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/WatchedLiteralsSolver.cpp [765/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DebugSupport.cpp.o -MF lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DebugSupport.cpp.o.d -o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DebugSupport.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/DebugSupport.cpp [766/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/HTMLLogger.cpp.o -MF lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/HTMLLogger.cpp.o.d -o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/HTMLLogger.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/HTMLLogger.cpp [767/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Edit -I/builddir/build/BUILD/clang-17.0.6.src/lib/Edit -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Edit/CMakeFiles/obj.clangEdit.dir/Commit.cpp.o -MF lib/Edit/CMakeFiles/obj.clangEdit.dir/Commit.cpp.o.d -o lib/Edit/CMakeFiles/obj.clangEdit.dir/Commit.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Edit/Commit.cpp [768/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Edit -I/builddir/build/BUILD/clang-17.0.6.src/lib/Edit -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Edit/CMakeFiles/obj.clangEdit.dir/EditedSource.cpp.o -MF lib/Edit/CMakeFiles/obj.clangEdit.dir/EditedSource.cpp.o.d -o lib/Edit/CMakeFiles/obj.clangEdit.dir/EditedSource.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Edit/EditedSource.cpp [769/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Transfer.cpp.o -MF lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Transfer.cpp.o.d -o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Transfer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/Transfer.cpp [770/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive/Models -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/Models -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/Models/CMakeFiles/obj.clangAnalysisFlowSensitiveModels.dir/ChromiumCheckModel.cpp.o -MF lib/Analysis/FlowSensitive/Models/CMakeFiles/obj.clangAnalysisFlowSensitiveModels.dir/ChromiumCheckModel.cpp.o.d -o lib/Analysis/FlowSensitive/Models/CMakeFiles/obj.clangAnalysisFlowSensitiveModels.dir/ChromiumCheckModel.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/Models/ChromiumCheckModel.cpp [771/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/APIIgnoresList.cpp.o -MF lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/APIIgnoresList.cpp.o.d -o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/APIIgnoresList.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI/APIIgnoresList.cpp [772/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/AvailabilityInfo.cpp.o -MF lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/AvailabilityInfo.cpp.o.d -o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/AvailabilityInfo.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI/AvailabilityInfo.cpp [773/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Edit -I/builddir/build/BUILD/clang-17.0.6.src/lib/Edit -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Edit/CMakeFiles/obj.clangEdit.dir/RewriteObjCFoundationAPI.cpp.o -MF lib/Edit/CMakeFiles/obj.clangEdit.dir/RewriteObjCFoundationAPI.cpp.o.d -o lib/Edit/CMakeFiles/obj.clangEdit.dir/RewriteObjCFoundationAPI.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Edit/RewriteObjCFoundationAPI.cpp [774/2015] : && /usr/bin/cmake -E rm -f lib64/libclangEdit.a && /usr/bin/ar Dqc lib64/libclangEdit.a lib/Edit/CMakeFiles/obj.clangEdit.dir/Commit.cpp.o lib/Edit/CMakeFiles/obj.clangEdit.dir/EditedSource.cpp.o lib/Edit/CMakeFiles/obj.clangEdit.dir/RewriteObjCFoundationAPI.cpp.o && /usr/bin/ranlib -D lib64/libclangEdit.a && : [775/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/TypeErasedDataflowAnalysis.cpp.o -MF lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/TypeErasedDataflowAnalysis.cpp.o.d -o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/TypeErasedDataflowAnalysis.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.cpp [776/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/lib/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/DeltaTree.cpp.o -MF lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/DeltaTree.cpp.o.d -o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/DeltaTree.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Rewrite/DeltaTree.cpp [777/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/API.cpp.o -MF lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/API.cpp.o.d -o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/API.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI/API.cpp [778/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/TypedefUnderlyingTypeResolver.cpp.o -MF lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/TypedefUnderlyingTypeResolver.cpp.o.d -o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/TypedefUnderlyingTypeResolver.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI/TypedefUnderlyingTypeResolver.cpp [779/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/lib/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/RewriteRope.cpp.o -MF lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/RewriteRope.cpp.o.d -o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/RewriteRope.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Rewrite/RewriteRope.cpp [780/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/DeclarationFragments.cpp.o -MF lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/DeclarationFragments.cpp.o.d -o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/DeclarationFragments.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI/DeclarationFragments.cpp [781/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/lib/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/TokenRewriter.cpp.o -MF lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/TokenRewriter.cpp.o.d -o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/TokenRewriter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Rewrite/TokenRewriter.cpp [782/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/lib/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/Rewriter.cpp.o -MF lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/Rewriter.cpp.o.d -o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/Rewriter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Rewrite/Rewriter.cpp [783/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/Serialization/SymbolGraphSerializer.cpp.o -MF lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/Serialization/SymbolGraphSerializer.cpp.o.d -o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/Serialization/SymbolGraphSerializer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp [784/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/lib/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/HTMLRewrite.cpp.o -MF lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/HTMLRewrite.cpp.o.d -o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/HTMLRewrite.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Rewrite/HTMLRewrite.cpp [785/2015] : && /usr/bin/cmake -E rm -f lib64/libclangRewrite.a && /usr/bin/ar Dqc lib64/libclangRewrite.a lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/DeltaTree.cpp.o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/HTMLRewrite.cpp.o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/RewriteRope.cpp.o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/Rewriter.cpp.o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/TokenRewriter.cpp.o && /usr/bin/ranlib -D lib64/libclangRewrite.a && : [786/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/PlistReporter.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/PlistReporter.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/PlistReporter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/PlistReporter.cpp [787/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/FileRemapper.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/FileRemapper.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/FileRemapper.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/FileRemapper.cpp [788/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive/Models -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/Models -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/Models/CMakeFiles/obj.clangAnalysisFlowSensitiveModels.dir/UncheckedOptionalAccessModel.cpp.o -MF lib/Analysis/FlowSensitive/Models/CMakeFiles/obj.clangAnalysisFlowSensitiveModels.dir/UncheckedOptionalAccessModel.cpp.o.d -o lib/Analysis/FlowSensitive/Models/CMakeFiles/obj.clangAnalysisFlowSensitiveModels.dir/UncheckedOptionalAccessModel.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.cpp [789/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/UnsafeBufferUsage.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/UnsafeBufferUsage.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/UnsafeBufferUsage.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/UnsafeBufferUsage.cpp [790/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ARCMTActions.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ARCMTActions.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ARCMTActions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/ARCMTActions.cpp [791/2015] : && /usr/bin/cmake -E rm -f lib64/libclangAnalysis.a && /usr/bin/ar Dqc lib64/libclangAnalysis.a lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/AnalysisDeclContext.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/BodyFarm.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CalledOnceCheck.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFG.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFGReachabilityAnalysis.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFGStmtMap.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CallGraph.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CloneDetection.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CocoaConventions.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ConstructionContext.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/Consumed.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CodeInjector.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/Dominators.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ExprMutationAnalyzer.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/IntervalPartition.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/IssueHash.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/LiveVariables.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/MacroExpansionContext.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ObjCNoReturn.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/PathDiagnostic.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/PostOrderCFGView.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ProgramPoint.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ReachableCode.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/RetainSummaryManager.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafety.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyCommon.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyLogical.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyTIL.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/UninitializedValues.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/UnsafeBufferUsage.cpp.o && /usr/bin/ranlib -D lib64/libclangAnalysis.a && : [792/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ARCMT.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ARCMT.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ARCMT.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/ARCMT.cpp [793/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransARCAssign.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransARCAssign.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransARCAssign.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransARCAssign.cpp [794/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransAPIUses.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransAPIUses.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransAPIUses.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransAPIUses.cpp [795/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/ExtractAPIConsumer.cpp.o -MF lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/ExtractAPIConsumer.cpp.o.d -o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/ExtractAPIConsumer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI/ExtractAPIConsumer.cpp [796/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransEmptyStatementsAndDealloc.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransEmptyStatementsAndDealloc.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransEmptyStatementsAndDealloc.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransEmptyStatementsAndDealloc.cpp [797/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransGCCalls.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransGCCalls.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransGCCalls.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransGCCalls.cpp [798/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransBlockObjCVariable.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransBlockObjCVariable.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransBlockObjCVariable.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransBlockObjCVariable.cpp [799/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransGCAttrs.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransGCAttrs.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransGCAttrs.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransGCAttrs.cpp [800/2015] : && /usr/bin/cmake -E rm -f lib64/libclangSema.a && /usr/bin/ar Dqc lib64/libclangSema.a lib/Sema/CMakeFiles/obj.clangSema.dir/AnalysisBasedWarnings.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/CodeCompleteConsumer.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/DeclSpec.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/DelayedDiagnostic.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/HLSLExternalSemaSource.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/IdentifierResolver.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/JumpDiagnostics.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/MultiplexExternalSemaSource.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/ParsedAttr.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/Scope.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/ScopeInfo.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/Sema.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAccess.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAttr.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAvailability.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCXXScopeSpec.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCast.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaChecking.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCodeComplete.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaConcept.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaConsumer.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCoroutine.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCUDA.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDecl.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclAttr.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclCXX.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclObjC.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExceptionSpec.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExpr.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprCXX.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprMember.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprObjC.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaFixItUtils.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaHLSL.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaInit.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaLambda.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaLookup.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaModule.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaObjCProperty.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaOpenMP.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaOverload.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaPseudoObject.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaRISCVVectorLookup.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmt.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmtAsm.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmtAttr.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaSYCL.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplate.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateDeduction.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateInstantiate.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateInstantiateDecl.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateVariadic.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaType.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/TypeLocBuilder.cpp.o && /usr/bin/ranlib -D lib64/libclangSema.a && : [801/2015] : && /usr/bin/cmake -E rm -f lib64/libclangAnalysisFlowSensitive.a && /usr/bin/ar Dqc lib64/libclangAnalysisFlowSensitive.a lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Arena.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/ControlFlowContext.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DataflowAnalysisContext.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DataflowEnvironment.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Formula.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/HTMLLogger.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Logger.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/RecordOps.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Transfer.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/TypeErasedDataflowAnalysis.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Value.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/WatchedLiteralsSolver.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DebugSupport.cpp.o && /usr/bin/ranlib -D lib64/libclangAnalysisFlowSensitive.a && : [802/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ObjCMT.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ObjCMT.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ObjCMT.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/ObjCMT.cpp [803/2015] : && /usr/bin/cmake -E rm -f lib64/libclangParse.a && /usr/bin/ar Dqc lib64/libclangParse.a lib/Parse/CMakeFiles/obj.clangParse.dir/ParseAST.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseCXXInlineMethods.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseDecl.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseDeclCXX.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseExpr.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseExprCXX.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseHLSL.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseInit.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseObjc.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseOpenMP.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParsePragma.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseStmt.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseStmtAsm.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseTemplate.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseTentative.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/Parser.cpp.o && /usr/bin/ranlib -D lib64/libclangParse.a && : [804/2015] : && /usr/bin/cmake -E rm -f lib64/libclangAnalysisFlowSensitiveModels.a && /usr/bin/ar Dqc lib64/libclangAnalysisFlowSensitiveModels.a lib/Analysis/FlowSensitive/Models/CMakeFiles/obj.clangAnalysisFlowSensitiveModels.dir/ChromiumCheckModel.cpp.o lib/Analysis/FlowSensitive/Models/CMakeFiles/obj.clangAnalysisFlowSensitiveModels.dir/UncheckedOptionalAccessModel.cpp.o && /usr/bin/ranlib -D lib64/libclangAnalysisFlowSensitiveModels.a && : [805/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransProperties.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransProperties.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransProperties.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransProperties.cpp [806/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransAutoreleasePool.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransAutoreleasePool.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransAutoreleasePool.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransAutoreleasePool.cpp [807/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/Action.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/Action.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/Action.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Action.cpp [808/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/Compilation.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/Compilation.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/Compilation.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Compilation.cpp [809/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/Distro.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/Distro.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/Distro.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Distro.cpp [810/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransformActions.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransformActions.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransformActions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransformActions.cpp [811/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/DriverOptions.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/DriverOptions.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/DriverOptions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/DriverOptions.cpp [812/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/Job.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/Job.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/Job.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Job.cpp [813/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransProtectedScope.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransProtectedScope.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransProtectedScope.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransProtectedScope.cpp [814/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransZeroOutPropsInDealloc.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransZeroOutPropsInDealloc.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransZeroOutPropsInDealloc.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransZeroOutPropsInDealloc.cpp [815/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransRetainReleaseDealloc.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransRetainReleaseDealloc.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransRetainReleaseDealloc.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransRetainReleaseDealloc.cpp [816/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/Multilib.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/Multilib.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/Multilib.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Multilib.cpp [817/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/Phases.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/Phases.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/Phases.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Phases.cpp [818/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransUnusedInitDelegate.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransUnusedInitDelegate.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransUnusedInitDelegate.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransUnusedInitDelegate.cpp [819/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/MultilibBuilder.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/MultilibBuilder.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/MultilibBuilder.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/MultilibBuilder.cpp [820/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/Tool.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/Tool.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/Tool.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Tool.cpp [821/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/OptionUtils.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/OptionUtils.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/OptionUtils.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/OptionUtils.cpp [822/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransUnbridgedCasts.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransUnbridgedCasts.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransUnbridgedCasts.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransUnbridgedCasts.cpp [823/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/OffloadBundler.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/OffloadBundler.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/OffloadBundler.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/OffloadBundler.cpp [824/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/AArch64.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/AArch64.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/AArch64.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Arch/AArch64.cpp [825/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/CSKY.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/CSKY.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/CSKY.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Arch/CSKY.cpp [826/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/LoongArch.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/LoongArch.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/LoongArch.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Arch/LoongArch.cpp [827/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/ARM.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/ARM.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/ARM.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Arch/ARM.cpp [828/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/M68k.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/M68k.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/M68k.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Arch/M68k.cpp [829/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/SanitizerArgs.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/SanitizerArgs.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/SanitizerArgs.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/SanitizerArgs.cpp [830/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/PPC.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/PPC.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/PPC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Arch/PPC.cpp [831/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChain.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChain.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChain.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChain.cpp [832/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/Mips.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/Mips.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/Mips.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Arch/Mips.cpp [833/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/SystemZ.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/SystemZ.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/SystemZ.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Arch/SystemZ.cpp [834/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/Sparc.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/Sparc.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/Sparc.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Arch/Sparc.cpp [835/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/VE.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/VE.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/VE.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Arch/VE.cpp [836/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/RISCV.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/RISCV.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/RISCV.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Arch/RISCV.cpp [837/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/X86.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/X86.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/X86.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Arch/X86.cpp [838/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/Driver.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/Driver.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/Driver.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Driver.cpp [839/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Ananas.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Ananas.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Ananas.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Ananas.cpp [840/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AIX.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AIX.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AIX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/AIX.cpp [841/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AMDGPUOpenMP.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AMDGPUOpenMP.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AMDGPUOpenMP.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/AMDGPUOpenMP.cpp [842/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AVR.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AVR.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AVR.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/AVR.cpp [843/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Contiki.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Contiki.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Contiki.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Contiki.cpp [844/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CloudABI.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CloudABI.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CloudABI.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/CloudABI.cpp [845/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AMDGPU.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AMDGPU.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AMDGPU.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/AMDGPU.cpp [846/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/BareMetal.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/BareMetal.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/BareMetal.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/BareMetal.cpp [847/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CrossWindows.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CrossWindows.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CrossWindows.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/CrossWindows.cpp [848/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CSKYToolChain.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CSKYToolChain.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CSKYToolChain.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/CSKYToolChain.cpp [849/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/DragonFly.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/DragonFly.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/DragonFly.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/DragonFly.cpp [850/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Flang.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Flang.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Flang.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Flang.cpp [851/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CommonArgs.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CommonArgs.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CommonArgs.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/CommonArgs.cpp [852/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Cuda.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Cuda.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Cuda.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Cuda.cpp [853/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/FreeBSD.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/FreeBSD.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/FreeBSD.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/FreeBSD.cpp [854/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Haiku.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Haiku.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Haiku.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Haiku.cpp [855/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/Transforms.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/Transforms.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/Transforms.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/Transforms.cpp [856/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPUtility.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPUtility.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPUtility.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/HIPUtility.cpp [857/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Fuchsia.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Fuchsia.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Fuchsia.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Fuchsia.cpp [858/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Darwin.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Darwin.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Darwin.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Darwin.cpp [859/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPSPV.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPSPV.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPSPV.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/HIPSPV.cpp [860/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPAMD.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPAMD.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPAMD.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/HIPAMD.cpp [861/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HLSL.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HLSL.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HLSL.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/HLSL.cpp [862/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Hexagon.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Hexagon.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Hexagon.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Hexagon.cpp [863/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Hurd.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Hurd.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Hurd.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Hurd.cpp [864/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Clang.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Clang.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Clang.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Clang.cpp [865/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MipsLinux.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MipsLinux.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MipsLinux.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/MipsLinux.cpp [866/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Gnu.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Gnu.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Gnu.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Gnu.cpp [867/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Minix.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Minix.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Minix.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Minix.cpp [868/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Linux.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Linux.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Linux.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Linux.cpp [869/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MinGW.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MinGW.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MinGW.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/MinGW.cpp [870/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Myriad.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Myriad.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Myriad.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Myriad.cpp [871/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MSP430.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MSP430.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MSP430.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/MSP430.cpp [872/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/NaCl.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/NaCl.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/NaCl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/NaCl.cpp [873/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MSVC.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MSVC.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MSVC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/MSVC.cpp [874/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/NetBSD.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/NetBSD.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/NetBSD.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/NetBSD.cpp [875/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/TCE.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/TCE.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/TCE.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/TCE.cpp [876/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/OpenBSD.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/OpenBSD.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/OpenBSD.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/OpenBSD.cpp [877/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PS4CPU.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PS4CPU.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PS4CPU.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/PS4CPU.cpp [878/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/SPIRV.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/SPIRV.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/SPIRV.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/SPIRV.cpp [879/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/RISCVToolchain.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/RISCVToolchain.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/RISCVToolchain.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/RISCVToolchain.cpp [880/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Solaris.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Solaris.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Solaris.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Solaris.cpp [881/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/OHOS.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/OHOS.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/OHOS.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/OHOS.cpp [882/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/VEToolchain.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/VEToolchain.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/VEToolchain.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/VEToolchain.cpp [883/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PPCFreeBSD.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PPCFreeBSD.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PPCFreeBSD.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/PPCFreeBSD.cpp [884/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PPCLinux.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PPCLinux.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PPCLinux.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/PPCLinux.cpp [885/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/Types.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/Types.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/Types.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Types.cpp [886/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/XCore.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/XCore.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/XCore.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/XCore.cpp [887/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/InterfaceStubs.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/InterfaceStubs.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/InterfaceStubs.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/InterfaceStubs.cpp [888/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/ZOS.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/ZOS.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/ZOS.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/ZOS.cpp [889/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/WebAssembly.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/WebAssembly.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/WebAssembly.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/WebAssembly.cpp [890/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/XRayArgs.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/XRayArgs.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/XRayArgs.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/XRayArgs.cpp [891/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTCommon.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTCommon.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTCommon.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/ASTCommon.cpp [892/2015] : && /usr/bin/cmake -E rm -f lib64/libclangDriver.a && /usr/bin/ar Dqc lib64/libclangDriver.a lib/Driver/CMakeFiles/obj.clangDriver.dir/Action.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Compilation.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Distro.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Driver.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/DriverOptions.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Job.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Multilib.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/MultilibBuilder.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/OffloadBundler.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/OptionUtils.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Phases.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/SanitizerArgs.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Tool.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChain.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/AArch64.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/ARM.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/CSKY.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/LoongArch.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/M68k.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/Mips.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/PPC.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/RISCV.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/Sparc.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/SystemZ.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/VE.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/X86.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AIX.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Ananas.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AMDGPU.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AMDGPUOpenMP.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AVR.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/BareMetal.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Clang.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CloudABI.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CommonArgs.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Contiki.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CrossWindows.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CSKYToolChain.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Cuda.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Darwin.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/DragonFly.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Flang.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/FreeBSD.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Fuchsia.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Gnu.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Haiku.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPUtility.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPAMD.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPSPV.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Hexagon.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HLSL.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Hurd.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Linux.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MipsLinux.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MinGW.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Minix.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MSP430.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MSVC.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Myriad.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/NaCl.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/NetBSD.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/OHOS.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/OpenBSD.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PS4CPU.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/RISCVToolchain.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Solaris.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/SPIRV.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/TCE.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/VEToolchain.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/WebAssembly.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/XCore.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PPCLinux.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PPCFreeBSD.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/InterfaceStubs.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/ZOS.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Types.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/XRayArgs.cpp.o && /usr/bin/ranlib -D lib64/libclangDriver.a && : [893/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/GlobalModuleIndex.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/GlobalModuleIndex.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/GlobalModuleIndex.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/GlobalModuleIndex.cpp [894/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/GeneratePCH.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/GeneratePCH.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/GeneratePCH.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/GeneratePCH.cpp [895/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/InMemoryModuleCache.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/InMemoryModuleCache.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/InMemoryModuleCache.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/InMemoryModuleCache.cpp [896/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleFileExtension.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleFileExtension.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleFileExtension.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/ModuleFileExtension.cpp [897/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriterStmt.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriterStmt.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriterStmt.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/ASTWriterStmt.cpp [898/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleFile.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleFile.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleFile.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/ModuleFile.cpp [899/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/PCHContainerOperations.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/PCHContainerOperations.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/PCHContainerOperations.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/PCHContainerOperations.cpp [900/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReaderStmt.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReaderStmt.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReaderStmt.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/ASTReaderStmt.cpp [901/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriterDecl.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriterDecl.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriterDecl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/ASTWriterDecl.cpp [902/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ChainedDiagnosticConsumer.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ChainedDiagnosticConsumer.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ChainedDiagnosticConsumer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/ChainedDiagnosticConsumer.cpp [903/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleManager.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleManager.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/ModuleManager.cpp [904/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTMerge.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTMerge.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTMerge.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/ASTMerge.cpp [905/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReaderDecl.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReaderDecl.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReaderDecl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/ASTReaderDecl.cpp [906/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ChainedIncludesSource.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ChainedIncludesSource.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ChainedIncludesSource.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/ChainedIncludesSource.cpp [907/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriter.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriter.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/ASTWriter.cpp [908/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTConsumers.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTConsumers.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTConsumers.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/ASTConsumers.cpp [909/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CreateInvocationFromCommandLine.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CreateInvocationFromCommandLine.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CreateInvocationFromCommandLine.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CreateInvocationFromCommandLine.cpp [910/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTUnit.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTUnit.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTUnit.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/ASTUnit.cpp [911/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DependencyGraph.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DependencyGraph.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DependencyGraph.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/DependencyGraph.cpp [912/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DiagnosticRenderer.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DiagnosticRenderer.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DiagnosticRenderer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/DiagnosticRenderer.cpp [913/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CompilerInstance.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CompilerInstance.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CompilerInstance.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp [914/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendOptions.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendOptions.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendOptions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendOptions.cpp [915/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/HeaderIncludeGen.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/HeaderIncludeGen.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/HeaderIncludeGen.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/HeaderIncludeGen.cpp [916/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/LayoutOverrideSource.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/LayoutOverrideSource.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/LayoutOverrideSource.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/LayoutOverrideSource.cpp [917/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DependencyFile.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DependencyFile.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DependencyFile.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/DependencyFile.cpp [918/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReader.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReader.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReader.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/ASTReader.cpp [919/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/LogDiagnosticPrinter.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/LogDiagnosticPrinter.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/LogDiagnosticPrinter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/LogDiagnosticPrinter.cpp [920/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/MultiplexConsumer.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/MultiplexConsumer.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/MultiplexConsumer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/MultiplexConsumer.cpp [921/2015] : && /usr/bin/cmake -E rm -f lib64/libclangSerialization.a && /usr/bin/ar Dqc lib64/libclangSerialization.a lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTCommon.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReader.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReaderDecl.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReaderStmt.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriter.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriterDecl.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriterStmt.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/GeneratePCH.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/GlobalModuleIndex.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/InMemoryModuleCache.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleFile.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleFileExtension.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleManager.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/PCHContainerOperations.cpp.o && /usr/bin/ranlib -D lib64/libclangSerialization.a && : [922/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/PrintPreprocessedOutput.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/PrintPreprocessedOutput.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/PrintPreprocessedOutput.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/PrintPreprocessedOutput.cpp [923/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SARIFDiagnostic.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SARIFDiagnostic.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SARIFDiagnostic.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/SARIFDiagnostic.cpp [924/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/InitPreprocessor.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/InitPreprocessor.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/InitPreprocessor.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/InitPreprocessor.cpp [925/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SARIFDiagnosticPrinter.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SARIFDiagnosticPrinter.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SARIFDiagnosticPrinter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/SARIFDiagnosticPrinter.cpp [926/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ModuleDependencyCollector.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ModuleDependencyCollector.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ModuleDependencyCollector.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/ModuleDependencyCollector.cpp [927/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SerializedDiagnosticPrinter.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SerializedDiagnosticPrinter.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SerializedDiagnosticPrinter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/SerializedDiagnosticPrinter.cpp [928/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SerializedDiagnosticReader.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SerializedDiagnosticReader.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SerializedDiagnosticReader.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/SerializedDiagnosticReader.cpp [929/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendAction.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendAction.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendAction.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp [930/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnosticBuffer.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnosticBuffer.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnosticBuffer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/TextDiagnosticBuffer.cpp [931/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendActions.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendActions.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendActions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendActions.cpp [932/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnosticPrinter.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnosticPrinter.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnosticPrinter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/TextDiagnosticPrinter.cpp [933/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnostic.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnostic.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnostic.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/TextDiagnostic.cpp [934/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/FixItRewriter.cpp.o -MF lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/FixItRewriter.cpp.o.d -o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/FixItRewriter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite/FixItRewriter.cpp [935/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/PrecompiledPreamble.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/PrecompiledPreamble.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/PrecompiledPreamble.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/PrecompiledPreamble.cpp [936/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/VerifyDiagnosticConsumer.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/VerifyDiagnosticConsumer.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/VerifyDiagnosticConsumer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/VerifyDiagnosticConsumer.cpp [937/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/InclusionRewriter.cpp.o -MF lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/InclusionRewriter.cpp.o.d -o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/InclusionRewriter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite/InclusionRewriter.cpp [938/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/HTMLPrint.cpp.o -MF lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/HTMLPrint.cpp.o.d -o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/HTMLPrint.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite/HTMLPrint.cpp [939/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TestModuleFileExtension.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TestModuleFileExtension.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TestModuleFileExtension.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/TestModuleFileExtension.cpp [940/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CompilerInvocation.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CompilerInvocation.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CompilerInvocation.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInvocation.cpp [941/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteMacros.cpp.o -MF lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteMacros.cpp.o.d -o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteMacros.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite/RewriteMacros.cpp [942/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Core/CMakeFiles/obj.clangToolingCore.dir/Diagnostic.cpp.o -MF lib/Tooling/Core/CMakeFiles/obj.clangToolingCore.dir/Diagnostic.cpp.o.d -o lib/Tooling/Core/CMakeFiles/obj.clangToolingCore.dir/Diagnostic.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Core/Diagnostic.cpp [943/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteTest.cpp.o -MF lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteTest.cpp.o.d -o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteTest.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite/RewriteTest.cpp [944/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Core/CMakeFiles/obj.clangToolingCore.dir/Replacement.cpp.o -MF lib/Tooling/Core/CMakeFiles/obj.clangToolingCore.dir/Replacement.cpp.o.d -o lib/Tooling/Core/CMakeFiles/obj.clangToolingCore.dir/Replacement.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Core/Replacement.cpp [945/2015] : && /usr/bin/cmake -E rm -f lib64/libclangToolingCore.a && /usr/bin/ar Dqc lib64/libclangToolingCore.a lib/Tooling/Core/CMakeFiles/obj.clangToolingCore.dir/Diagnostic.cpp.o lib/Tooling/Core/CMakeFiles/obj.clangToolingCore.dir/Replacement.cpp.o && /usr/bin/ranlib -D lib64/libclangToolingCore.a && : [946/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Inclusions -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Inclusions -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/HeaderAnalysis.cpp.o -MF lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/HeaderAnalysis.cpp.o.d -o lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/HeaderAnalysis.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Inclusions/HeaderAnalysis.cpp [947/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Inclusions -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Inclusions -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/IncludeStyle.cpp.o -MF lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/IncludeStyle.cpp.o.d -o lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/IncludeStyle.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Inclusions/IncludeStyle.cpp [948/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Inclusions -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Inclusions -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/HeaderIncludes.cpp.o -MF lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/HeaderIncludes.cpp.o.d -o lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/HeaderIncludes.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Inclusions/HeaderIncludes.cpp [949/2015] : && /usr/bin/cmake -E rm -f lib64/libclangToolingInclusions.a && /usr/bin/ar Dqc lib64/libclangToolingInclusions.a lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/HeaderAnalysis.cpp.o lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/HeaderIncludes.cpp.o lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/IncludeStyle.cpp.o && /usr/bin/ranlib -D lib64/libclangToolingInclusions.a && : [950/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/FrontendActions.cpp.o -MF lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/FrontendActions.cpp.o.d -o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/FrontendActions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite/FrontendActions.cpp [951/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/ASTSelectionRequirements.cpp.o -MF lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/ASTSelectionRequirements.cpp.o.d -o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/ASTSelectionRequirements.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring/ASTSelectionRequirements.cpp [952/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/FrontendTool -I/builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/FrontendTool/CMakeFiles/obj.clangFrontendTool.dir/ExecuteCompilerInvocation.cpp.o -MF lib/FrontendTool/CMakeFiles/obj.clangFrontendTool.dir/ExecuteCompilerInvocation.cpp.o.d -o lib/FrontendTool/CMakeFiles/obj.clangFrontendTool.dir/ExecuteCompilerInvocation.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp [953/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/InterfaceStubFunctionsConsumer.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/InterfaceStubFunctionsConsumer.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/InterfaceStubFunctionsConsumer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/InterfaceStubFunctionsConsumer.cpp [954/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteObjC.cpp.o -MF lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteObjC.cpp.o.d -o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteObjC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite/RewriteObjC.cpp [955/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Extract/SourceExtraction.cpp.o -MF lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Extract/SourceExtraction.cpp.o.d -o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Extract/SourceExtraction.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring/Extract/SourceExtraction.cpp [956/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteModernObjC.cpp.o -MF lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteModernObjC.cpp.o.d -o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteModernObjC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite/RewriteModernObjC.cpp [957/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/AtomicChange.cpp.o -MF lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/AtomicChange.cpp.o.d -o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/AtomicChange.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring/AtomicChange.cpp [958/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Extract/Extract.cpp.o -MF lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Extract/Extract.cpp.o.d -o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Extract/Extract.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring/Extract/Extract.cpp [959/2015] : && /usr/bin/cmake -E rm -f lib64/libclangFrontend.a && /usr/bin/ar Dqc lib64/libclangFrontend.a lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTConsumers.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTMerge.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTUnit.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ChainedDiagnosticConsumer.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ChainedIncludesSource.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CompilerInstance.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CompilerInvocation.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CreateInvocationFromCommandLine.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DependencyFile.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DependencyGraph.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DiagnosticRenderer.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendAction.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendActions.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendOptions.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/HeaderIncludeGen.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/InitPreprocessor.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/LayoutOverrideSource.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/LogDiagnosticPrinter.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ModuleDependencyCollector.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/MultiplexConsumer.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/PrecompiledPreamble.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/PrintPreprocessedOutput.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SARIFDiagnostic.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SARIFDiagnosticPrinter.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SerializedDiagnosticPrinter.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SerializedDiagnosticReader.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TestModuleFileExtension.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnostic.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnosticBuffer.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnosticPrinter.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/VerifyDiagnosticConsumer.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/InterfaceStubFunctionsConsumer.cpp.o && /usr/bin/ranlib -D lib64/libclangFrontend.a && : [960/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/SymbolOccurrences.cpp.o -MF lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/SymbolOccurrences.cpp.o.d -o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/SymbolOccurrences.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring/Rename/SymbolOccurrences.cpp [961/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Lookup.cpp.o -MF lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Lookup.cpp.o.d -o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Lookup.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring/Lookup.cpp [962/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/ASTSelection.cpp.o -MF lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/ASTSelection.cpp.o.d -o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/ASTSelection.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring/ASTSelection.cpp [963/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/RefactoringActions.cpp.o -MF lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/RefactoringActions.cpp.o.d -o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/RefactoringActions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring/RefactoringActions.cpp [964/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/RenamingAction.cpp.o -MF lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/RenamingAction.cpp.o.d -o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/RenamingAction.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring/Rename/RenamingAction.cpp [965/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRFindingAction.cpp.o -MF lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRFindingAction.cpp.o.d -o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRFindingAction.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring/Rename/USRFindingAction.cpp [966/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRFinder.cpp.o -MF lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRFinder.cpp.o.d -o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRFinder.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring/Rename/USRFinder.cpp [967/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/ASTDiff -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/ASTDiff/CMakeFiles/obj.clangToolingASTDiff.dir/ASTDiff.cpp.o -MF lib/Tooling/ASTDiff/CMakeFiles/obj.clangToolingASTDiff.dir/ASTDiff.cpp.o.d -o lib/Tooling/ASTDiff/CMakeFiles/obj.clangToolingASTDiff.dir/ASTDiff.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff/ASTDiff.cpp [968/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/DumpTool -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DumpTool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/DumpTool/CMakeFiles/clang-ast-dump.dir/ASTSrcLocProcessor.cpp.o -MF lib/Tooling/DumpTool/CMakeFiles/clang-ast-dump.dir/ASTSrcLocProcessor.cpp.o.d -o lib/Tooling/DumpTool/CMakeFiles/clang-ast-dump.dir/ASTSrcLocProcessor.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DumpTool/ASTSrcLocProcessor.cpp [969/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Nodes.cpp.o -MF lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Nodes.cpp.o.d -o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Nodes.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax/Nodes.cpp [970/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/ComputeReplacements.cpp.o -MF lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/ComputeReplacements.cpp.o.d -o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/ComputeReplacements.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax/ComputeReplacements.cpp [971/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRLocFinder.cpp.o -MF lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRLocFinder.cpp.o.d -o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRLocFinder.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring/Rename/USRLocFinder.cpp [972/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/TokenBufferTokenManager.cpp.o -MF lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/TokenBufferTokenManager.cpp.o.d -o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/TokenBufferTokenManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax/TokenBufferTokenManager.cpp [973/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Mutations.cpp.o -MF lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Mutations.cpp.o.d -o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Mutations.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax/Mutations.cpp [974/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/DumpTool -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DumpTool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/DumpTool/CMakeFiles/clang-ast-dump.dir/ClangSrcLocDump.cpp.o -MF lib/Tooling/DumpTool/CMakeFiles/clang-ast-dump.dir/ClangSrcLocDump.cpp.o.d -o lib/Tooling/DumpTool/CMakeFiles/clang-ast-dump.dir/ClangSrcLocDump.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DumpTool/ClangSrcLocDump.cpp [975/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Synthesis.cpp.o -MF lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Synthesis.cpp.o.d -o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Synthesis.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax/Synthesis.cpp [976/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Tree.cpp.o -MF lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Tree.cpp.o.d -o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Tree.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax/Tree.cpp [977/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/DependencyScanning -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DependencyScanning -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningService.cpp.o -MF lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningService.cpp.o.d -o lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningService.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DependencyScanning/DependencyScanningService.cpp [978/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Inclusions/Stdlib -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Inclusions/Stdlib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Inclusions/Stdlib/CMakeFiles/obj.clangToolingInclusionsStdlib.dir/StandardLibrary.cpp.o -MF lib/Tooling/Inclusions/Stdlib/CMakeFiles/obj.clangToolingInclusionsStdlib.dir/StandardLibrary.cpp.o.d -o lib/Tooling/Inclusions/Stdlib/CMakeFiles/obj.clangToolingInclusionsStdlib.dir/StandardLibrary.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Inclusions/Stdlib/StandardLibrary.cpp [979/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/DependencyScanning -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DependencyScanning -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningFilesystem.cpp.o -MF lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningFilesystem.cpp.o.d -o lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningFilesystem.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DependencyScanning/DependencyScanningFilesystem.cpp [980/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Tokens.cpp.o -MF lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Tokens.cpp.o.d -o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Tokens.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax/Tokens.cpp [981/2015] : && /usr/bin/cmake -E rm -f lib64/libclangCodeGen.a && /usr/bin/ar Dqc lib64/libclangCodeGen.a lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ABIInfo.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ABIInfoImpl.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/BackendUtil.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGAtomic.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBlocks.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBuiltin.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCUDANV.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCUDARuntime.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCXX.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCXXABI.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCall.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGClass.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCleanup.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCoroutine.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDebugInfo.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDecl.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDeclCXX.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGException.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExpr.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprAgg.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprCXX.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprComplex.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprConstant.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprScalar.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGGPUBuiltin.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGHLSLRuntime.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGLoopInfo.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGNonTrivialStruct.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjC.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCGNU.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCMac.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCRuntime.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenCLRuntime.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenMPRuntime.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenMPRuntimeGPU.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGRecordLayoutBuilder.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGStmt.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGStmtOpenMP.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGVTT.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGVTables.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenABITypes.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenAction.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenFunction.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenModule.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenPGO.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenTBAA.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenTypes.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ConstantInitBuilder.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CoverageMappingGen.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ItaniumCXXABI.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/MacroPPCallbacks.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/MicrosoftCXXABI.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ModuleBuilder.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ObjectFilePCHContainerOperations.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/PatternInit.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/SanitizerMetadata.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/SwiftCallingConv.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/TargetInfo.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AArch64.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AMDGPU.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/ARC.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/ARM.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AVR.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/BPF.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/CSKY.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Hexagon.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Lanai.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/LoongArch.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/M68k.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/MSP430.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Mips.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/NVPTX.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/PNaCl.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/PPC.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/RISCV.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/SPIR.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Sparc.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/SystemZ.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/TCE.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/VE.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/WebAssembly.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/X86.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/XCore.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/VarBypassDetector.cpp.o && /usr/bin/ranlib -D lib64/libclangCodeGen.a && : [982/2015] : && /usr/bin/cmake -E rm -f lib64/libclangARCMigrate.a && /usr/bin/ar Dqc lib64/libclangARCMigrate.a lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ARCMT.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ARCMTActions.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/FileRemapper.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ObjCMT.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/PlistReporter.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransAPIUses.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransARCAssign.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransAutoreleasePool.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransBlockObjCVariable.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransEmptyStatementsAndDealloc.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransGCAttrs.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransGCCalls.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransProperties.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransProtectedScope.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransRetainReleaseDealloc.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransUnbridgedCasts.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransUnusedInitDelegate.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransZeroOutPropsInDealloc.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransformActions.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/Transforms.cpp.o && /usr/bin/ranlib -D lib64/libclangARCMigrate.a && : [983/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/BuildTree.cpp.o -MF lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/BuildTree.cpp.o.d -o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/BuildTree.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax/BuildTree.cpp [984/2015] : && /usr/bin/cmake -E rm -f lib64/libclangRewriteFrontend.a && /usr/bin/ar Dqc lib64/libclangRewriteFrontend.a lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/FixItRewriter.cpp.o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/FrontendActions.cpp.o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/HTMLPrint.cpp.o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/InclusionRewriter.cpp.o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteMacros.cpp.o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteModernObjC.cpp.o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteObjC.cpp.o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteTest.cpp.o && /usr/bin/ranlib -D lib64/libclangRewriteFrontend.a && : [985/2015] : && /usr/bin/cmake -E rm -f lib64/libclangToolingInclusionsStdlib.a && /usr/bin/ar Dqc lib64/libclangToolingInclusionsStdlib.a lib/Tooling/Inclusions/Stdlib/CMakeFiles/obj.clangToolingInclusionsStdlib.dir/StandardLibrary.cpp.o && /usr/bin/ranlib -D lib64/libclangToolingInclusionsStdlib.a && : [986/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/DependencyScanning -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DependencyScanning -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningTool.cpp.o -MF lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningTool.cpp.o.d -o lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningTool.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DependencyScanning/DependencyScanningTool.cpp [987/2015] : && /usr/bin/cmake -E rm -f lib64/libclangToolingASTDiff.a && /usr/bin/ar Dqc lib64/libclangToolingASTDiff.a lib/Tooling/ASTDiff/CMakeFiles/obj.clangToolingASTDiff.dir/ASTDiff.cpp.o && /usr/bin/ranlib -D lib64/libclangToolingASTDiff.a && : [988/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Parsing.cpp.o -MF lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Parsing.cpp.o.d -o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Parsing.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer/Parsing.cpp [989/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/RangeSelector.cpp.o -MF lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/RangeSelector.cpp.o.d -o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/RangeSelector.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer/RangeSelector.cpp [990/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/DependencyScanning -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DependencyScanning -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningWorker.cpp.o -MF lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningWorker.cpp.o.d -o lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningWorker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp [991/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/DependencyScanning -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DependencyScanning -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/ModuleDepCollector.cpp.o -MF lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/ModuleDepCollector.cpp.o.d -o lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/ModuleDepCollector.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp [992/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/DirectoryWatcher -I/builddir/build/BUILD/clang-17.0.6.src/lib/DirectoryWatcher -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/DirectoryWatcher/CMakeFiles/obj.clangDirectoryWatcher.dir/DirectoryScanner.cpp.o -MF lib/DirectoryWatcher/CMakeFiles/obj.clangDirectoryWatcher.dir/DirectoryScanner.cpp.o.d -o lib/DirectoryWatcher/CMakeFiles/obj.clangDirectoryWatcher.dir/DirectoryScanner.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/DirectoryWatcher/DirectoryScanner.cpp [993/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/SourceCode.cpp.o -MF lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/SourceCode.cpp.o.d -o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/SourceCode.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer/SourceCode.cpp [994/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/DirectoryWatcher -I/builddir/build/BUILD/clang-17.0.6.src/lib/DirectoryWatcher -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/DirectoryWatcher/CMakeFiles/obj.clangDirectoryWatcher.dir/linux/DirectoryWatcher-linux.cpp.o -MF lib/DirectoryWatcher/CMakeFiles/obj.clangDirectoryWatcher.dir/linux/DirectoryWatcher-linux.cpp.o.d -o lib/DirectoryWatcher/CMakeFiles/obj.clangDirectoryWatcher.dir/linux/DirectoryWatcher-linux.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/DirectoryWatcher/linux/DirectoryWatcher-linux.cpp [995/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/RewriteRule.cpp.o -MF lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/RewriteRule.cpp.o.d -o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/RewriteRule.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer/RewriteRule.cpp [996/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Index/CMakeFiles/obj.clangIndex.dir/FileIndexRecord.cpp.o -MF lib/Index/CMakeFiles/obj.clangIndex.dir/FileIndexRecord.cpp.o.d -o lib/Index/CMakeFiles/obj.clangIndex.dir/FileIndexRecord.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Index/FileIndexRecord.cpp [997/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Index/CMakeFiles/obj.clangIndex.dir/CommentToXML.cpp.o -MF lib/Index/CMakeFiles/obj.clangIndex.dir/CommentToXML.cpp.o.d -o lib/Index/CMakeFiles/obj.clangIndex.dir/CommentToXML.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Index/CommentToXML.cpp [998/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/SourceCodeBuilders.cpp.o -MF lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/SourceCodeBuilders.cpp.o.d -o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/SourceCodeBuilders.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer/SourceCodeBuilders.cpp [999/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Index/CMakeFiles/obj.clangIndex.dir/IndexDecl.cpp.o -MF lib/Index/CMakeFiles/obj.clangIndex.dir/IndexDecl.cpp.o.d -o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexDecl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Index/IndexDecl.cpp [1000/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Index/CMakeFiles/obj.clangIndex.dir/IndexSymbol.cpp.o -MF lib/Index/CMakeFiles/obj.clangIndex.dir/IndexSymbol.cpp.o.d -o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexSymbol.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Index/IndexSymbol.cpp [1001/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Transformer.cpp.o -MF lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Transformer.cpp.o.d -o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Transformer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer/Transformer.cpp [1002/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Stencil.cpp.o -MF lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Stencil.cpp.o.d -o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Stencil.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer/Stencil.cpp [1003/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/APSIntType.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/APSIntType.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/APSIntType.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/APSIntType.cpp [1004/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Index/CMakeFiles/obj.clangIndex.dir/IndexingContext.cpp.o -MF lib/Index/CMakeFiles/obj.clangIndex.dir/IndexingContext.cpp.o.d -o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexingContext.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Index/IndexingContext.cpp [1005/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/IndexSerialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/IndexSerialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/IndexSerialization/CMakeFiles/obj.clangIndexSerialization.dir/SerializablePathCollection.cpp.o -MF lib/IndexSerialization/CMakeFiles/obj.clangIndexSerialization.dir/SerializablePathCollection.cpp.o.d -o lib/IndexSerialization/CMakeFiles/obj.clangIndexSerialization.dir/SerializablePathCollection.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/IndexSerialization/SerializablePathCollection.cpp [1006/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Index/CMakeFiles/obj.clangIndex.dir/IndexBody.cpp.o -MF lib/Index/CMakeFiles/obj.clangIndex.dir/IndexBody.cpp.o.d -o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexBody.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Index/IndexBody.cpp [1007/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Index/CMakeFiles/obj.clangIndex.dir/IndexingAction.cpp.o -MF lib/Index/CMakeFiles/obj.clangIndex.dir/IndexingAction.cpp.o.d -o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexingAction.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Index/IndexingAction.cpp [1008/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BlockCounter.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BlockCounter.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BlockCounter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/BlockCounter.cpp [1009/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/AnalyzerOptions.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/AnalyzerOptions.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/AnalyzerOptions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp [1010/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BasicValueFactory.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BasicValueFactory.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BasicValueFactory.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/BasicValueFactory.cpp [1011/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Index/CMakeFiles/obj.clangIndex.dir/USRGeneration.cpp.o -MF lib/Index/CMakeFiles/obj.clangIndex.dir/USRGeneration.cpp.o.d -o lib/Index/CMakeFiles/obj.clangIndex.dir/USRGeneration.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Index/USRGeneration.cpp [1012/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/AnalysisManager.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/AnalysisManager.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/AnalysisManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/AnalysisManager.cpp [1013/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Index/CMakeFiles/obj.clangIndex.dir/IndexTypeSourceInfo.cpp.o -MF lib/Index/CMakeFiles/obj.clangIndex.dir/IndexTypeSourceInfo.cpp.o.d -o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexTypeSourceInfo.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Index/IndexTypeSourceInfo.cpp [1014/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Checker.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Checker.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Checker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Checker.cpp [1015/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CallDescription.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CallDescription.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CallDescription.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallDescription.cpp [1016/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerHelpers.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerHelpers.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerHelpers.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerHelpers.cpp [1017/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CommonBugCategories.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CommonBugCategories.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CommonBugCategories.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CommonBugCategories.cpp [1018/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerContext.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerContext.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerContext.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerContext.cpp [1019/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CallEvent.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CallEvent.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CallEvent.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp [1020/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerRegistryData.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerRegistryData.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerRegistryData.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerRegistryData.cpp [1021/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BugReporter.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BugReporter.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BugReporter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/BugReporter.cpp [1022/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ConstraintManager.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ConstraintManager.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ConstraintManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp [1023/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerManager.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerManager.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp [1024/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/DynamicExtent.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/DynamicExtent.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/DynamicExtent.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicExtent.cpp [1025/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CoreEngine.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CoreEngine.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CoreEngine.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp [1026/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Environment.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Environment.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Environment.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Environment.cpp [1027/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/DynamicType.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/DynamicType.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/DynamicType.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp [1028/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BugReporterVisitors.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BugReporterVisitors.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BugReporterVisitors.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp In file included from /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/DiagnosticIDs.h:18, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.h:17, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/NestedNameSpecifier.h:18, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/Type.h:21, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/DeclarationName.h:16, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/DeclBase.h:18, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/Analysis/AnalysisDeclContext.h:20, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/Analysis/ProgramPoint.h:17, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h:17, from /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:14: In member function 'llvm::RefCountedBase::Release() const', inlined from 'llvm::IntrusiveRefCntPtrInfo::release(clang::ento::bugreporter::Tracker*)' at /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:159:45, inlined from 'llvm::IntrusiveRefCntPtr::release()' at /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41, inlined from 'llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr()' at /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34, inlined from 'std::make_unique<(anonymous namespace)::StoreSiteFinder, clang::ento::bugreporter::Tracker*, clang::ento::KnownSVal&, clang::ento::MemRegion const*&, clang::ento::bugreporter::TrackingOptions&, clang::StackFrameContext const*&>(clang::ento::bugreporter::Tracker*&&, clang::ento::KnownSVal&, clang::ento::MemRegion const*&, clang::ento::bugreporter::TrackingOptions&, clang::StackFrameContext const*&)std::__detail::_MakeUniq<(anonymous namespace)::StoreSiteFinder>::__single_object' at /usr/include/c++/12/bits/unique_ptr.h:1065:30, inlined from 'clang::ento::PathSensitiveBugReport::addVisitor<(anonymous namespace)::StoreSiteFinder, clang::ento::bugreporter::Tracker*, clang::ento::KnownSVal&, clang::ento::MemRegion const*&, clang::ento::bugreporter::TrackingOptions&, clang::StackFrameContext const*&>(clang::ento::bugreporter::Tracker*&&, clang::ento::KnownSVal&, clang::ento::MemRegion const*&, clang::ento::bugreporter::TrackingOptions&, clang::StackFrameContext const*&)void' at /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:499:15, inlined from 'clang::ento::bugreporter::Tracker::track(clang::ento::SVal, clang::ento::MemRegion const*, clang::ento::bugreporter::TrackingOptions, clang::StackFrameContext const*)' at /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:2642:39: /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:100:11: warning: pointer used after 'operator delete(void*, unsigned long)' [-Wuse-after-free] 100 | if (--RefCount == 0) | ^~~~~~~~ In member function 'clang::ento::bugreporter::Tracker::~Tracker()', inlined from 'llvm::RefCountedBase::Release() const' at /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:101:7, inlined from 'llvm::RefCountedBase::Release() const' at /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:98:8, inlined from 'llvm::IntrusiveRefCntPtrInfo::release(clang::ento::bugreporter::Tracker*)' at /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:159:45, inlined from 'llvm::IntrusiveRefCntPtr::release()' at /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41, inlined from 'llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr()' at /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34, inlined from '__ct ' at /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:1219:28, inlined from 'std::make_unique<(anonymous namespace)::StoreSiteFinder, clang::ento::bugreporter::Tracker*, clang::ento::KnownSVal&, clang::ento::MemRegion const*&, clang::ento::bugreporter::TrackingOptions&, clang::StackFrameContext const*&>(clang::ento::bugreporter::Tracker*&&, clang::ento::KnownSVal&, clang::ento::MemRegion const*&, clang::ento::bugreporter::TrackingOptions&, clang::StackFrameContext const*&)std::__detail::_MakeUniq<(anonymous namespace)::StoreSiteFinder>::__single_object' at /usr/include/c++/12/bits/unique_ptr.h:1065:30, inlined from 'clang::ento::PathSensitiveBugReport::addVisitor<(anonymous namespace)::StoreSiteFinder, clang::ento::bugreporter::Tracker*, clang::ento::KnownSVal&, clang::ento::MemRegion const*&, clang::ento::bugreporter::TrackingOptions&, clang::StackFrameContext const*&>(clang::ento::bugreporter::Tracker*&&, clang::ento::KnownSVal&, clang::ento::MemRegion const*&, clang::ento::bugreporter::TrackingOptions&, clang::StackFrameContext const*&)void' at /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:499:15, inlined from 'clang::ento::bugreporter::Tracker::track(clang::ento::SVal, clang::ento::MemRegion const*, clang::ento::bugreporter::TrackingOptions, clang::StackFrameContext const*)' at /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:2642:39: /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h:187:11: note: call to 'operator delete(void*, unsigned long)' here 187 | virtual ~Tracker() = default; | ^ [1029/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExplodedGraph.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExplodedGraph.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExplodedGraph.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExplodedGraph.cpp [1030/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/FunctionSummary.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/FunctionSummary.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/FunctionSummary.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/FunctionSummary.cpp [1031/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineC.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineC.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp [1032/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineCXX.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineCXX.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineCXX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp [1033/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineObjC.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineObjC.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineObjC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp [1034/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineCallAndReturn.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineCallAndReturn.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineCallAndReturn.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp [1035/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/HTMLDiagnostics.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/HTMLDiagnostics.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/HTMLDiagnostics.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp [1036/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngine.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngine.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngine.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp [1037/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/MemRegion.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/MemRegion.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/MemRegion.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/MemRegion.cpp [1038/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RangedConstraintManager.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RangedConstraintManager.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RangedConstraintManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp [1039/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/PlistDiagnostics.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/PlistDiagnostics.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/PlistDiagnostics.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp [1040/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/LoopUnrolling.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/LoopUnrolling.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/LoopUnrolling.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/LoopUnrolling.cpp [1041/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/LoopWidening.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/LoopWidening.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/LoopWidening.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/LoopWidening.cpp [1042/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ProgramState.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ProgramState.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ProgramState.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp [1043/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RangeConstraintManager.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RangeConstraintManager.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RangeConstraintManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp [1044/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SimpleConstraintManager.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SimpleConstraintManager.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SimpleConstraintManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp [1045/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SarifDiagnostics.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SarifDiagnostics.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SarifDiagnostics.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp [1046/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SMTConstraintManager.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SMTConstraintManager.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SMTConstraintManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SMTConstraintManager.cpp [1047/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Store.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Store.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Store.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp [1048/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SimpleSValBuilder.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SimpleSValBuilder.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SimpleSValBuilder.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp [1049/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SVals.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SVals.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SVals.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SVals.cpp [1050/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SymbolManager.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SymbolManager.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SymbolManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SymbolManager.cpp [1051/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SValBuilder.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SValBuilder.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SValBuilder.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SValBuilder.cpp [1052/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/WorkList.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/WorkList.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/WorkList.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/WorkList.cpp [1053/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RegionStore.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RegionStore.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RegionStore.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp [1054/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/TextDiagnostics.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/TextDiagnostics.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/TextDiagnostics.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/TextDiagnostics.cpp [1055/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/AnalysisOrderChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/AnalysisOrderChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/AnalysisOrderChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/AnalysisOrderChecker.cpp [1056/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ArrayBoundChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ArrayBoundChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ArrayBoundChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ArrayBoundChecker.cpp [1057/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/AnalyzerStatsChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/AnalyzerStatsChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/AnalyzerStatsChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/AnalyzerStatsChecker.cpp [1058/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ArrayBoundCheckerV2.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ArrayBoundCheckerV2.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ArrayBoundCheckerV2.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ArrayBoundCheckerV2.cpp [1059/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BlockInCriticalSectionChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BlockInCriticalSectionChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BlockInCriticalSectionChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/BlockInCriticalSectionChecker.cpp [1060/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BoolAssignmentChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BoolAssignmentChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BoolAssignmentChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/BoolAssignmentChecker.cpp [1061/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BasicObjCFoundationChecks.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BasicObjCFoundationChecks.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BasicObjCFoundationChecks.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp [1062/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BuiltinFunctionChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BuiltinFunctionChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BuiltinFunctionChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/BuiltinFunctionChecker.cpp [1063/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CStringSyntaxChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CStringSyntaxChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CStringSyntaxChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringSyntaxChecker.cpp [1064/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CallAndMessageChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CallAndMessageChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CallAndMessageChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp [1065/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CStringChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CStringChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CStringChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp [1066/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CastSizeChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CastSizeChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CastSizeChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CastSizeChecker.cpp [1067/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CastValueChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CastValueChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CastValueChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp [1068/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckObjCDealloc.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckObjCDealloc.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckObjCDealloc.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp [1069/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckObjCInstMethSignature.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckObjCInstMethSignature.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckObjCInstMethSignature.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CheckObjCInstMethSignature.cpp [1070/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckPlacementNew.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckPlacementNew.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckPlacementNew.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CheckPlacementNew.cpp [1071/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CastToStructChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CastToStructChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CastToStructChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CastToStructChecker.cpp [1072/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckSizeofPointer.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckSizeofPointer.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckSizeofPointer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CheckSizeofPointer.cpp [1073/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckSecuritySyntaxOnly.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckSecuritySyntaxOnly.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckSecuritySyntaxOnly.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp [1074/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckerDocumentation.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckerDocumentation.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckerDocumentation.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CheckerDocumentation.cpp [1075/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ChrootChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ChrootChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ChrootChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ChrootChecker.cpp [1076/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CloneChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CloneChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CloneChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CloneChecker.cpp [1077/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ConversionChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ConversionChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ConversionChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ConversionChecker.cpp [1078/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CXXSelfAssignmentChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CXXSelfAssignmentChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CXXSelfAssignmentChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CXXSelfAssignmentChecker.cpp [1079/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ContainerModeling.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ContainerModeling.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ContainerModeling.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp [1080/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DebugContainerModeling.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DebugContainerModeling.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DebugContainerModeling.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DebugContainerModeling.cpp [1081/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DebugIteratorModeling.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DebugIteratorModeling.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DebugIteratorModeling.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DebugIteratorModeling.cpp [1082/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DeleteWithNonVirtualDtorChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DeleteWithNonVirtualDtorChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DeleteWithNonVirtualDtorChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DeleteWithNonVirtualDtorChecker.cpp [1083/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DereferenceChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DereferenceChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DereferenceChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp [1084/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DeadStoresChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DeadStoresChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DeadStoresChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp [1085/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DebugCheckers.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DebugCheckers.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DebugCheckers.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DebugCheckers.cpp [1086/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections lib/Tooling/DumpTool/CMakeFiles/clang-ast-dump.dir/ASTSrcLocProcessor.cpp.o lib/Tooling/DumpTool/CMakeFiles/clang-ast-dump.dir/ClangSrcLocDump.cpp.o -o bin/clang-ast-dump lib64/libclangAST.a lib64/libclangASTMatchers.a lib64/libclangBasic.a lib64/libclangDriver.a lib64/libclangFrontend.a lib64/libclangSerialization.a lib64/libclangToolingCore.a lib64/libclangDriver.a lib64/libclangParse.a lib64/libclangSema.a lib64/libclangEdit.a lib64/libclangAnalysis.a lib64/libclangASTMatchers.a lib64/libclangAST.a lib64/libclangSupport.a lib64/libclangRewrite.a lib64/libclangLex.a lib64/libclangBasic.a /usr/lib64/libLLVM-17.so && : /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobal.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobalTemp.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp: In function 'getFunction.isra': /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp:286: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 286 | I.Fun.DeclsInPrototype = new NamedDecl *[DeclsInPrototype.size()]; | /usr/include/c++/12/new:128: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APInt.h:168:3, inlined from '__dt_base ' at /usr/include/llvm/ADT/APSInt.h:23:0, inlined from 'checkOMPArraySectionConstantForReduction' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19108:0, inlined from 'actOnOMPReductionKindClause.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19485:0: /usr/include/llvm/ADT/APInt.h:170: warning: 'operator delete []' called on a pointer to an unallocated object '1B' [-Wfree-nonheap-object] 170 | delete[] U.pVal; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APInt.h:168:3, inlined from '__dt_base ' at /usr/include/llvm/ADT/APSInt.h:23:0, inlined from 'checkOMPArraySectionConstantForReduction' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19127:0, inlined from 'actOnOMPReductionKindClause.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19485:0: /usr/include/llvm/ADT/APInt.h:170: warning: 'operator delete []' called on a pointer to an unallocated object '1B' [-Wfree-nonheap-object] 170 | delete[] U.pVal; | In function 'InitGlobal', inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:31, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:30, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:31, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:31, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | [1087/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DirectIvarAssignment.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DirectIvarAssignment.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DirectIvarAssignment.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DirectIvarAssignment.cpp [1088/2015] : && /usr/bin/cmake -E rm -f lib64/libclangToolingSyntax.a && /usr/bin/ar Dqc lib64/libclangToolingSyntax.a lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/BuildTree.cpp.o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/ComputeReplacements.cpp.o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Nodes.cpp.o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Mutations.cpp.o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/TokenBufferTokenManager.cpp.o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Synthesis.cpp.o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Tokens.cpp.o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Tree.cpp.o && /usr/bin/ranlib -D lib64/libclangToolingSyntax.a && : [1089/2015] : && /usr/bin/cmake -E rm -f lib64/libclangDirectoryWatcher.a && /usr/bin/ar Dqc lib64/libclangDirectoryWatcher.a lib/DirectoryWatcher/CMakeFiles/obj.clangDirectoryWatcher.dir/DirectoryScanner.cpp.o lib/DirectoryWatcher/CMakeFiles/obj.clangDirectoryWatcher.dir/linux/DirectoryWatcher-linux.cpp.o && /usr/bin/ranlib -D lib64/libclangDirectoryWatcher.a && : [1090/2015] : && /usr/bin/cmake -E rm -f lib64/libclangIndexSerialization.a && /usr/bin/ar Dqc lib64/libclangIndexSerialization.a lib/IndexSerialization/CMakeFiles/obj.clangIndexSerialization.dir/SerializablePathCollection.cpp.o && /usr/bin/ranlib -D lib64/libclangIndexSerialization.a && : [1091/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-ast-dump --skip-processing=0 -I /usr/lib64/clang/17/include -I /builddir/build/BUILD/clang-17.0.6.src/include -I /usr/tools/clang/include -I /usr/include -I /include -I /usr/include/c++/12 -I /usr/include/c++/12/aarch64-OpenCloudOS-linux -I /usr/include/c++/12/backward -I /usr/lib/gcc/aarch64-OpenCloudOS-linux/12/include -I /usr/local/include -I /usr/include --json-output-path /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/ASTNodeAPI.json [1092/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling && /usr/bin/python3.11 /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DumpTool/generate_cxx_src_locs.py --json-input-path /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/ASTNodeAPI.json --output-file NodeIntrospection.inc --use-empty-implementation 0 --empty-implementation /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/EmptyNodeIntrospection.inc.in && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/NodeIntrospection.inc /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include/clang/Tooling/NodeIntrospection.inc [1093/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DivZeroChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DivZeroChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DivZeroChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp [1094/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DynamicTypeChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DynamicTypeChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DynamicTypeChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DynamicTypeChecker.cpp [1095/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/EnumCastOutOfRangeChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/EnumCastOutOfRangeChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/EnumCastOutOfRangeChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/EnumCastOutOfRangeChecker.cpp [1096/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ErrnoChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ErrnoChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ErrnoChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoChecker.cpp [1097/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/ArgumentsAdjusters.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/ArgumentsAdjusters.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/ArgumentsAdjusters.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ArgumentsAdjusters.cpp [1098/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ErrnoModeling.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ErrnoModeling.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ErrnoModeling.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp [1099/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ErrnoTesterChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ErrnoTesterChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ErrnoTesterChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoTesterChecker.cpp [1100/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/plugins/SampleAnalyzer -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/plugins/SampleAnalyzer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT lib/Analysis/plugins/SampleAnalyzer/CMakeFiles/SampleAnalyzerPlugin.dir/MainCallChecker.cpp.o -MF lib/Analysis/plugins/SampleAnalyzer/CMakeFiles/SampleAnalyzerPlugin.dir/MainCallChecker.cpp.o.d -o lib/Analysis/plugins/SampleAnalyzer/CMakeFiles/SampleAnalyzerPlugin.dir/MainCallChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/plugins/SampleAnalyzer/MainCallChecker.cpp [1101/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/plugins/CheckerDependencyHandling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/plugins/CheckerDependencyHandling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT lib/Analysis/plugins/CheckerDependencyHandling/CMakeFiles/CheckerDependencyHandlingAnalyzerPlugin.dir/CheckerDependencyHandling.cpp.o -MF lib/Analysis/plugins/CheckerDependencyHandling/CMakeFiles/CheckerDependencyHandlingAnalyzerPlugin.dir/CheckerDependencyHandling.cpp.o.d -o lib/Analysis/plugins/CheckerDependencyHandling/CMakeFiles/CheckerDependencyHandlingAnalyzerPlugin.dir/CheckerDependencyHandling.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/plugins/CheckerDependencyHandling/CheckerDependencyHandling.cpp [1102/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/FileMatchTrie.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/FileMatchTrie.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/FileMatchTrie.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/FileMatchTrie.cpp [1103/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DynamicTypePropagation.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DynamicTypePropagation.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DynamicTypePropagation.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp [1104/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/AllTUsExecution.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/AllTUsExecution.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/AllTUsExecution.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/AllTUsExecution.cpp [1105/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/plugins/CheckerOptionHandling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/plugins/CheckerOptionHandling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT lib/Analysis/plugins/CheckerOptionHandling/CMakeFiles/CheckerOptionHandlingAnalyzerPlugin.dir/CheckerOptionHandling.cpp.o -MF lib/Analysis/plugins/CheckerOptionHandling/CMakeFiles/CheckerOptionHandlingAnalyzerPlugin.dir/CheckerOptionHandling.cpp.o.d -o lib/Analysis/plugins/CheckerOptionHandling/CMakeFiles/CheckerOptionHandlingAnalyzerPlugin.dir/CheckerOptionHandling.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/plugins/CheckerOptionHandling/CheckerOptionHandling.cpp [1106/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/CommonOptionsParser.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/CommonOptionsParser.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/CommonOptionsParser.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/CommonOptionsParser.cpp [1107/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/FixIt.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/FixIt.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/FixIt.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/FixIt.cpp [1108/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/Execution.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/Execution.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/Execution.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Execution.cpp [1109/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/ExpandResponseFilesCompilationDatabase.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/ExpandResponseFilesCompilationDatabase.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/ExpandResponseFilesCompilationDatabase.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ExpandResponseFilesCompilationDatabase.cpp [1110/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/InterpolatingCompilationDatabase.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/InterpolatingCompilationDatabase.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/InterpolatingCompilationDatabase.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/InterpolatingCompilationDatabase.cpp [1111/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/GuessTargetAndModeCompilationDatabase.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/GuessTargetAndModeCompilationDatabase.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/GuessTargetAndModeCompilationDatabase.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/GuessTargetAndModeCompilationDatabase.cpp [1112/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/CompilationDatabase.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/CompilationDatabase.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/CompilationDatabase.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/CompilationDatabase.cpp [1113/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/JSONCompilationDatabase.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/JSONCompilationDatabase.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/JSONCompilationDatabase.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/JSONCompilationDatabase.cpp [1114/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/Refactoring.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/Refactoring.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/Refactoring.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring.cpp [1115/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/NodeIntrospection.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/NodeIntrospection.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/NodeIntrospection.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/NodeIntrospection.cpp [1116/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/StandaloneExecution.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/StandaloneExecution.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/StandaloneExecution.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/StandaloneExecution.cpp [1117/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/FixedAddressChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/FixedAddressChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/FixedAddressChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/FixedAddressChecker.cpp [1118/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/Tooling.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/Tooling.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/Tooling.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp [1119/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/RefactoringCallbacks.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/RefactoringCallbacks.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/RefactoringCallbacks.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/RefactoringCallbacks.cpp [1120/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ExprInspectionChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ExprInspectionChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ExprInspectionChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp [1121/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/GTestChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/GTestChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/GTestChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GTestChecker.cpp [1122/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/FuchsiaHandleChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/FuchsiaHandleChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/FuchsiaHandleChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/FuchsiaHandleChecker.cpp [1123/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/GenericTaintChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/GenericTaintChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/GenericTaintChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp [1124/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/GCDAntipatternChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/GCDAntipatternChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/GCDAntipatternChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GCDAntipatternChecker.cpp [1125/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/Iterator.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/Iterator.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/Iterator.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/Iterator.cpp [1126/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/InvalidatedIteratorChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/InvalidatedIteratorChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/InvalidatedIteratorChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/InvalidatedIteratorChecker.cpp [1127/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/InnerPointerChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/InnerPointerChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/InnerPointerChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/InnerPointerChecker.cpp [1128/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/cert/InvalidPtrChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/cert/InvalidPtrChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/cert/InvalidPtrChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/cert/InvalidPtrChecker.cpp [1129/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IteratorModeling.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IteratorModeling.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IteratorModeling.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/IteratorModeling.cpp [1130/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IdenticalExprChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IdenticalExprChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IdenticalExprChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/IdenticalExprChecker.cpp [1131/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IteratorRangeChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IteratorRangeChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IteratorRangeChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/IteratorRangeChecker.cpp [1132/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/LLVMConventionsChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/LLVMConventionsChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/LLVMConventionsChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/LLVMConventionsChecker.cpp [1133/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IvarInvalidationChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IvarInvalidationChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IvarInvalidationChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp [1134/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MacOSXAPIChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MacOSXAPIChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MacOSXAPIChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MacOSXAPIChecker.cpp [1135/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MacOSKeychainAPIChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MacOSKeychainAPIChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MacOSKeychainAPIChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp [1136/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MallocOverflowSecurityChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MallocOverflowSecurityChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MallocOverflowSecurityChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocOverflowSecurityChecker.cpp [1137/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MallocSizeofChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MallocSizeofChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MallocSizeofChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocSizeofChecker.cpp [1138/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MismatchedIteratorChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MismatchedIteratorChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MismatchedIteratorChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MismatchedIteratorChecker.cpp [1139/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MmapWriteExecChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MmapWriteExecChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MmapWriteExecChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MmapWriteExecChecker.cpp [1140/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MIGChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MIGChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MIGChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MIGChecker.cpp [1141/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MoveChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MoveChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MoveChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MoveChecker.cpp [1142/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/LocalizationChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/LocalizationChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/LocalizationChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp [1143/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MPI-Checker/MPIBugReporter.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MPI-Checker/MPIBugReporter.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MPI-Checker/MPIBugReporter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIBugReporter.cpp [1144/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MPI-Checker/MPIChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MPI-Checker/MPIChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MPI-Checker/MPIChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIChecker.cpp [1145/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MPI-Checker/MPIFunctionClassifier.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MPI-Checker/MPIFunctionClassifier.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MPI-Checker/MPIFunctionClassifier.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIFunctionClassifier.cpp [1146/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NSAutoreleasePoolChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NSAutoreleasePoolChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NSAutoreleasePoolChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/NSAutoreleasePoolChecker.cpp [1147/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MallocChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MallocChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MallocChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp [1148/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NoReturnFunctionChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NoReturnFunctionChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NoReturnFunctionChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/NoReturnFunctionChecker.cpp [1149/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NonNullParamChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NonNullParamChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NonNullParamChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/NonNullParamChecker.cpp [1150/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NonnullGlobalConstantsChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NonnullGlobalConstantsChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NonnullGlobalConstantsChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/NonnullGlobalConstantsChecker.cpp [1151/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NSErrorChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NSErrorChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NSErrorChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/NSErrorChecker.cpp [1152/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCAtSyncChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCAtSyncChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCAtSyncChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ObjCAtSyncChecker.cpp [1153/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NullabilityChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NullabilityChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NullabilityChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp [1154/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCPropertyChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCPropertyChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCPropertyChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ObjCPropertyChecker.cpp [1155/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCContainersASTChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCContainersASTChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCContainersASTChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ObjCContainersASTChecker.cpp [1156/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCContainersChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCContainersChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCContainersChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ObjCContainersChecker.cpp [1157/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCAutoreleaseWriteChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCAutoreleaseWriteChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCAutoreleaseWriteChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ObjCAutoreleaseWriteChecker.cpp [1158/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCSelfInitChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCSelfInitChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCSelfInitChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp [1159/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NumberObjectConversionChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NumberObjectConversionChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NumberObjectConversionChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/NumberObjectConversionChecker.cpp [1160/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCUnusedIVarsChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCUnusedIVarsChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCUnusedIVarsChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ObjCUnusedIVarsChecker.cpp [1161/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCMissingSuperCallChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCMissingSuperCallChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCMissingSuperCallChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ObjCMissingSuperCallChecker.cpp [1162/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCSuperDeallocChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCSuperDeallocChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCSuperDeallocChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ObjCSuperDeallocChecker.cpp [1163/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerArithChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerArithChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerArithChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PointerArithChecker.cpp [1164/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/OSObjectCStyleCast.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/OSObjectCStyleCast.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/OSObjectCStyleCast.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/OSObjectCStyleCast.cpp [1165/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerSubChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerSubChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerSubChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PointerSubChecker.cpp [1166/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/cert/PutenvWithAutoChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/cert/PutenvWithAutoChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/cert/PutenvWithAutoChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/cert/PutenvWithAutoChecker.cpp [1167/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PaddingChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PaddingChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PaddingChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PaddingChecker.cpp [1168/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PthreadLockChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PthreadLockChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PthreadLockChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp [1169/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerIterationChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerIterationChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerIterationChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PointerIterationChecker.cpp [1170/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerSortingChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerSortingChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerSortingChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PointerSortingChecker.cpp [1171/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ReturnPointerRangeChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ReturnPointerRangeChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ReturnPointerRangeChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ReturnPointerRangeChecker.cpp [1172/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/RetainCountChecker/RetainCountDiagnostics.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/RetainCountChecker/RetainCountDiagnostics.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/RetainCountChecker/RetainCountDiagnostics.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp [1173/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ReturnUndefChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ReturnUndefChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ReturnUndefChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ReturnUndefChecker.cpp [1174/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/RetainCountChecker/RetainCountChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/RetainCountChecker/RetainCountChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/RetainCountChecker/RetainCountChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp [1175/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ReturnValueChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ReturnValueChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ReturnValueChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ReturnValueChecker.cpp [1176/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/SmartPtrChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/SmartPtrChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/SmartPtrChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/SmartPtrChecker.cpp [1177/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/SimpleStreamChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/SimpleStreamChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/SimpleStreamChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/SimpleStreamChecker.cpp [1178/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/RunLoopAutoreleaseLeakChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/RunLoopAutoreleaseLeakChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/RunLoopAutoreleaseLeakChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/RunLoopAutoreleaseLeakChecker.cpp [1179/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StackAddrEscapeChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StackAddrEscapeChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StackAddrEscapeChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StackAddrEscapeChecker.cpp [1180/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/SmartPtrModeling.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/SmartPtrModeling.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/SmartPtrModeling.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/SmartPtrModeling.cpp [1181/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/STLAlgorithmModeling.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/STLAlgorithmModeling.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/STLAlgorithmModeling.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/STLAlgorithmModeling.cpp [1182/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StreamChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StreamChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StreamChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp [1183/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StringChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StringChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StringChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StringChecker.cpp [1184/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TaintTesterChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TaintTesterChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TaintTesterChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/TaintTesterChecker.cpp [1185/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/Taint.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/Taint.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/Taint.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/Taint.cpp [1186/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TestAfterDivZeroChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TestAfterDivZeroChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TestAfterDivZeroChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/TestAfterDivZeroChecker.cpp [1187/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TraversalChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TraversalChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TraversalChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/TraversalChecker.cpp [1188/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TrustNonnullChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TrustNonnullChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TrustNonnullChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/TrustNonnullChecker.cpp [1189/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TrustReturnsNonnullChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TrustReturnsNonnullChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TrustReturnsNonnullChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/TrustReturnsNonnullChecker.cpp [1190/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefBranchChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefBranchChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefBranchChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/UndefBranchChecker.cpp [1191/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefCapturedBlockVarChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefCapturedBlockVarChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefCapturedBlockVarChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/UndefCapturedBlockVarChecker.cpp [1192/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefResultChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefResultChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefResultChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/UndefResultChecker.cpp [1193/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefinedArraySubscriptChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefinedArraySubscriptChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefinedArraySubscriptChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/UndefinedArraySubscriptChecker.cpp [1194/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefinedAssignmentChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefinedAssignmentChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefinedAssignmentChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/UndefinedAssignmentChecker.cpp [1195/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefinedNewArraySizeChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefinedNewArraySizeChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefinedNewArraySizeChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/UndefinedNewArraySizeChecker.cpp [1196/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UninitializedObject/UninitializedPointee.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UninitializedObject/UninitializedPointee.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UninitializedObject/UninitializedPointee.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedPointee.cpp [1197/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StdLibraryFunctionsChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StdLibraryFunctionsChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StdLibraryFunctionsChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp [1198/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UnreachableCodeChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UnreachableCodeChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UnreachableCodeChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp [1199/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UnixAPIChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UnixAPIChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UnixAPIChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/UnixAPIChecker.cpp [1200/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/VforkChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/VforkChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/VforkChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/VforkChecker.cpp [1201/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/VLASizeChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/VLASizeChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/VLASizeChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp [1202/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/ASTUtils.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/ASTUtils.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/ASTUtils.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/WebKit/ASTUtils.cpp [1203/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UninitializedObject/UninitializedObjectChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UninitializedObject/UninitializedObjectChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UninitializedObject/UninitializedObjectChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp [1204/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/PtrTypesSemantics.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/PtrTypesSemantics.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/PtrTypesSemantics.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp [1205/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ValistChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ValistChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ValistChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ValistChecker.cpp [1206/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/VirtualCallChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/VirtualCallChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/VirtualCallChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/VirtualCallChecker.cpp [1207/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/NoUncountedMembersChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/NoUncountedMembersChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/NoUncountedMembersChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/WebKit/NoUncountedMembersChecker.cpp [1208/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend/../Checkers -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/CheckerRegistry.cpp.o -MF lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/CheckerRegistry.cpp.o.d -o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/CheckerRegistry.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/CheckerRegistry.cpp [1209/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend/../Checkers -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/AnalyzerHelpFlags.cpp.o -MF lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/AnalyzerHelpFlags.cpp.o.d -o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/AnalyzerHelpFlags.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalyzerHelpFlags.cpp [1210/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend/../Checkers -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/ModelConsumer.cpp.o -MF lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/ModelConsumer.cpp.o.d -o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/ModelConsumer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/ModelConsumer.cpp [1211/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend/../Checkers -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/CreateCheckerManager.cpp.o -MF lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/CreateCheckerManager.cpp.o.d -o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/CreateCheckerManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/CreateCheckerManager.cpp [1212/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/RefCntblBaseVirtualDtorChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/RefCntblBaseVirtualDtorChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/RefCntblBaseVirtualDtorChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/WebKit/RefCntblBaseVirtualDtorChecker.cpp [1213/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/UncountedCallArgsChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/UncountedCallArgsChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/UncountedCallArgsChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/WebKit/UncountedCallArgsChecker.cpp [1214/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/AffectedRangeManager.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/AffectedRangeManager.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/AffectedRangeManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/AffectedRangeManager.cpp [1215/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/UncountedLocalVarsChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/UncountedLocalVarsChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/UncountedLocalVarsChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/WebKit/UncountedLocalVarsChecker.cpp [1216/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/UncountedLambdaCapturesChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/UncountedLambdaCapturesChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/UncountedLambdaCapturesChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/WebKit/UncountedLambdaCapturesChecker.cpp [1217/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend/../Checkers -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/FrontendActions.cpp.o -MF lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/FrontendActions.cpp.o.d -o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/FrontendActions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/FrontendActions.cpp [1218/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/BreakableToken.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/BreakableToken.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/BreakableToken.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/BreakableToken.cpp [1219/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/FormatToken.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/FormatToken.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/FormatToken.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/FormatToken.cpp [1220/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/DefinitionBlockSeparator.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/DefinitionBlockSeparator.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/DefinitionBlockSeparator.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/DefinitionBlockSeparator.cpp [1221/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/IntegerLiteralSeparatorFixer.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/IntegerLiteralSeparatorFixer.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/IntegerLiteralSeparatorFixer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/IntegerLiteralSeparatorFixer.cpp [1222/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/ContinuationIndenter.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/ContinuationIndenter.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/ContinuationIndenter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/ContinuationIndenter.cpp [1223/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/MacroCallReconstructor.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/MacroCallReconstructor.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/MacroCallReconstructor.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/MacroCallReconstructor.cpp [1224/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/FormatTokenLexer.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/FormatTokenLexer.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/FormatTokenLexer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/FormatTokenLexer.cpp [1225/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend/../Checkers -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/AnalysisConsumer.cpp.o -MF lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/AnalysisConsumer.cpp.o.d -o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/AnalysisConsumer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp [1226/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/MacroExpander.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/MacroExpander.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/MacroExpander.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/MacroExpander.cpp [1227/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/NamespaceEndCommentsFixer.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/NamespaceEndCommentsFixer.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/NamespaceEndCommentsFixer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/NamespaceEndCommentsFixer.cpp [1228/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/QualifierAlignmentFixer.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/QualifierAlignmentFixer.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/QualifierAlignmentFixer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/QualifierAlignmentFixer.cpp [1229/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/TokenAnalyzer.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/TokenAnalyzer.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/TokenAnalyzer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/TokenAnalyzer.cpp [1230/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend/../Checkers -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/ModelInjector.cpp.o -MF lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/ModelInjector.cpp.o.d -o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/ModelInjector.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/ModelInjector.cpp [1231/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/SortJavaScriptImports.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/SortJavaScriptImports.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/SortJavaScriptImports.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/SortJavaScriptImports.cpp [1232/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/UnwrappedLineFormatter.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/UnwrappedLineFormatter.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/UnwrappedLineFormatter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/UnwrappedLineFormatter.cpp [1233/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/Format.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/Format.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/Format.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/Format.cpp [1234/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/UsingDeclarationsSorter.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/UsingDeclarationsSorter.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/UsingDeclarationsSorter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/UsingDeclarationsSorter.cpp [1235/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/WhitespaceManager.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/WhitespaceManager.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/WhitespaceManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/WhitespaceManager.cpp [1236/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/TokenAnnotator.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/TokenAnnotator.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/TokenAnnotator.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/TokenAnnotator.cpp [1237/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/diagtool/CMakeFiles/diagtool.dir/diagtool_main.cpp.o -MF tools/diagtool/CMakeFiles/diagtool.dir/diagtool_main.cpp.o.d -o tools/diagtool/CMakeFiles/diagtool.dir/diagtool_main.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/diagtool/diagtool_main.cpp [1238/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/UnwrappedLineParser.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/UnwrappedLineParser.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/UnwrappedLineParser.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/UnwrappedLineParser.cpp [1239/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Interpreter -I/builddir/build/BUILD/clang-17.0.6.src/lib/Interpreter -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/IncrementalExecutor.cpp.o -MF lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/IncrementalExecutor.cpp.o.d -o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/IncrementalExecutor.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Interpreter/IncrementalExecutor.cpp [1240/2015] : && /usr/bin/cmake -E rm -f lib64/libclangFormat.a && /usr/bin/ar Dqc lib64/libclangFormat.a lib/Format/CMakeFiles/obj.clangFormat.dir/AffectedRangeManager.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/BreakableToken.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/ContinuationIndenter.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/DefinitionBlockSeparator.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/Format.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/FormatToken.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/FormatTokenLexer.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/IntegerLiteralSeparatorFixer.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/MacroCallReconstructor.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/MacroExpander.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/NamespaceEndCommentsFixer.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/QualifierAlignmentFixer.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/SortJavaScriptImports.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/TokenAnalyzer.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/TokenAnnotator.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/UnwrappedLineFormatter.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/UnwrappedLineParser.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/UsingDeclarationsSorter.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/WhitespaceManager.cpp.o && /usr/bin/ranlib -D lib64/libclangFormat.a && : [1241/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/diagtool/CMakeFiles/diagtool.dir/DiagTool.cpp.o -MF tools/diagtool/CMakeFiles/diagtool.dir/DiagTool.cpp.o.d -o tools/diagtool/CMakeFiles/diagtool.dir/DiagTool.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/diagtool/DiagTool.cpp [1242/2015] : && /usr/bin/cmake -E rm -f lib64/libclangTooling.a && /usr/bin/ar Dqc lib64/libclangTooling.a lib/Tooling/CMakeFiles/obj.clangTooling.dir/AllTUsExecution.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/ArgumentsAdjusters.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/CommonOptionsParser.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/CompilationDatabase.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/Execution.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/ExpandResponseFilesCompilationDatabase.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/FileMatchTrie.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/FixIt.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/GuessTargetAndModeCompilationDatabase.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/InterpolatingCompilationDatabase.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/JSONCompilationDatabase.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/Refactoring.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/RefactoringCallbacks.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/StandaloneExecution.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/NodeIntrospection.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/Tooling.cpp.o && /usr/bin/ranlib -D lib64/libclangTooling.a && : [1243/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/diagtool/CMakeFiles/diagtool.dir/DiagnosticNames.cpp.o -MF tools/diagtool/CMakeFiles/diagtool.dir/DiagnosticNames.cpp.o.d -o tools/diagtool/CMakeFiles/diagtool.dir/DiagnosticNames.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/diagtool/DiagnosticNames.cpp [1244/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/diagtool/CMakeFiles/diagtool.dir/FindDiagnosticID.cpp.o -MF tools/diagtool/CMakeFiles/diagtool.dir/FindDiagnosticID.cpp.o.d -o tools/diagtool/CMakeFiles/diagtool.dir/FindDiagnosticID.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/diagtool/FindDiagnosticID.cpp [1245/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/diagtool/CMakeFiles/diagtool.dir/ListWarnings.cpp.o -MF tools/diagtool/CMakeFiles/diagtool.dir/ListWarnings.cpp.o.d -o tools/diagtool/CMakeFiles/diagtool.dir/ListWarnings.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/diagtool/ListWarnings.cpp [1246/2015] : && /usr/bin/cmake -E rm -f lib64/libclangIndex.a && /usr/bin/ar Dqc lib64/libclangIndex.a lib/Index/CMakeFiles/obj.clangIndex.dir/CommentToXML.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/FileIndexRecord.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexBody.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexDecl.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexingAction.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexingContext.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexSymbol.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexTypeSourceInfo.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/USRGeneration.cpp.o && /usr/bin/ranlib -D lib64/libclangIndex.a && : [1247/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Interpreter -I/builddir/build/BUILD/clang-17.0.6.src/lib/Interpreter -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/DeviceOffload.cpp.o -MF lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/DeviceOffload.cpp.o.d -o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/DeviceOffload.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Interpreter/DeviceOffload.cpp [1248/2015] : && /usr/bin/cmake -E rm -f lib64/libclangDependencyScanning.a && /usr/bin/ar Dqc lib64/libclangDependencyScanning.a lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningFilesystem.cpp.o lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningService.cpp.o lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningWorker.cpp.o lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningTool.cpp.o lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/ModuleDepCollector.cpp.o && /usr/bin/ranlib -D lib64/libclangDependencyScanning.a && : [1249/2015] : && /usr/bin/cmake -E rm -f lib64/libclangCrossTU.a && /usr/bin/ar Dqc lib64/libclangCrossTU.a lib/CrossTU/CMakeFiles/obj.clangCrossTU.dir/CrossTranslationUnit.cpp.o && /usr/bin/ranlib -D lib64/libclangCrossTU.a && : [1250/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Interpreter -I/builddir/build/BUILD/clang-17.0.6.src/lib/Interpreter -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/Value.cpp.o -MF lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/Value.cpp.o.d -o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/Value.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Interpreter/Value.cpp [1251/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/diagtool/CMakeFiles/diagtool.dir/TreeView.cpp.o -MF tools/diagtool/CMakeFiles/diagtool.dir/TreeView.cpp.o.d -o tools/diagtool/CMakeFiles/diagtool.dir/TreeView.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/diagtool/TreeView.cpp [1252/2015] : && /usr/bin/cmake -E rm -f lib64/libclangExtractAPI.a && /usr/bin/ar Dqc lib64/libclangExtractAPI.a lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/API.cpp.o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/APIIgnoresList.cpp.o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/AvailabilityInfo.cpp.o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/ExtractAPIConsumer.cpp.o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/DeclarationFragments.cpp.o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/Serialization/SymbolGraphSerializer.cpp.o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/TypedefUnderlyingTypeResolver.cpp.o && /usr/bin/ranlib -D lib64/libclangExtractAPI.a && : [1253/2015] : && /usr/bin/cmake -E rm -f lib64/libclangToolingRefactoring.a && /usr/bin/ar Dqc lib64/libclangToolingRefactoring.a lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/ASTSelection.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/ASTSelectionRequirements.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/AtomicChange.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Extract/Extract.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Extract/SourceExtraction.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Lookup.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/RefactoringActions.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/RenamingAction.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/SymbolOccurrences.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRFinder.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRFindingAction.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRLocFinder.cpp.o && /usr/bin/ranlib -D lib64/libclangToolingRefactoring.a && : [1254/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Interpreter -I/builddir/build/BUILD/clang-17.0.6.src/lib/Interpreter -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/InterpreterUtils.cpp.o -MF lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/InterpreterUtils.cpp.o.d -o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/InterpreterUtils.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Interpreter/InterpreterUtils.cpp [1255/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/diagtool/CMakeFiles/diagtool.dir/ShowEnabledWarnings.cpp.o -MF tools/diagtool/CMakeFiles/diagtool.dir/ShowEnabledWarnings.cpp.o.d -o tools/diagtool/CMakeFiles/diagtool.dir/ShowEnabledWarnings.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/diagtool/ShowEnabledWarnings.cpp [1256/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver -I/builddir/build/BUILD/clang-17.0.6.src/tools/driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/driver/CMakeFiles/clang.dir/clang-driver.cpp.o -MF tools/driver/CMakeFiles/clang.dir/clang-driver.cpp.o.d -o tools/driver/CMakeFiles/clang.dir/clang-driver.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp [1257/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Interpreter -I/builddir/build/BUILD/clang-17.0.6.src/lib/Interpreter -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/IncrementalParser.cpp.o -MF lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/IncrementalParser.cpp.o.d -o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/IncrementalParser.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Interpreter/IncrementalParser.cpp [1258/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver -I/builddir/build/BUILD/clang-17.0.6.src/tools/driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/driver/CMakeFiles/clang.dir/cc1gen_reproducer_main.cpp.o -MF tools/driver/CMakeFiles/clang.dir/cc1gen_reproducer_main.cpp.o.d -o tools/driver/CMakeFiles/clang.dir/cc1gen_reproducer_main.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1gen_reproducer_main.cpp [1259/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver -I/builddir/build/BUILD/clang-17.0.6.src/tools/driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/driver/CMakeFiles/clang.dir/driver.cpp.o -MF tools/driver/CMakeFiles/clang.dir/driver.cpp.o.d -o tools/driver/CMakeFiles/clang.dir/driver.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp [1260/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver -I/builddir/build/BUILD/clang-17.0.6.src/tools/driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/driver/CMakeFiles/clang.dir/cc1as_main.cpp.o -MF tools/driver/CMakeFiles/clang.dir/cc1as_main.cpp.o.d -o tools/driver/CMakeFiles/clang.dir/cc1as_main.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1as_main.cpp [1261/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/apinotes-test -I/builddir/build/BUILD/clang-17.0.6.src/tools/apinotes-test -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/apinotes-test/CMakeFiles/apinotes-test.dir/APINotesTest.cpp.o -MF tools/apinotes-test/CMakeFiles/apinotes-test.dir/APINotesTest.cpp.o.d -o tools/apinotes-test/CMakeFiles/apinotes-test.dir/APINotesTest.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/apinotes-test/APINotesTest.cpp [1262/2015] /usr/bin/gcc -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-fuzzer/dictionary -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-fuzzer/dictionary -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-comment -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -MD -MT tools/clang-fuzzer/dictionary/CMakeFiles/clang-fuzzer-dictionary.dir/dictionary.c.o -MF tools/clang-fuzzer/dictionary/CMakeFiles/clang-fuzzer-dictionary.dir/dictionary.c.o.d -o tools/clang-fuzzer/dictionary/CMakeFiles/clang-fuzzer-dictionary.dir/dictionary.c.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-fuzzer/dictionary/dictionary.c [1263/2015] : && /usr/bin/cmake -E rm -f lib64/libclangStaticAnalyzerCore.a && /usr/bin/ar Dqc lib64/libclangStaticAnalyzerCore.a lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/APSIntType.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/AnalysisManager.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/AnalyzerOptions.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BasicValueFactory.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BlockCounter.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BugReporter.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BugReporterVisitors.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CallDescription.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CallEvent.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Checker.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerContext.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerHelpers.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerManager.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerRegistryData.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CommonBugCategories.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ConstraintManager.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CoreEngine.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/DynamicExtent.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/DynamicType.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Environment.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExplodedGraph.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngine.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineC.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineCXX.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineCallAndReturn.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineObjC.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/FunctionSummary.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/HTMLDiagnostics.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/LoopUnrolling.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/LoopWidening.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/MemRegion.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/PlistDiagnostics.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ProgramState.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RangeConstraintManager.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RangedConstraintManager.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RegionStore.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SarifDiagnostics.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SimpleConstraintManager.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SimpleSValBuilder.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SMTConstraintManager.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Store.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SValBuilder.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SVals.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SymbolManager.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/TextDiagnostics.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/WorkList.cpp.o && /usr/bin/ranlib -D lib64/libclangStaticAnalyzerCore.a && : [1264/2015] : && /usr/bin/cmake -E rm -f lib64/libclangTransformer.a && /usr/bin/ar Dqc lib64/libclangTransformer.a lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Parsing.cpp.o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/RangeSelector.cpp.o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/RewriteRule.cpp.o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/SourceCode.cpp.o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/SourceCodeBuilders.cpp.o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Stencil.cpp.o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Transformer.cpp.o && /usr/bin/ranlib -D lib64/libclangTransformer.a && : [1265/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Interpreter -I/builddir/build/BUILD/clang-17.0.6.src/lib/Interpreter -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/Interpreter.cpp.o -MF lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/Interpreter.cpp.o.d -o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/Interpreter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Interpreter/Interpreter.cpp [1266/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /usr/bin/llvm-tblgen -gen-opt-parser-defs -I /builddir/build/BUILD/clang-17.0.6.src/tools/clang-linker-wrapper -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/tools/clang-linker-wrapper/LinkerWrapperOpts.td --write-if-changed -o tools/clang-linker-wrapper/LinkerWrapperOpts.inc -d tools/clang-linker-wrapper/LinkerWrapperOpts.inc.d [1267/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-format -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-format/CMakeFiles/clang-format.dir/ClangFormat.cpp.o -MF tools/clang-format/CMakeFiles/clang-format.dir/ClangFormat.cpp.o.d -o tools/clang-format/CMakeFiles/clang-format.dir/ClangFormat.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-format/ClangFormat.cpp [1268/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-diff -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-diff -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-diff/CMakeFiles/clang-diff.dir/ClangDiff.cpp.o -MF tools/clang-diff/CMakeFiles/clang-diff.dir/ClangDiff.cpp.o.d -o tools/clang-diff/CMakeFiles/clang-diff.dir/ClangDiff.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-diff/ClangDiff.cpp [1269/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver -I/builddir/build/BUILD/clang-17.0.6.src/tools/driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/driver/CMakeFiles/clang.dir/cc1_main.cpp.o -MF tools/driver/CMakeFiles/clang.dir/cc1_main.cpp.o.d -o tools/driver/CMakeFiles/clang.dir/cc1_main.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp [1270/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-linker-wrapper -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-linker-wrapper -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-linker-wrapper/CMakeFiles/clang-linker-wrapper.dir/OffloadWrapper.cpp.o -MF tools/clang-linker-wrapper/CMakeFiles/clang-linker-wrapper.dir/OffloadWrapper.cpp.o.d -o tools/clang-linker-wrapper/CMakeFiles/clang-linker-wrapper.dir/OffloadWrapper.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-linker-wrapper/OffloadWrapper.cpp [1271/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /usr/bin/llvm-tblgen -gen-opt-parser-defs -I /builddir/build/BUILD/clang-17.0.6.src/tools/clang-scan-deps -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/tools/clang-scan-deps/Opts.td --write-if-changed -o tools/clang-scan-deps/Opts.inc -d tools/clang-scan-deps/Opts.inc.d [1272/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-fuzzer/handle-llvm -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-fuzzer/handle-llvm -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-fuzzer/handle-llvm/CMakeFiles/obj.clangHandleLLVM.dir/handle_llvm.cpp.o -MF tools/clang-fuzzer/handle-llvm/CMakeFiles/obj.clangHandleLLVM.dir/handle_llvm.cpp.o.d -o tools/clang-fuzzer/handle-llvm/CMakeFiles/obj.clangHandleLLVM.dir/handle_llvm.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-fuzzer/handle-llvm/handle_llvm.cpp [1273/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-fuzzer/handle-cxx -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-fuzzer/handle-cxx -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-fuzzer/handle-cxx/. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-fuzzer/handle-cxx/CMakeFiles/obj.clangHandleCXX.dir/handle_cxx.cpp.o -MF tools/clang-fuzzer/handle-cxx/CMakeFiles/obj.clangHandleCXX.dir/handle_cxx.cpp.o.d -o tools/clang-fuzzer/handle-cxx/CMakeFiles/obj.clangHandleCXX.dir/handle_cxx.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-fuzzer/handle-cxx/handle_cxx.cpp [1274/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-scan-deps -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-scan-deps -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-scan-deps/CMakeFiles/clang-scan-deps.dir/clang-scan-deps-driver.cpp.o -MF tools/clang-scan-deps/CMakeFiles/clang-scan-deps.dir/clang-scan-deps-driver.cpp.o.d -o tools/clang-scan-deps/CMakeFiles/clang-scan-deps.dir/clang-scan-deps-driver.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-scan-deps/clang-scan-deps-driver.cpp [1275/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-offload-bundler -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-offload-bundler -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-offload-bundler/CMakeFiles/clang-offload-bundler.dir/ClangOffloadBundler.cpp.o -MF tools/clang-offload-bundler/CMakeFiles/clang-offload-bundler.dir/ClangOffloadBundler.cpp.o.d -o tools/clang-offload-bundler/CMakeFiles/clang-offload-bundler.dir/ClangOffloadBundler.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-offload-bundler/ClangOffloadBundler.cpp [1276/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-offload-packager -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-offload-packager -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-offload-packager/CMakeFiles/clang-offload-packager.dir/ClangOffloadPackager.cpp.o -MF tools/clang-offload-packager/CMakeFiles/clang-offload-packager.dir/ClangOffloadPackager.cpp.o.d -o tools/clang-offload-packager/CMakeFiles/clang-offload-packager.dir/ClangOffloadPackager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-offload-packager/ClangOffloadPackager.cpp [1277/2015] /usr/bin/gcc -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/c-index-test -I/builddir/build/BUILD/clang-17.0.6.src/tools/c-index-test -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -isystem /usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-comment -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=gnu89 -MD -MT tools/c-index-test/CMakeFiles/c-index-test.dir/c-index-test.c.o -MF tools/c-index-test/CMakeFiles/c-index-test.dir/c-index-test.c.o.d -o tools/c-index-test/CMakeFiles/c-index-test.dir/c-index-test.c.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/c-index-test/c-index-test.c [1278/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-import-test -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-import-test -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-import-test/CMakeFiles/clang-import-test.dir/clang-import-test.cpp.o -MF tools/clang-import-test/CMakeFiles/clang-import-test.dir/clang-import-test.cpp.o.d -o tools/clang-import-test/CMakeFiles/clang-import-test.dir/clang-import-test.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-import-test/clang-import-test.cpp [1279/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-refactor -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-refactor -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-refactor/CMakeFiles/clang-refactor.dir/TestSupport.cpp.o -MF tools/clang-refactor/CMakeFiles/clang-refactor.dir/TestSupport.cpp.o.d -o tools/clang-refactor/CMakeFiles/clang-refactor.dir/TestSupport.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-refactor/TestSupport.cpp [1280/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-rename -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-rename -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-rename/CMakeFiles/clang-rename.dir/ClangRename.cpp.o -MF tools/clang-rename/CMakeFiles/clang-rename.dir/ClangRename.cpp.o.d -o tools/clang-rename/CMakeFiles/clang-rename.dir/ClangRename.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-rename/ClangRename.cpp [1281/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-shlib -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-shlib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/clang-shlib/CMakeFiles/clang-cpp.dir/clang-shlib.cpp.o -MF tools/clang-shlib/CMakeFiles/clang-cpp.dir/clang-shlib.cpp.o.d -o tools/clang-shlib/CMakeFiles/clang-cpp.dir/clang-shlib.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-shlib/clang-shlib.cpp [1282/2015] /usr/bin/gcc -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/c-arcmt-test -I/builddir/build/BUILD/clang-17.0.6.src/tools/c-arcmt-test -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-comment -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -MD -MT tools/c-arcmt-test/CMakeFiles/c-arcmt-test.dir/c-arcmt-test.c.o -MF tools/c-arcmt-test/CMakeFiles/c-arcmt-test.dir/c-arcmt-test.c.o.d -o tools/c-arcmt-test/CMakeFiles/c-arcmt-test.dir/c-arcmt-test.c.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/c-arcmt-test/c-arcmt-test.c [1283/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-linker-wrapper -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-linker-wrapper -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-linker-wrapper/CMakeFiles/clang-linker-wrapper.dir/ClangLinkerWrapper.cpp.o -MF tools/clang-linker-wrapper/CMakeFiles/clang-linker-wrapper.dir/ClangLinkerWrapper.cpp.o.d -o tools/clang-linker-wrapper/CMakeFiles/clang-linker-wrapper.dir/ClangLinkerWrapper.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp [1284/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-repl -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-repl -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-repl/CMakeFiles/clang-repl.dir/ClangRepl.cpp.o -MF tools/clang-repl/CMakeFiles/clang-repl.dir/ClangRepl.cpp.o.d -o tools/clang-repl/CMakeFiles/clang-repl.dir/ClangRepl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-repl/ClangRepl.cpp [1285/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-refactor -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-refactor -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-refactor/CMakeFiles/clang-refactor.dir/ClangRefactor.cpp.o -MF tools/clang-refactor/CMakeFiles/clang-refactor.dir/ClangRefactor.cpp.o.d -o tools/clang-refactor/CMakeFiles/clang-refactor.dir/ClangRefactor.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-refactor/ClangRefactor.cpp [1286/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/c-index-test -I/builddir/build/BUILD/clang-17.0.6.src/tools/c-index-test -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -isystem /usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/c-index-test/CMakeFiles/c-index-test.dir/core_main.cpp.o -MF tools/c-index-test/CMakeFiles/c-index-test.dir/core_main.cpp.o.d -o tools/c-index-test/CMakeFiles/c-index-test.dir/core_main.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/c-index-test/core_main.cpp [1287/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-scan-deps -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-scan-deps -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-scan-deps/CMakeFiles/clang-scan-deps.dir/ClangScanDeps.cpp.o -MF tools/clang-scan-deps/CMakeFiles/clang-scan-deps.dir/ClangScanDeps.cpp.o.d -o tools/clang-scan-deps/CMakeFiles/clang-scan-deps.dir/ClangScanDeps.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-scan-deps/ClangScanDeps.cpp [1288/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/arcmt-test -I/builddir/build/BUILD/clang-17.0.6.src/tools/arcmt-test -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/arcmt-test/CMakeFiles/arcmt-test.dir/arcmt-test.cpp.o -MF tools/arcmt-test/CMakeFiles/arcmt-test.dir/arcmt-test.cpp.o.d -o tools/arcmt-test/CMakeFiles/arcmt-test.dir/arcmt-test.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/arcmt-test/arcmt-test.cpp [1289/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-check -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-check -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-check/CMakeFiles/clang-check.dir/ClangCheck.cpp.o -MF tools/clang-check/CMakeFiles/clang-check.dir/ClangCheck.cpp.o.d -o tools/clang-check/CMakeFiles/clang-check.dir/ClangCheck.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-check/ClangCheck.cpp [1290/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-extdef-mapping -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-extdef-mapping -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-extdef-mapping/CMakeFiles/clang-extdef-mapping.dir/ClangExtDefMapGen.cpp.o -MF tools/clang-extdef-mapping/CMakeFiles/clang-extdef-mapping.dir/ClangExtDefMapGen.cpp.o.d -o tools/clang-extdef-mapping/CMakeFiles/clang-extdef-mapping.dir/ClangExtDefMapGen.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-extdef-mapping/ClangExtDefMapGen.cpp [1291/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-apply-replacements/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-apply-replacements/tool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-apply-replacements -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-apply-replacements/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-apply-replacements/tool/CMakeFiles/clang-apply-replacements.dir/ClangApplyReplacementsMain.cpp.o -MF tools/extra/clang-apply-replacements/tool/CMakeFiles/clang-apply-replacements.dir/ClangApplyReplacementsMain.cpp.o.d -o tools/extra/clang-apply-replacements/tool/CMakeFiles/clang-apply-replacements.dir/ClangApplyReplacementsMain.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-apply-replacements/tool/ClangApplyReplacementsMain.cpp [1292/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/modularize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/modularize -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/modularize/CMakeFiles/modularize.dir/ModuleAssistant.cpp.o -MF tools/extra/modularize/CMakeFiles/modularize.dir/ModuleAssistant.cpp.o.d -o tools/extra/modularize/CMakeFiles/modularize.dir/ModuleAssistant.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/modularize/ModuleAssistant.cpp [1293/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-apply-replacements -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-apply-replacements -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-apply-replacements/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-apply-replacements/CMakeFiles/obj.clangApplyReplacements.dir/lib/Tooling/ApplyReplacements.cpp.o -MF tools/extra/clang-apply-replacements/CMakeFiles/obj.clangApplyReplacements.dir/lib/Tooling/ApplyReplacements.cpp.o.d -o tools/extra/clang-apply-replacements/CMakeFiles/obj.clangApplyReplacements.dir/lib/Tooling/ApplyReplacements.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-apply-replacements/lib/Tooling/ApplyReplacements.cpp [1294/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-reorder-fields/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-reorder-fields/tool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-reorder-fields/tool/CMakeFiles/clang-reorder-fields.dir/ClangReorderFields.cpp.o -MF tools/extra/clang-reorder-fields/tool/CMakeFiles/clang-reorder-fields.dir/ClangReorderFields.cpp.o.d -o tools/extra/clang-reorder-fields/tool/CMakeFiles/clang-reorder-fields.dir/ClangReorderFields.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-reorder-fields/tool/ClangReorderFields.cpp [1295/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/modularize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/modularize -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/modularize/CMakeFiles/modularize.dir/PreprocessorTracker.cpp.o -MF tools/extra/modularize/CMakeFiles/modularize.dir/PreprocessorTracker.cpp.o.d -o tools/extra/modularize/CMakeFiles/modularize.dir/PreprocessorTracker.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/modularize/PreprocessorTracker.cpp [1296/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/modularize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/modularize -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/modularize/CMakeFiles/modularize.dir/ModularizeUtilities.cpp.o -MF tools/extra/modularize/CMakeFiles/modularize.dir/ModularizeUtilities.cpp.o.d -o tools/extra/modularize/CMakeFiles/modularize.dir/ModularizeUtilities.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/modularize/ModularizeUtilities.cpp [1297/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-reorder-fields -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-reorder-fields -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-reorder-fields/CMakeFiles/obj.clangReorderFields.dir/ReorderFieldsAction.cpp.o -MF tools/extra/clang-reorder-fields/CMakeFiles/obj.clangReorderFields.dir/ReorderFieldsAction.cpp.o.d -o tools/extra/clang-reorder-fields/CMakeFiles/obj.clangReorderFields.dir/ReorderFieldsAction.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-reorder-fields/ReorderFieldsAction.cpp [1298/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/modularize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/modularize -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/modularize/CMakeFiles/modularize.dir/CoverageChecker.cpp.o -MF tools/extra/modularize/CMakeFiles/modularize.dir/CoverageChecker.cpp.o.d -o tools/extra/modularize/CMakeFiles/modularize.dir/CoverageChecker.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/modularize/CoverageChecker.cpp [1299/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyProfiling.cpp.o -MF tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyProfiling.cpp.o.d -o tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyProfiling.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidyProfiling.cpp [1300/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyOptions.cpp.o -MF tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyOptions.cpp.o.d -o tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyOptions.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidyOptions.cpp [1301/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/GlobList.cpp.o -MF tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/GlobList.cpp.o.d -o tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/GlobList.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/GlobList.cpp [1302/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyCheck.cpp.o -MF tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyCheck.cpp.o.d -o tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidyCheck.cpp [1303/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/modularize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/modularize -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/modularize/CMakeFiles/modularize.dir/Modularize.cpp.o -MF tools/extra/modularize/CMakeFiles/modularize.dir/Modularize.cpp.o.d -o tools/extra/modularize/CMakeFiles/modularize.dir/Modularize.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/modularize/Modularize.cpp [1304/2015] : && /usr/bin/cmake -E rm -f lib64/libclangStaticAnalyzerCheckers.a && /usr/bin/ar Dqc lib64/libclangStaticAnalyzerCheckers.a lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/AnalysisOrderChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/AnalyzerStatsChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ArrayBoundChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ArrayBoundCheckerV2.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BasicObjCFoundationChecks.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BlockInCriticalSectionChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BoolAssignmentChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BuiltinFunctionChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CStringChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CStringSyntaxChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CallAndMessageChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CastSizeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CastToStructChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CastValueChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckObjCDealloc.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckObjCInstMethSignature.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckPlacementNew.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckSecuritySyntaxOnly.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckSizeofPointer.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckerDocumentation.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ChrootChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CloneChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ContainerModeling.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ConversionChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CXXSelfAssignmentChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DeadStoresChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DebugCheckers.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DebugContainerModeling.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DebugIteratorModeling.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DeleteWithNonVirtualDtorChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DereferenceChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DirectIvarAssignment.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DivZeroChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DynamicTypePropagation.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DynamicTypeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/EnumCastOutOfRangeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ErrnoChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ErrnoModeling.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ErrnoTesterChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ExprInspectionChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/FixedAddressChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/FuchsiaHandleChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/GCDAntipatternChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/GenericTaintChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/GTestChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IdenticalExprChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/InnerPointerChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/InvalidatedIteratorChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/cert/InvalidPtrChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/Iterator.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IteratorModeling.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IteratorRangeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IvarInvalidationChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/LLVMConventionsChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/LocalizationChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MacOSKeychainAPIChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MacOSXAPIChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MallocChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MallocOverflowSecurityChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MallocSizeofChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MismatchedIteratorChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MmapWriteExecChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MIGChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MoveChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MPI-Checker/MPIBugReporter.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MPI-Checker/MPIChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MPI-Checker/MPIFunctionClassifier.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NSAutoreleasePoolChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NSErrorChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NoReturnFunctionChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NonNullParamChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NonnullGlobalConstantsChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NullabilityChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NumberObjectConversionChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCAtSyncChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCAutoreleaseWriteChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCContainersASTChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCContainersChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCMissingSuperCallChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCPropertyChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCSelfInitChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCSuperDeallocChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCUnusedIVarsChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/OSObjectCStyleCast.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PaddingChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerArithChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerIterationChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerSortingChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerSubChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PthreadLockChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/cert/PutenvWithAutoChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/RetainCountChecker/RetainCountChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/RetainCountChecker/RetainCountDiagnostics.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ReturnPointerRangeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ReturnUndefChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ReturnValueChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/RunLoopAutoreleaseLeakChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/SimpleStreamChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/SmartPtrChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/SmartPtrModeling.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StackAddrEscapeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StdLibraryFunctionsChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/STLAlgorithmModeling.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StreamChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StringChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/Taint.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TaintTesterChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TestAfterDivZeroChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TraversalChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TrustNonnullChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TrustReturnsNonnullChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefBranchChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefCapturedBlockVarChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefResultChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefinedArraySubscriptChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefinedAssignmentChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefinedNewArraySizeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UninitializedObject/UninitializedObjectChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UninitializedObject/UninitializedPointee.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UnixAPIChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UnreachableCodeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/VforkChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/VLASizeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ValistChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/VirtualCallChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/NoUncountedMembersChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/ASTUtils.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/PtrTypesSemantics.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/RefCntblBaseVirtualDtorChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/UncountedCallArgsChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/UncountedLambdaCapturesChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/UncountedLocalVarsChecker.cpp.o && /usr/bin/ranlib -D lib64/libclangStaticAnalyzerCheckers.a && : [1305/2015] : && /usr/bin/cmake -E rm -f lib64/libclangHandleCXX.a && /usr/bin/ar Dqc lib64/libclangHandleCXX.a tools/clang-fuzzer/handle-cxx/CMakeFiles/obj.clangHandleCXX.dir/handle_cxx.cpp.o && /usr/bin/ranlib -D lib64/libclangHandleCXX.a && : [1306/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyDiagnosticConsumer.cpp.o -MF tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyDiagnosticConsumer.cpp.o.d -o tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyDiagnosticConsumer.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidyDiagnosticConsumer.cpp [1307/2015] : && /usr/bin/cmake -E rm -f lib64/libclangStaticAnalyzerFrontend.a && /usr/bin/ar Dqc lib64/libclangStaticAnalyzerFrontend.a lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/AnalysisConsumer.cpp.o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/AnalyzerHelpFlags.cpp.o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/CheckerRegistry.cpp.o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/CreateCheckerManager.cpp.o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/FrontendActions.cpp.o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/ModelConsumer.cpp.o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/ModelInjector.cpp.o && /usr/bin/ranlib -D lib64/libclangStaticAnalyzerFrontend.a && : [1308/2015] : && /usr/bin/cmake -E rm -f lib64/libclangHandleLLVM.a && /usr/bin/ar Dqc lib64/libclangHandleLLVM.a tools/clang-fuzzer/handle-llvm/CMakeFiles/obj.clangHandleLLVM.dir/handle_llvm.cpp.o && /usr/bin/ranlib -D lib64/libclangHandleLLVM.a && : [1309/2015] : && /usr/bin/cmake -E rm -f lib64/libclangFrontendTool.a && /usr/bin/ar Dqc lib64/libclangFrontendTool.a lib/FrontendTool/CMakeFiles/obj.clangFrontendTool.dir/ExecuteCompilerInvocation.cpp.o && /usr/bin/ranlib -D lib64/libclangFrontendTool.a && : [1310/2015] : && /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-comment -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/clang-fuzzer/dictionary/CMakeFiles/clang-fuzzer-dictionary.dir/dictionary.c.o -o bin/clang-fuzzer-dictionary /usr/lib64/libLLVM-17.so && : [1311/2015] : && /usr/bin/cmake -E rm -f lib64/libclangInterpreter.a && /usr/bin/ar Dqc lib64/libclangInterpreter.a lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/DeviceOffload.cpp.o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/IncrementalExecutor.cpp.o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/IncrementalParser.cpp.o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/Interpreter.cpp.o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/InterpreterUtils.cpp.o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/Value.cpp.o && /usr/bin/ranlib -D lib64/libclangInterpreter.a && : [1312/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyModule.cpp.o -MF tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyModule.cpp.o.d -o tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidyModule.cpp [1313/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/NoLintDirectiveHandler.cpp.o -MF tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/NoLintDirectiveHandler.cpp.o.d -o tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/NoLintDirectiveHandler.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/NoLintDirectiveHandler.cpp [1314/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/clang-linker-wrapper/CMakeFiles/clang-linker-wrapper.dir/ClangLinkerWrapper.cpp.o tools/clang-linker-wrapper/CMakeFiles/clang-linker-wrapper.dir/OffloadWrapper.cpp.o -o bin/clang-linker-wrapper lib64/libclangBasic.a /usr/lib64/libLLVM-17.so && : [1315/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidy.cpp.o -MF tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidy.cpp.o.d -o tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidy.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidy.cpp [1316/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ExpandModularHeadersPPCallbacks.cpp.o -MF tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ExpandModularHeadersPPCallbacks.cpp.o.d -o tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ExpandModularHeadersPPCallbacks.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ExpandModularHeadersPPCallbacks.cpp [1317/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/AndroidTidyModule.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/AndroidTidyModule.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/AndroidTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/AndroidTidyModule.cpp [1318/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecAccept4Check.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecAccept4Check.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecAccept4Check.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecAccept4Check.cpp [1319/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecAcceptCheck.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecAcceptCheck.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecAcceptCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecAcceptCheck.cpp [1320/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecCheck.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecCheck.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecCheck.cpp [1321/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecCreatCheck.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecCreatCheck.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecCreatCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecCreatCheck.cpp [1322/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecDupCheck.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecDupCheck.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecDupCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecDupCheck.cpp [1323/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecEpollCreate1Check.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecEpollCreate1Check.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecEpollCreate1Check.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecEpollCreate1Check.cpp [1324/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecEpollCreateCheck.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecEpollCreateCheck.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecEpollCreateCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecEpollCreateCheck.cpp [1325/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecFopenCheck.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecFopenCheck.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecFopenCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecFopenCheck.cpp [1326/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecInotifyInit1Check.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecInotifyInit1Check.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecInotifyInit1Check.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecInotifyInit1Check.cpp [1327/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecInotifyInitCheck.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecInotifyInitCheck.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecInotifyInitCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecInotifyInitCheck.cpp [1328/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecMemfdCreateCheck.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecMemfdCreateCheck.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecMemfdCreateCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecMemfdCreateCheck.cpp [1329/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecOpenCheck.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecOpenCheck.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecOpenCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecOpenCheck.cpp [1330/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecPipeCheck.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecPipeCheck.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecPipeCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecPipeCheck.cpp [1331/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecPipe2Check.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecPipe2Check.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecPipe2Check.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecPipe2Check.cpp [1332/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecSocketCheck.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecSocketCheck.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecSocketCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecSocketCheck.cpp [1333/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/ComparisonInTempFailureRetryCheck.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/ComparisonInTempFailureRetryCheck.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/ComparisonInTempFailureRetryCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/ComparisonInTempFailureRetryCheck.cpp [1334/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/AbseilTidyModule.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/AbseilTidyModule.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/AbseilTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/AbseilTidyModule.cpp [1335/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/CleanupCtadCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/CleanupCtadCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/CleanupCtadCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/CleanupCtadCheck.cpp [1336/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationAdditionCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationAdditionCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationAdditionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/DurationAdditionCheck.cpp [1337/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationComparisonCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationComparisonCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationComparisonCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/DurationComparisonCheck.cpp [1338/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationConversionCastCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationConversionCastCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationConversionCastCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/DurationConversionCastCheck.cpp [1339/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationDivisionCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationDivisionCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationDivisionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/DurationDivisionCheck.cpp [1340/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationFactoryFloatCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationFactoryFloatCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationFactoryFloatCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/DurationFactoryFloatCheck.cpp [1341/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationFactoryScaleCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationFactoryScaleCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationFactoryScaleCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/DurationFactoryScaleCheck.cpp [1342/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationRewriter.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationRewriter.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationRewriter.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/DurationRewriter.cpp [1343/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationSubtractionCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationSubtractionCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationSubtractionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/DurationSubtractionCheck.cpp [1344/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationUnnecessaryConversionCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationUnnecessaryConversionCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationUnnecessaryConversionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/DurationUnnecessaryConversionCheck.cpp [1345/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/NoInternalDependenciesCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/NoInternalDependenciesCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/NoInternalDependenciesCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/NoInternalDependenciesCheck.cpp [1346/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/FasterStrsplitDelimiterCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/FasterStrsplitDelimiterCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/FasterStrsplitDelimiterCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/FasterStrsplitDelimiterCheck.cpp [1347/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/NoNamespaceCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/NoNamespaceCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/NoNamespaceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/NoNamespaceCheck.cpp [1348/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/RedundantStrcatCallsCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/RedundantStrcatCallsCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/RedundantStrcatCallsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/RedundantStrcatCallsCheck.cpp [1349/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/StrCatAppendCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/StrCatAppendCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/StrCatAppendCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/StrCatAppendCheck.cpp [1350/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/StringFindStartswithCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/StringFindStartswithCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/StringFindStartswithCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/StringFindStartswithCheck.cpp [1351/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/StringFindStrContainsCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/StringFindStrContainsCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/StringFindStrContainsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/StringFindStrContainsCheck.cpp [1352/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/TimeComparisonCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/TimeComparisonCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/TimeComparisonCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/TimeComparisonCheck.cpp [1353/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/TimeSubtractionCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/TimeSubtractionCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/TimeSubtractionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/TimeSubtractionCheck.cpp [1354/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/UpgradeDurationConversionsCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/UpgradeDurationConversionsCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/UpgradeDurationConversionsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/UpgradeDurationConversionsCheck.cpp [1355/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/altera -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/altera -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/AlteraTidyModule.cpp.o -MF tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/AlteraTidyModule.cpp.o.d -o tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/AlteraTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/altera/AlteraTidyModule.cpp [1356/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/altera -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/altera -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/IdDependentBackwardBranchCheck.cpp.o -MF tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/IdDependentBackwardBranchCheck.cpp.o.d -o tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/IdDependentBackwardBranchCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/altera/IdDependentBackwardBranchCheck.cpp [1357/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/altera -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/altera -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/KernelNameRestrictionCheck.cpp.o -MF tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/KernelNameRestrictionCheck.cpp.o.d -o tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/KernelNameRestrictionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/altera/KernelNameRestrictionCheck.cpp [1358/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/altera -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/altera -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/SingleWorkItemBarrierCheck.cpp.o -MF tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/SingleWorkItemBarrierCheck.cpp.o.d -o tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/SingleWorkItemBarrierCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/altera/SingleWorkItemBarrierCheck.cpp [1359/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/altera -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/altera -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/StructPackAlignCheck.cpp.o -MF tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/StructPackAlignCheck.cpp.o.d -o tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/StructPackAlignCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/altera/StructPackAlignCheck.cpp [1360/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/boost -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/boost -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/boost/CMakeFiles/obj.clangTidyBoostModule.dir/BoostTidyModule.cpp.o -MF tools/extra/clang-tidy/boost/CMakeFiles/obj.clangTidyBoostModule.dir/BoostTidyModule.cpp.o.d -o tools/extra/clang-tidy/boost/CMakeFiles/obj.clangTidyBoostModule.dir/BoostTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/boost/BoostTidyModule.cpp [1361/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/altera -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/altera -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/UnrollLoopsCheck.cpp.o -MF tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/UnrollLoopsCheck.cpp.o.d -o tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/UnrollLoopsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/altera/UnrollLoopsCheck.cpp [1362/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/boost -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/boost -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/boost/CMakeFiles/obj.clangTidyBoostModule.dir/UseToStringCheck.cpp.o -MF tools/extra/clang-tidy/boost/CMakeFiles/obj.clangTidyBoostModule.dir/UseToStringCheck.cpp.o.d -o tools/extra/clang-tidy/boost/CMakeFiles/obj.clangTidyBoostModule.dir/UseToStringCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/boost/UseToStringCheck.cpp [1363/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ArgumentCommentCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ArgumentCommentCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ArgumentCommentCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/ArgumentCommentCheck.cpp [1364/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/AssertSideEffectCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/AssertSideEffectCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/AssertSideEffectCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/AssertSideEffectCheck.cpp [1365/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BadSignalToKillThreadCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BadSignalToKillThreadCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BadSignalToKillThreadCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/BadSignalToKillThreadCheck.cpp [1366/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BoolPointerImplicitConversionCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BoolPointerImplicitConversionCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BoolPointerImplicitConversionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/BoolPointerImplicitConversionCheck.cpp [1367/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/CopyConstructorInitCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/CopyConstructorInitCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/CopyConstructorInitCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/CopyConstructorInitCheck.cpp [1368/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BranchCloneCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BranchCloneCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BranchCloneCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/BranchCloneCheck.cpp [1369/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BugproneTidyModule.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BugproneTidyModule.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BugproneTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/BugproneTidyModule.cpp [1370/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/AssignmentInIfConditionCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/AssignmentInIfConditionCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/AssignmentInIfConditionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/AssignmentInIfConditionCheck.cpp [1371/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/DynamicStaticInitializersCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/DynamicStaticInitializersCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/DynamicStaticInitializersCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/DynamicStaticInitializersCheck.cpp [1372/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/DanglingHandleCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/DanglingHandleCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/DanglingHandleCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/DanglingHandleCheck.cpp [1373/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/EmptyCatchCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/EmptyCatchCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/EmptyCatchCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/EmptyCatchCheck.cpp [1374/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ExceptionEscapeCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ExceptionEscapeCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ExceptionEscapeCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/ExceptionEscapeCheck.cpp [1375/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/FoldInitTypeCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/FoldInitTypeCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/FoldInitTypeCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/FoldInitTypeCheck.cpp [1376/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ForwardDeclarationNamespaceCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ForwardDeclarationNamespaceCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ForwardDeclarationNamespaceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/ForwardDeclarationNamespaceCheck.cpp [1377/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ForwardingReferenceOverloadCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ForwardingReferenceOverloadCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ForwardingReferenceOverloadCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/ForwardingReferenceOverloadCheck.cpp [1378/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ImplicitWideningOfMultiplicationResultCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ImplicitWideningOfMultiplicationResultCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ImplicitWideningOfMultiplicationResultCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/ImplicitWideningOfMultiplicationResultCheck.cpp [1379/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/EasilySwappableParametersCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/EasilySwappableParametersCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/EasilySwappableParametersCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/EasilySwappableParametersCheck.cpp [1380/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/InaccurateEraseCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/InaccurateEraseCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/InaccurateEraseCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/InaccurateEraseCheck.cpp [1381/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SwitchMissingDefaultCaseCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SwitchMissingDefaultCaseCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SwitchMissingDefaultCaseCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SwitchMissingDefaultCaseCheck.cpp [1382/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/IncorrectRoundingsCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/IncorrectRoundingsCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/IncorrectRoundingsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/IncorrectRoundingsCheck.cpp [1383/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/IntegerDivisionCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/IntegerDivisionCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/IntegerDivisionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/IntegerDivisionCheck.cpp [1384/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/LambdaFunctionNameCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/LambdaFunctionNameCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/LambdaFunctionNameCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/LambdaFunctionNameCheck.cpp [1385/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MacroParenthesesCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MacroParenthesesCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MacroParenthesesCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/MacroParenthesesCheck.cpp [1386/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/InfiniteLoopCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/InfiniteLoopCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/InfiniteLoopCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/InfiniteLoopCheck.cpp [1387/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MacroRepeatedSideEffectsCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MacroRepeatedSideEffectsCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MacroRepeatedSideEffectsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/MacroRepeatedSideEffectsCheck.cpp [1388/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MisplacedOperatorInStrlenInAllocCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MisplacedOperatorInStrlenInAllocCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MisplacedOperatorInStrlenInAllocCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/MisplacedOperatorInStrlenInAllocCheck.cpp [1389/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MisplacedPointerArithmeticInAllocCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MisplacedPointerArithmeticInAllocCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MisplacedPointerArithmeticInAllocCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/MisplacedPointerArithmeticInAllocCheck.cpp [1390/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MisplacedWideningCastCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MisplacedWideningCastCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MisplacedWideningCastCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/MisplacedWideningCastCheck.cpp [1391/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MoveForwardingReferenceCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MoveForwardingReferenceCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MoveForwardingReferenceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/MoveForwardingReferenceCheck.cpp [1392/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MultipleNewInOneExpressionCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MultipleNewInOneExpressionCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MultipleNewInOneExpressionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/MultipleNewInOneExpressionCheck.cpp [1393/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MultipleStatementMacroCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MultipleStatementMacroCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MultipleStatementMacroCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/MultipleStatementMacroCheck.cpp [1394/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/NoEscapeCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/NoEscapeCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/NoEscapeCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/NoEscapeCheck.cpp [1395/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/NonZeroEnumToBoolConversionCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/NonZeroEnumToBoolConversionCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/NonZeroEnumToBoolConversionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/NonZeroEnumToBoolConversionCheck.cpp [1396/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ParentVirtualCallCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ParentVirtualCallCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ParentVirtualCallCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/ParentVirtualCallCheck.cpp [1397/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/RedundantBranchConditionCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/RedundantBranchConditionCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/RedundantBranchConditionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/RedundantBranchConditionCheck.cpp [1398/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ReservedIdentifierCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ReservedIdentifierCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ReservedIdentifierCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/ReservedIdentifierCheck.cpp [1399/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/PosixReturnCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/PosixReturnCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/PosixReturnCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/PosixReturnCheck.cpp [1400/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SharedPtrArrayMismatchCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SharedPtrArrayMismatchCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SharedPtrArrayMismatchCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SharedPtrArrayMismatchCheck.cpp [1401/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/NotNullTerminatedResultCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/NotNullTerminatedResultCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/NotNullTerminatedResultCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/NotNullTerminatedResultCheck.cpp [1402/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SignedCharMisuseCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SignedCharMisuseCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SignedCharMisuseCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SignedCharMisuseCheck.cpp [1403/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SignalHandlerCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SignalHandlerCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SignalHandlerCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SignalHandlerCheck.cpp [1404/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SizeofContainerCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SizeofContainerCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SizeofContainerCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SizeofContainerCheck.cpp [1405/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SmartPtrArrayMismatchCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SmartPtrArrayMismatchCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SmartPtrArrayMismatchCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SmartPtrArrayMismatchCheck.cpp [1406/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SpuriouslyWakeUpFunctionsCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SpuriouslyWakeUpFunctionsCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SpuriouslyWakeUpFunctionsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SpuriouslyWakeUpFunctionsCheck.cpp [1407/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SizeofExpressionCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SizeofExpressionCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SizeofExpressionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SizeofExpressionCheck.cpp [1408/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StandaloneEmptyCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StandaloneEmptyCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StandaloneEmptyCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/StandaloneEmptyCheck.cpp [1409/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StringIntegerAssignmentCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StringIntegerAssignmentCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StringIntegerAssignmentCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/StringIntegerAssignmentCheck.cpp [1410/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StringConstructorCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StringConstructorCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StringConstructorCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/StringConstructorCheck.cpp [1411/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StringLiteralWithEmbeddedNulCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StringLiteralWithEmbeddedNulCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StringLiteralWithEmbeddedNulCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/StringLiteralWithEmbeddedNulCheck.cpp [1412/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousMemoryComparisonCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousMemoryComparisonCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousMemoryComparisonCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SuspiciousMemoryComparisonCheck.cpp [1413/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousIncludeCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousIncludeCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousIncludeCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SuspiciousIncludeCheck.cpp [1414/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousEnumUsageCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousEnumUsageCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousEnumUsageCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SuspiciousEnumUsageCheck.cpp [1415/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StringviewNullptrCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StringviewNullptrCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StringviewNullptrCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/StringviewNullptrCheck.cpp [1416/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousMissingCommaCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousMissingCommaCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousMissingCommaCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SuspiciousMissingCommaCheck.cpp [1417/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousMemsetUsageCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousMemsetUsageCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousMemsetUsageCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SuspiciousMemsetUsageCheck.cpp [1418/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousReallocUsageCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousReallocUsageCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousReallocUsageCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SuspiciousReallocUsageCheck.cpp [1419/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousSemicolonCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousSemicolonCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousSemicolonCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SuspiciousSemicolonCheck.cpp [1420/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SwappedArgumentsCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SwappedArgumentsCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SwappedArgumentsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SwappedArgumentsCheck.cpp [1421/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/TerminatingContinueCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/TerminatingContinueCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/TerminatingContinueCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/TerminatingContinueCheck.cpp [1422/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousStringCompareCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousStringCompareCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousStringCompareCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SuspiciousStringCompareCheck.cpp [1423/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ThrowKeywordMissingCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ThrowKeywordMissingCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ThrowKeywordMissingCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/ThrowKeywordMissingCheck.cpp [1424/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/TooSmallLoopVariableCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/TooSmallLoopVariableCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/TooSmallLoopVariableCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/TooSmallLoopVariableCheck.cpp [1425/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UndefinedMemoryManipulationCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UndefinedMemoryManipulationCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UndefinedMemoryManipulationCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/UndefinedMemoryManipulationCheck.cpp [1426/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UndelegatedConstructorCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UndelegatedConstructorCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UndelegatedConstructorCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/UndelegatedConstructorCheck.cpp [1427/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UncheckedOptionalAccessCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UncheckedOptionalAccessCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UncheckedOptionalAccessCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/UncheckedOptionalAccessCheck.cpp [1428/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnhandledExceptionAtNewCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnhandledExceptionAtNewCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnhandledExceptionAtNewCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/UnhandledExceptionAtNewCheck.cpp [1429/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnhandledSelfAssignmentCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnhandledSelfAssignmentCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnhandledSelfAssignmentCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/UnhandledSelfAssignmentCheck.cpp [1430/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UniquePtrArrayMismatchCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UniquePtrArrayMismatchCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UniquePtrArrayMismatchCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/UniquePtrArrayMismatchCheck.cpp [1431/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnsafeFunctionsCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnsafeFunctionsCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnsafeFunctionsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/UnsafeFunctionsCheck.cpp [1432/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnusedRaiiCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnusedRaiiCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnusedRaiiCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/UnusedRaiiCheck.cpp [1433/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnusedReturnValueCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnusedReturnValueCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnusedReturnValueCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/UnusedReturnValueCheck.cpp [1434/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/VirtualNearMissCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/VirtualNearMissCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/VirtualNearMissCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/VirtualNearMissCheck.cpp [1435/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UseAfterMoveCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UseAfterMoveCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UseAfterMoveCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/UseAfterMoveCheck.cpp [1436/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/CommandProcessorCheck.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/CommandProcessorCheck.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/CommandProcessorCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/CommandProcessorCheck.cpp [1437/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/CERTTidyModule.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/CERTTidyModule.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/CERTTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/CERTTidyModule.cpp [1438/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/DefaultOperatorNewAlignmentCheck.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/DefaultOperatorNewAlignmentCheck.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/DefaultOperatorNewAlignmentCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/DefaultOperatorNewAlignmentCheck.cpp [1439/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/FloatLoopCounter.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/FloatLoopCounter.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/FloatLoopCounter.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/FloatLoopCounter.cpp [1440/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/DontModifyStdNamespaceCheck.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/DontModifyStdNamespaceCheck.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/DontModifyStdNamespaceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/DontModifyStdNamespaceCheck.cpp [1441/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/LimitedRandomnessCheck.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/LimitedRandomnessCheck.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/LimitedRandomnessCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/LimitedRandomnessCheck.cpp [1442/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/MutatingCopyCheck.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/MutatingCopyCheck.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/MutatingCopyCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/MutatingCopyCheck.cpp [1443/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/NonTrivialTypesLibcMemoryCallsCheck.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/NonTrivialTypesLibcMemoryCallsCheck.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/NonTrivialTypesLibcMemoryCallsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/NonTrivialTypesLibcMemoryCallsCheck.cpp [1444/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/PostfixOperatorCheck.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/PostfixOperatorCheck.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/PostfixOperatorCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/PostfixOperatorCheck.cpp [1445/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/ProperlySeededRandomGeneratorCheck.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/ProperlySeededRandomGeneratorCheck.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/ProperlySeededRandomGeneratorCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/ProperlySeededRandomGeneratorCheck.cpp [1446/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/SetLongJmpCheck.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/SetLongJmpCheck.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/SetLongJmpCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/SetLongJmpCheck.cpp [1447/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/StaticObjectExceptionCheck.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/StaticObjectExceptionCheck.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/StaticObjectExceptionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/StaticObjectExceptionCheck.cpp [1448/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/StrToNumCheck.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/StrToNumCheck.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/StrToNumCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/StrToNumCheck.cpp [1449/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/VariadicFunctionDefCheck.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/VariadicFunctionDefCheck.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/VariadicFunctionDefCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/VariadicFunctionDefCheck.cpp [1450/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/ThrownExceptionTypeCheck.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/ThrownExceptionTypeCheck.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/ThrownExceptionTypeCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/ThrownExceptionTypeCheck.cpp [1451/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/concurrency -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/concurrency -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/concurrency/CMakeFiles/obj.clangTidyConcurrencyModule.dir/ConcurrencyTidyModule.cpp.o -MF tools/extra/clang-tidy/concurrency/CMakeFiles/obj.clangTidyConcurrencyModule.dir/ConcurrencyTidyModule.cpp.o.d -o tools/extra/clang-tidy/concurrency/CMakeFiles/obj.clangTidyConcurrencyModule.dir/ConcurrencyTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/concurrency/ConcurrencyTidyModule.cpp [1452/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/concurrency -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/concurrency -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/concurrency/CMakeFiles/obj.clangTidyConcurrencyModule.dir/MtUnsafeCheck.cpp.o -MF tools/extra/clang-tidy/concurrency/CMakeFiles/obj.clangTidyConcurrencyModule.dir/MtUnsafeCheck.cpp.o.d -o tools/extra/clang-tidy/concurrency/CMakeFiles/obj.clangTidyConcurrencyModule.dir/MtUnsafeCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/concurrency/MtUnsafeCheck.cpp [1453/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidCapturingLambdaCoroutinesCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidCapturingLambdaCoroutinesCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidCapturingLambdaCoroutinesCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/AvoidCapturingLambdaCoroutinesCheck.cpp [1454/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/concurrency -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/concurrency -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/concurrency/CMakeFiles/obj.clangTidyConcurrencyModule.dir/ThreadCanceltypeAsynchronousCheck.cpp.o -MF tools/extra/clang-tidy/concurrency/CMakeFiles/obj.clangTidyConcurrencyModule.dir/ThreadCanceltypeAsynchronousCheck.cpp.o.d -o tools/extra/clang-tidy/concurrency/CMakeFiles/obj.clangTidyConcurrencyModule.dir/ThreadCanceltypeAsynchronousCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/concurrency/ThreadCanceltypeAsynchronousCheck.cpp [1455/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidConstOrRefDataMembersCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidConstOrRefDataMembersCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidConstOrRefDataMembersCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/AvoidConstOrRefDataMembersCheck.cpp [1456/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidDoWhileCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidDoWhileCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidDoWhileCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/AvoidDoWhileCheck.cpp [1457/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidGotoCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidGotoCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidGotoCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/AvoidGotoCheck.cpp [1458/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidNonConstGlobalVariablesCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidNonConstGlobalVariablesCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidNonConstGlobalVariablesCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/AvoidNonConstGlobalVariablesCheck.cpp [1459/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidReferenceCoroutineParametersCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidReferenceCoroutineParametersCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidReferenceCoroutineParametersCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/AvoidReferenceCoroutineParametersCheck.cpp [1460/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/CppCoreGuidelinesTidyModule.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/CppCoreGuidelinesTidyModule.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/CppCoreGuidelinesTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/CppCoreGuidelinesTidyModule.cpp [1461/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/InterfacesGlobalInitCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/InterfacesGlobalInitCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/InterfacesGlobalInitCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/InterfacesGlobalInitCheck.cpp [1462/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/InitVariablesCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/InitVariablesCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/InitVariablesCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/InitVariablesCheck.cpp [1463/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/MisleadingCaptureDefaultByValueCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/MisleadingCaptureDefaultByValueCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/MisleadingCaptureDefaultByValueCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/MisleadingCaptureDefaultByValueCheck.cpp [1464/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/MacroUsageCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/MacroUsageCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/MacroUsageCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/MacroUsageCheck.cpp [1465/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/MissingStdForwardCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/MissingStdForwardCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/MissingStdForwardCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/MissingStdForwardCheck.cpp [1466/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/NarrowingConversionsCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/NarrowingConversionsCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/NarrowingConversionsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/NarrowingConversionsCheck.cpp [1467/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/NoMallocCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/NoMallocCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/NoMallocCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/NoMallocCheck.cpp [1468/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/PreferMemberInitializerCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/PreferMemberInitializerCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/PreferMemberInitializerCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/PreferMemberInitializerCheck.cpp [1469/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/OwningMemoryCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/OwningMemoryCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/OwningMemoryCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/OwningMemoryCheck.cpp [1470/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProBoundsArrayToPointerDecayCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProBoundsArrayToPointerDecayCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProBoundsArrayToPointerDecayCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.cpp [1471/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProBoundsPointerArithmeticCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProBoundsPointerArithmeticCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProBoundsPointerArithmeticCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/ProBoundsPointerArithmeticCheck.cpp [1472/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProBoundsConstantArrayIndexCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProBoundsConstantArrayIndexCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProBoundsConstantArrayIndexCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/ProBoundsConstantArrayIndexCheck.cpp [1473/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeConstCastCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeConstCastCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeConstCastCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/ProTypeConstCastCheck.cpp [1474/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeCstyleCastCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeCstyleCastCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeCstyleCastCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/ProTypeCstyleCastCheck.cpp [1475/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeReinterpretCastCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeReinterpretCastCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeReinterpretCastCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/ProTypeReinterpretCastCheck.cpp [1476/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeStaticCastDowncastCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeStaticCastDowncastCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeStaticCastDowncastCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/ProTypeStaticCastDowncastCheck.cpp [1477/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeMemberInitCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeMemberInitCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeMemberInitCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.cpp [1478/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeUnionAccessCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeUnionAccessCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeUnionAccessCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/ProTypeUnionAccessCheck.cpp [1479/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeVarargCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeVarargCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeVarargCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/ProTypeVarargCheck.cpp [1480/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/RvalueReferenceParamNotMovedCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/RvalueReferenceParamNotMovedCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/RvalueReferenceParamNotMovedCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/RvalueReferenceParamNotMovedCheck.cpp [1481/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/SlicingCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/SlicingCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/SlicingCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/SlicingCheck.cpp [1482/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/SpecialMemberFunctionsCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/SpecialMemberFunctionsCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/SpecialMemberFunctionsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/SpecialMemberFunctionsCheck.cpp [1483/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/VirtualClassDestructorCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/VirtualClassDestructorCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/VirtualClassDestructorCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/VirtualClassDestructorCheck.cpp [1484/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/darwin -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/darwin -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/darwin/CMakeFiles/obj.clangTidyDarwinModule.dir/AvoidSpinlockCheck.cpp.o -MF tools/extra/clang-tidy/darwin/CMakeFiles/obj.clangTidyDarwinModule.dir/AvoidSpinlockCheck.cpp.o.d -o tools/extra/clang-tidy/darwin/CMakeFiles/obj.clangTidyDarwinModule.dir/AvoidSpinlockCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/darwin/AvoidSpinlockCheck.cpp [1485/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/darwin -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/darwin -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/darwin/CMakeFiles/obj.clangTidyDarwinModule.dir/DarwinTidyModule.cpp.o -MF tools/extra/clang-tidy/darwin/CMakeFiles/obj.clangTidyDarwinModule.dir/DarwinTidyModule.cpp.o.d -o tools/extra/clang-tidy/darwin/CMakeFiles/obj.clangTidyDarwinModule.dir/DarwinTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/darwin/DarwinTidyModule.cpp [1486/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/darwin -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/darwin -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/darwin/CMakeFiles/obj.clangTidyDarwinModule.dir/DispatchOnceNonstaticCheck.cpp.o -MF tools/extra/clang-tidy/darwin/CMakeFiles/obj.clangTidyDarwinModule.dir/DispatchOnceNonstaticCheck.cpp.o.d -o tools/extra/clang-tidy/darwin/CMakeFiles/obj.clangTidyDarwinModule.dir/DispatchOnceNonstaticCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/darwin/DispatchOnceNonstaticCheck.cpp [1487/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/DefaultArgumentsCallsCheck.cpp.o -MF tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/DefaultArgumentsCallsCheck.cpp.o.d -o tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/DefaultArgumentsCallsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia/DefaultArgumentsCallsCheck.cpp [1488/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/DefaultArgumentsDeclarationsCheck.cpp.o -MF tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/DefaultArgumentsDeclarationsCheck.cpp.o.d -o tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/DefaultArgumentsDeclarationsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia/DefaultArgumentsDeclarationsCheck.cpp [1489/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/MultipleInheritanceCheck.cpp.o -MF tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/MultipleInheritanceCheck.cpp.o.d -o tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/MultipleInheritanceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia/MultipleInheritanceCheck.cpp [1490/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/FuchsiaTidyModule.cpp.o -MF tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/FuchsiaTidyModule.cpp.o.d -o tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/FuchsiaTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia/FuchsiaTidyModule.cpp [1491/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/OverloadedOperatorCheck.cpp.o -MF tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/OverloadedOperatorCheck.cpp.o.d -o tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/OverloadedOperatorCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia/OverloadedOperatorCheck.cpp [1492/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/StaticallyConstructedObjectsCheck.cpp.o -MF tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/StaticallyConstructedObjectsCheck.cpp.o.d -o tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/StaticallyConstructedObjectsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia/StaticallyConstructedObjectsCheck.cpp [1493/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/TrailingReturnCheck.cpp.o -MF tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/TrailingReturnCheck.cpp.o.d -o tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/TrailingReturnCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia/TrailingReturnCheck.cpp [1494/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/VirtualInheritanceCheck.cpp.o -MF tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/VirtualInheritanceCheck.cpp.o.d -o tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/VirtualInheritanceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia/VirtualInheritanceCheck.cpp [1495/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/AvoidCStyleCastsCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/AvoidCStyleCastsCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/AvoidCStyleCastsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/AvoidCStyleCastsCheck.cpp [1496/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/AvoidThrowingObjCExceptionCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/AvoidThrowingObjCExceptionCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/AvoidThrowingObjCExceptionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/AvoidThrowingObjCExceptionCheck.cpp [1497/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/AvoidNSObjectNewCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/AvoidNSObjectNewCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/AvoidNSObjectNewCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/AvoidNSObjectNewCheck.cpp [1498/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/DefaultArgumentsCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/DefaultArgumentsCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/DefaultArgumentsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/DefaultArgumentsCheck.cpp [1499/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/AvoidUnderscoreInGoogletestNameCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/AvoidUnderscoreInGoogletestNameCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/AvoidUnderscoreInGoogletestNameCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/AvoidUnderscoreInGoogletestNameCheck.cpp [1500/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/ExplicitConstructorCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/ExplicitConstructorCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/ExplicitConstructorCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/ExplicitConstructorCheck.cpp [1501/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/ExplicitMakePairCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/ExplicitMakePairCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/ExplicitMakePairCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/ExplicitMakePairCheck.cpp [1502/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/FunctionNamingCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/FunctionNamingCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/FunctionNamingCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/FunctionNamingCheck.cpp [1503/2015] : && /usr/bin/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,defs -Wl,-z,nodelete -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections -Wl,-Bsymbolic-functions -shared -Wl,-soname,libclang-cpp.so.17 -o lib64/libclang-cpp.so.17 lib/Basic/CMakeFiles/obj.clangBasic.dir/Attributes.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Builtins.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/CLWarnings.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/CharInfo.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/CodeGenOptions.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Cuda.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/DarwinSDKInfo.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Diagnostic.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/DiagnosticIDs.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/DiagnosticOptions.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/ExpressionTraits.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/FileEntry.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/FileManager.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/FileSystemStatCache.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/IdentifierTable.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/LangOptions.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/LangStandards.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/MakeSupport.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Module.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/ObjCRuntime.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/OpenCLOptions.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/OpenMPKinds.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/OperatorPrecedence.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/ParsedAttrInfo.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/ProfileList.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/NoSanitizeList.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/SanitizerSpecialCaseList.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Sanitizers.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Sarif.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/SourceLocation.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/SourceManager.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Stack.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/TargetID.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/TargetInfo.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AArch64.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AMDGPU.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/ARC.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/ARM.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AVR.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/BPF.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/CSKY.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/DirectX.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Hexagon.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Lanai.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Le64.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/LoongArch.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/M68k.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/MSP430.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Mips.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/NVPTX.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/OSTargets.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/PNaCl.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/PPC.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/RISCV.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/SPIR.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Sparc.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/SystemZ.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/TCE.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/VE.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/WebAssembly.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/X86.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/XCore.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/TokenKinds.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/TypeTraits.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Version.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Warnings.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/XRayInstr.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/XRayLists.cpp.o lib/APINotes/CMakeFiles/obj.clangAPINotes.dir/APINotesTypes.cpp.o lib/APINotes/CMakeFiles/obj.clangAPINotes.dir/APINotesYAMLCompiler.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/DependencyDirectivesScanner.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/HeaderMap.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/HeaderSearch.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/InitHeaderSearch.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/Lexer.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/LiteralSupport.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/MacroArgs.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/MacroInfo.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/ModuleMap.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PPCaching.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PPCallbacks.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PPConditionalDirectiveRecord.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PPDirectives.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PPExpressions.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PPLexerChange.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PPMacroExpansion.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/Pragma.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PreprocessingRecord.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/Preprocessor.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PreprocessorLexer.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/ScratchBuffer.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/TokenConcatenation.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/TokenLexer.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseAST.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseCXXInlineMethods.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseDecl.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseDeclCXX.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseExpr.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseExprCXX.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseHLSL.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseInit.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseObjc.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseOpenMP.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParsePragma.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseStmt.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseStmtAsm.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseTemplate.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseTentative.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/Parser.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/APValue.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTConcept.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTConsumer.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTContext.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTDiagnostic.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTDumper.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTImporter.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTImporterLookupTable.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTStructuralEquivalence.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTTypeTraits.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/AttrDocTable.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/AttrImpl.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Comment.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/CommentBriefParser.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/CommentCommandTraits.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/CommentLexer.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/CommentParser.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/CommentSema.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ComparisonCategories.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ComputeDependence.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/CXXInheritance.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DataCollection.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Decl.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclarationName.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclBase.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclCXX.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclFriend.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclGroup.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclObjC.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclOpenMP.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclPrinter.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclTemplate.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ParentMapContext.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Expr.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ExprClassification.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ExprConcepts.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ExprConstant.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ExprCXX.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ExprObjC.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ExternalASTMerger.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ExternalASTSource.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/FormatString.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/InheritViz.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeEmitter.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeExprGen.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeGenError.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeStmtGen.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Context.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Descriptor.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Disasm.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/EvalEmitter.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Frame.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Function.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpBuiltin.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Floating.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Interp.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpBlock.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpFrame.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpStack.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpState.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Pointer.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/PrimType.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Program.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Record.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Source.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/State.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ItaniumCXXABI.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ItaniumMangle.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/JSONNodeDumper.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Mangle.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/MicrosoftCXXABI.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/MicrosoftMangle.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/NestedNameSpecifier.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/NSAPI.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ODRDiagsEmitter.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ODRHash.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/OpenMPClause.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/OSLog.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ParentMap.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/PrintfFormatString.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/QualTypeNames.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Randstruct.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/RawCommentList.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/RecordLayout.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/RecordLayoutBuilder.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ScanfFormatString.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/SelectorLocationsKind.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Stmt.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/StmtCXX.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/StmtIterator.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/StmtObjC.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/StmtOpenMP.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/StmtPrinter.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/StmtProfile.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/StmtViz.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/TemplateBase.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/TemplateName.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/TextNodeDumper.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Type.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/TypeLoc.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/TypePrinter.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/VTableBuilder.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/VTTBuilder.cpp.o lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Diagnostics.cpp.o lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Marshallers.cpp.o lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Parser.cpp.o lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Registry.cpp.o lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/VariantValue.cpp.o lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/ASTMatchFinder.cpp.o lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/ASTMatchersInternal.cpp.o lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/GtestMatchers.cpp.o lib/CrossTU/CMakeFiles/obj.clangCrossTU.dir/CrossTranslationUnit.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/AnalysisBasedWarnings.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/CodeCompleteConsumer.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/DeclSpec.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/DelayedDiagnostic.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/HLSLExternalSemaSource.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/IdentifierResolver.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/JumpDiagnostics.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/MultiplexExternalSemaSource.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/ParsedAttr.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/Scope.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/ScopeInfo.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/Sema.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAccess.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAttr.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAvailability.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCXXScopeSpec.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCast.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaChecking.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCodeComplete.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaConcept.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaConsumer.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCoroutine.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCUDA.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDecl.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclAttr.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclCXX.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclObjC.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExceptionSpec.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExpr.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprCXX.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprMember.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprObjC.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaFixItUtils.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaHLSL.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaInit.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaLambda.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaLookup.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaModule.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaObjCProperty.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaOpenMP.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaOverload.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaPseudoObject.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaRISCVVectorLookup.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmt.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmtAsm.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmtAttr.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaSYCL.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplate.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateDeduction.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateInstantiate.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateInstantiateDecl.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateVariadic.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaType.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/TypeLocBuilder.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ABIInfo.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ABIInfoImpl.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/BackendUtil.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGAtomic.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBlocks.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBuiltin.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCUDANV.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCUDARuntime.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCXX.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCXXABI.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCall.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGClass.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCleanup.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCoroutine.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDebugInfo.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDecl.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDeclCXX.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGException.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExpr.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprAgg.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprCXX.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprComplex.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprConstant.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprScalar.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGGPUBuiltin.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGHLSLRuntime.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGLoopInfo.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGNonTrivialStruct.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjC.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCGNU.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCMac.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCRuntime.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenCLRuntime.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenMPRuntime.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenMPRuntimeGPU.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGRecordLayoutBuilder.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGStmt.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGStmtOpenMP.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGVTT.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGVTables.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenABITypes.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenAction.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenFunction.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenModule.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenPGO.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenTBAA.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenTypes.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ConstantInitBuilder.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CoverageMappingGen.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ItaniumCXXABI.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/MacroPPCallbacks.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/MicrosoftCXXABI.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ModuleBuilder.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ObjectFilePCHContainerOperations.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/PatternInit.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/SanitizerMetadata.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/SwiftCallingConv.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/TargetInfo.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AArch64.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AMDGPU.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/ARC.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/ARM.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AVR.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/BPF.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/CSKY.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Hexagon.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Lanai.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/LoongArch.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/M68k.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/MSP430.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Mips.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/NVPTX.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/PNaCl.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/PPC.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/RISCV.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/SPIR.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Sparc.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/SystemZ.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/TCE.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/VE.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/WebAssembly.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/X86.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/XCore.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/VarBypassDetector.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/AnalysisDeclContext.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/BodyFarm.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CalledOnceCheck.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFG.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFGReachabilityAnalysis.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFGStmtMap.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CallGraph.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CloneDetection.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CocoaConventions.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ConstructionContext.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/Consumed.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CodeInjector.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/Dominators.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ExprMutationAnalyzer.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/IntervalPartition.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/IssueHash.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/LiveVariables.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/MacroExpansionContext.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ObjCNoReturn.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/PathDiagnostic.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/PostOrderCFGView.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ProgramPoint.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ReachableCode.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/RetainSummaryManager.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafety.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyCommon.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyLogical.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyTIL.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/UninitializedValues.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/UnsafeBufferUsage.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Arena.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/ControlFlowContext.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DataflowAnalysisContext.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DataflowEnvironment.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Formula.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/HTMLLogger.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Logger.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/RecordOps.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Transfer.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/TypeErasedDataflowAnalysis.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Value.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/WatchedLiteralsSolver.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DebugSupport.cpp.o lib/Analysis/FlowSensitive/Models/CMakeFiles/obj.clangAnalysisFlowSensitiveModels.dir/ChromiumCheckModel.cpp.o lib/Analysis/FlowSensitive/Models/CMakeFiles/obj.clangAnalysisFlowSensitiveModels.dir/UncheckedOptionalAccessModel.cpp.o lib/Edit/CMakeFiles/obj.clangEdit.dir/Commit.cpp.o lib/Edit/CMakeFiles/obj.clangEdit.dir/EditedSource.cpp.o lib/Edit/CMakeFiles/obj.clangEdit.dir/RewriteObjCFoundationAPI.cpp.o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/API.cpp.o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/APIIgnoresList.cpp.o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/AvailabilityInfo.cpp.o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/ExtractAPIConsumer.cpp.o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/DeclarationFragments.cpp.o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/Serialization/SymbolGraphSerializer.cpp.o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/TypedefUnderlyingTypeResolver.cpp.o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/DeltaTree.cpp.o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/HTMLRewrite.cpp.o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/RewriteRope.cpp.o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/Rewriter.cpp.o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/TokenRewriter.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ARCMT.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ARCMTActions.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/FileRemapper.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ObjCMT.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/PlistReporter.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransAPIUses.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransARCAssign.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransAutoreleasePool.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransBlockObjCVariable.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransEmptyStatementsAndDealloc.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransGCAttrs.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransGCCalls.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransProperties.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransProtectedScope.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransRetainReleaseDealloc.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransUnbridgedCasts.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransUnusedInitDelegate.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransZeroOutPropsInDealloc.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransformActions.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/Transforms.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Action.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Compilation.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Distro.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Driver.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/DriverOptions.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Job.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Multilib.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/MultilibBuilder.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/OffloadBundler.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/OptionUtils.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Phases.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/SanitizerArgs.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Tool.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChain.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/AArch64.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/ARM.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/CSKY.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/LoongArch.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/M68k.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/Mips.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/PPC.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/RISCV.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/Sparc.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/SystemZ.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/VE.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/X86.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AIX.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Ananas.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AMDGPU.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AMDGPUOpenMP.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AVR.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/BareMetal.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Clang.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CloudABI.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CommonArgs.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Contiki.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CrossWindows.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CSKYToolChain.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Cuda.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Darwin.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/DragonFly.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Flang.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/FreeBSD.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Fuchsia.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Gnu.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Haiku.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPUtility.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPAMD.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPSPV.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Hexagon.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HLSL.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Hurd.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Linux.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MipsLinux.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MinGW.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Minix.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MSP430.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MSVC.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Myriad.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/NaCl.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/NetBSD.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/OHOS.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/OpenBSD.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PS4CPU.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/RISCVToolchain.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Solaris.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/SPIRV.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/TCE.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/VEToolchain.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/WebAssembly.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/XCore.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PPCLinux.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PPCFreeBSD.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/InterfaceStubs.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/ZOS.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Types.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/XRayArgs.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTCommon.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReader.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReaderDecl.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReaderStmt.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriter.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriterDecl.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriterStmt.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/GeneratePCH.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/GlobalModuleIndex.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/InMemoryModuleCache.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleFile.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleFileExtension.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleManager.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/PCHContainerOperations.cpp.o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/FixItRewriter.cpp.o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/FrontendActions.cpp.o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/HTMLPrint.cpp.o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/InclusionRewriter.cpp.o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteMacros.cpp.o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteModernObjC.cpp.o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteObjC.cpp.o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteTest.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTConsumers.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTMerge.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTUnit.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ChainedDiagnosticConsumer.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ChainedIncludesSource.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CompilerInstance.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CompilerInvocation.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CreateInvocationFromCommandLine.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DependencyFile.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DependencyGraph.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DiagnosticRenderer.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendAction.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendActions.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendOptions.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/HeaderIncludeGen.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/InitPreprocessor.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/LayoutOverrideSource.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/LogDiagnosticPrinter.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ModuleDependencyCollector.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/MultiplexConsumer.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/PrecompiledPreamble.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/PrintPreprocessedOutput.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SARIFDiagnostic.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SARIFDiagnosticPrinter.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SerializedDiagnosticPrinter.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SerializedDiagnosticReader.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TestModuleFileExtension.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnostic.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnosticBuffer.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnosticPrinter.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/VerifyDiagnosticConsumer.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/InterfaceStubFunctionsConsumer.cpp.o lib/FrontendTool/CMakeFiles/obj.clangFrontendTool.dir/ExecuteCompilerInvocation.cpp.o lib/Tooling/Core/CMakeFiles/obj.clangToolingCore.dir/Diagnostic.cpp.o lib/Tooling/Core/CMakeFiles/obj.clangToolingCore.dir/Replacement.cpp.o lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/HeaderAnalysis.cpp.o lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/HeaderIncludes.cpp.o lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/IncludeStyle.cpp.o lib/Tooling/Inclusions/Stdlib/CMakeFiles/obj.clangToolingInclusionsStdlib.dir/StandardLibrary.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/ASTSelection.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/ASTSelectionRequirements.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/AtomicChange.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Extract/Extract.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Extract/SourceExtraction.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Lookup.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/RefactoringActions.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/RenamingAction.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/SymbolOccurrences.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRFinder.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRFindingAction.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRLocFinder.cpp.o lib/Tooling/ASTDiff/CMakeFiles/obj.clangToolingASTDiff.dir/ASTDiff.cpp.o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/BuildTree.cpp.o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/ComputeReplacements.cpp.o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Nodes.cpp.o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Mutations.cpp.o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/TokenBufferTokenManager.cpp.o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Synthesis.cpp.o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Tokens.cpp.o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Tree.cpp.o lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningFilesystem.cpp.o lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningService.cpp.o lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningWorker.cpp.o lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningTool.cpp.o lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/ModuleDepCollector.cpp.o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Parsing.cpp.o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/RangeSelector.cpp.o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/RewriteRule.cpp.o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/SourceCode.cpp.o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/SourceCodeBuilders.cpp.o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Stencil.cpp.o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Transformer.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/AllTUsExecution.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/ArgumentsAdjusters.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/CommonOptionsParser.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/CompilationDatabase.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/Execution.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/ExpandResponseFilesCompilationDatabase.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/FileMatchTrie.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/FixIt.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/GuessTargetAndModeCompilationDatabase.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/InterpolatingCompilationDatabase.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/JSONCompilationDatabase.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/Refactoring.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/RefactoringCallbacks.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/StandaloneExecution.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/NodeIntrospection.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/Tooling.cpp.o lib/DirectoryWatcher/CMakeFiles/obj.clangDirectoryWatcher.dir/DirectoryScanner.cpp.o lib/DirectoryWatcher/CMakeFiles/obj.clangDirectoryWatcher.dir/linux/DirectoryWatcher-linux.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/CommentToXML.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/FileIndexRecord.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexBody.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexDecl.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexingAction.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexingContext.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexSymbol.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexTypeSourceInfo.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/USRGeneration.cpp.o lib/IndexSerialization/CMakeFiles/obj.clangIndexSerialization.dir/SerializablePathCollection.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/APSIntType.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/AnalysisManager.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/AnalyzerOptions.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BasicValueFactory.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BlockCounter.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BugReporter.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BugReporterVisitors.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CallDescription.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CallEvent.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Checker.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerContext.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerHelpers.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerManager.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerRegistryData.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CommonBugCategories.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ConstraintManager.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CoreEngine.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/DynamicExtent.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/DynamicType.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Environment.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExplodedGraph.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngine.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineC.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineCXX.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineCallAndReturn.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineObjC.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/FunctionSummary.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/HTMLDiagnostics.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/LoopUnrolling.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/LoopWidening.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/MemRegion.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/PlistDiagnostics.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ProgramState.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RangeConstraintManager.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RangedConstraintManager.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RegionStore.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SarifDiagnostics.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SimpleConstraintManager.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SimpleSValBuilder.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SMTConstraintManager.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Store.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SValBuilder.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SVals.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SymbolManager.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/TextDiagnostics.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/WorkList.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/AnalysisOrderChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/AnalyzerStatsChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ArrayBoundChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ArrayBoundCheckerV2.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BasicObjCFoundationChecks.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BlockInCriticalSectionChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BoolAssignmentChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BuiltinFunctionChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CStringChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CStringSyntaxChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CallAndMessageChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CastSizeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CastToStructChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CastValueChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckObjCDealloc.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckObjCInstMethSignature.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckPlacementNew.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckSecuritySyntaxOnly.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckSizeofPointer.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckerDocumentation.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ChrootChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CloneChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ContainerModeling.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ConversionChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CXXSelfAssignmentChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DeadStoresChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DebugCheckers.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DebugContainerModeling.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DebugIteratorModeling.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DeleteWithNonVirtualDtorChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DereferenceChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DirectIvarAssignment.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DivZeroChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DynamicTypePropagation.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DynamicTypeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/EnumCastOutOfRangeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ErrnoChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ErrnoModeling.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ErrnoTesterChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ExprInspectionChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/FixedAddressChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/FuchsiaHandleChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/GCDAntipatternChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/GenericTaintChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/GTestChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IdenticalExprChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/InnerPointerChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/InvalidatedIteratorChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/cert/InvalidPtrChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/Iterator.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IteratorModeling.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IteratorRangeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IvarInvalidationChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/LLVMConventionsChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/LocalizationChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MacOSKeychainAPIChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MacOSXAPIChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MallocChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MallocOverflowSecurityChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MallocSizeofChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MismatchedIteratorChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MmapWriteExecChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MIGChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MoveChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MPI-Checker/MPIBugReporter.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MPI-Checker/MPIChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MPI-Checker/MPIFunctionClassifier.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NSAutoreleasePoolChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NSErrorChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NoReturnFunctionChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NonNullParamChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NonnullGlobalConstantsChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NullabilityChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NumberObjectConversionChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCAtSyncChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCAutoreleaseWriteChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCContainersASTChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCContainersChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCMissingSuperCallChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCPropertyChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCSelfInitChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCSuperDeallocChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCUnusedIVarsChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/OSObjectCStyleCast.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PaddingChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerArithChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerIterationChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerSortingChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerSubChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PthreadLockChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/cert/PutenvWithAutoChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/RetainCountChecker/RetainCountChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/RetainCountChecker/RetainCountDiagnostics.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ReturnPointerRangeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ReturnUndefChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ReturnValueChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/RunLoopAutoreleaseLeakChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/SimpleStreamChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/SmartPtrChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/SmartPtrModeling.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StackAddrEscapeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StdLibraryFunctionsChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/STLAlgorithmModeling.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StreamChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StringChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/Taint.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TaintTesterChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TestAfterDivZeroChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TraversalChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TrustNonnullChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TrustReturnsNonnullChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefBranchChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefCapturedBlockVarChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefResultChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefinedArraySubscriptChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefinedAssignmentChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefinedNewArraySizeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UninitializedObject/UninitializedObjectChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UninitializedObject/UninitializedPointee.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UnixAPIChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UnreachableCodeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/VforkChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/VLASizeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ValistChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/VirtualCallChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/NoUncountedMembersChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/ASTUtils.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/PtrTypesSemantics.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/RefCntblBaseVirtualDtorChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/UncountedCallArgsChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/UncountedLambdaCapturesChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/UncountedLocalVarsChecker.cpp.o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/AnalysisConsumer.cpp.o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/AnalyzerHelpFlags.cpp.o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/CheckerRegistry.cpp.o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/CreateCheckerManager.cpp.o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/FrontendActions.cpp.o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/ModelConsumer.cpp.o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/ModelInjector.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/AffectedRangeManager.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/BreakableToken.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/ContinuationIndenter.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/DefinitionBlockSeparator.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/Format.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/FormatToken.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/FormatTokenLexer.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/IntegerLiteralSeparatorFixer.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/MacroCallReconstructor.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/MacroExpander.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/NamespaceEndCommentsFixer.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/QualifierAlignmentFixer.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/SortJavaScriptImports.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/TokenAnalyzer.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/TokenAnnotator.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/UnwrappedLineFormatter.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/UnwrappedLineParser.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/UsingDeclarationsSorter.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/WhitespaceManager.cpp.o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/DeviceOffload.cpp.o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/IncrementalExecutor.cpp.o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/IncrementalParser.cpp.o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/Interpreter.cpp.o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/InterpreterUtils.cpp.o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/Value.cpp.o lib/Support/CMakeFiles/obj.clangSupport.dir/RISCVVIntrinsicUtils.cpp.o tools/clang-fuzzer/handle-cxx/CMakeFiles/obj.clangHandleCXX.dir/handle_cxx.cpp.o tools/clang-fuzzer/handle-llvm/CMakeFiles/obj.clangHandleLLVM.dir/handle_llvm.cpp.o tools/clang-shlib/CMakeFiles/clang-cpp.dir/clang-shlib.cpp.o /usr/lib64/libLLVM-17.so && : In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APInt.h:168:3, inlined from '__dt_base ' at /usr/include/llvm/ADT/APSInt.h:23:0, inlined from 'checkOMPArraySectionConstantForReduction' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19127:0, inlined from 'actOnOMPReductionKindClause.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19485:0: /usr/include/llvm/ADT/APInt.h:170:18: warning: 'operator delete []' called on a pointer to an unallocated object '1B' [-Wfree-nonheap-object] 170 | delete[] U.pVal; | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:0, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:0, inlined from 'InitGlobal.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:0: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:0, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:0, inlined from 'InitGlobalTemp.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:0: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | In function 'make_unique', inlined from '__ct ' at /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff/ASTDiff.cpp:568:61, inlined from 'addOptimalMapping' at /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff/ASTDiff.cpp:786:53: /usr/include/c++/12/bits/unique_ptr.h:1080:30: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 1080 | { return unique_ptr<_Tp>(new remove_extent_t<_Tp>[__num]()); } | ^ /usr/include/c++/12/new: In member function 'addOptimalMapping': /usr/include/c++/12/new:128:26: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ In function 'make_unique', inlined from '__ct ' at /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff/ASTDiff.cpp:570:63, inlined from 'addOptimalMapping' at /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff/ASTDiff.cpp:786:53: /usr/include/c++/12/bits/unique_ptr.h:1080:30: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 1080 | { return unique_ptr<_Tp>(new remove_extent_t<_Tp>[__num]()); } | ^ /usr/include/c++/12/new: In member function 'addOptimalMapping': /usr/include/c++/12/new:128:26: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ In function 'make_unique', inlined from '__ct ' at /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff/ASTDiff.cpp:573:47, inlined from 'addOptimalMapping' at /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff/ASTDiff.cpp:786:53: /usr/include/c++/12/bits/unique_ptr.h:1080:30: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 1080 | { return unique_ptr<_Tp>(new remove_extent_t<_Tp>[__num]()); } | ^ /usr/include/c++/12/new: In member function 'addOptimalMapping': /usr/include/c++/12/new:128:26: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ In function 'make_unique', inlined from '__ct ' at /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff/ASTDiff.cpp:574:49, inlined from 'addOptimalMapping' at /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff/ASTDiff.cpp:786:53: /usr/include/c++/12/bits/unique_ptr.h:1080:30: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 1080 | { return unique_ptr<_Tp>(new remove_extent_t<_Tp>[__num]()); } | ^ /usr/include/c++/12/new: In member function 'addOptimalMapping': /usr/include/c++/12/new:128:26: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ In function 'make_unique', inlined from '__ct ' at /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff/ASTDiff.cpp:40:42, inlined from 'matchTopDown' at /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff/ASTDiff.cpp:861:40: /usr/include/c++/12/bits/unique_ptr.h:1080:30: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 1080 | { return unique_ptr<_Tp>(new remove_extent_t<_Tp>[__num]()); } | ^ /usr/include/c++/12/new: In member function 'matchTopDown': /usr/include/c++/12/new:128:26: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ In function 'make_unique', inlined from '__ct ' at /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff/ASTDiff.cpp:41:42, inlined from 'matchTopDown' at /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff/ASTDiff.cpp:861:40: /usr/include/c++/12/bits/unique_ptr.h:1080:30: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 1080 | { return unique_ptr<_Tp>(new remove_extent_t<_Tp>[__num]()); } | ^ /usr/include/c++/12/new: In member function 'matchTopDown': /usr/include/c++/12/new:128:26: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ In function 'make_unique', inlined from '__ct ' at /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff/ASTDiff.cpp:41:42, inlined from 'matchTopDown' at /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff/ASTDiff.cpp:861:40: /usr/include/c++/12/bits/unique_ptr.h:1080:30: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 1080 | { return unique_ptr<_Tp>(new remove_extent_t<_Tp>[__num]()); } | ^ /usr/include/c++/12/new: In member function 'matchTopDown': /usr/include/c++/12/new:128:26: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp: In member function 'setDecompositionBindings': /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp:317:63: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 317 | new DecompositionDeclarator::Binding[Bindings.size()]; | ^ /usr/include/c++/12/new:128:26: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp: In function 'getFunction': /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp:286:69: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 286 | I.Fun.DeclsInPrototype = new NamedDecl *[DeclsInPrototype.size()]; | ^ /usr/include/c++/12/new:128:26: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ In function 'InitGlobal', inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:30: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobalBool': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:32, inlined from 'emitInitGlobalFloat' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10663:30, inlined from 'emitInitGlobalFloat' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10660:0: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobalFloat': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | [1504/2015] /usr/bin/cmake -E cmake_symlink_library lib64/libclang-cpp.so.17 lib64/libclang-cpp.so.17 lib64/libclang-cpp.so && : [1505/2015] : && /usr/bin/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,nodelete -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections -Wl,--version-script,"/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/plugins/SampleAnalyzer/SampleAnalyzerPlugin.exports" -shared -o lib64/SampleAnalyzerPlugin.so lib/Analysis/plugins/SampleAnalyzer/CMakeFiles/SampleAnalyzerPlugin.dir/MainCallChecker.cpp.o lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1506/2015] : && /usr/bin/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,nodelete -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections -Wl,--version-script,"/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/plugins/CheckerDependencyHandling/CheckerDependencyHandlingAnalyzerPlugin.exports" -shared -o lib64/CheckerDependencyHandlingAnalyzerPlugin.so lib/Analysis/plugins/CheckerDependencyHandling/CMakeFiles/CheckerDependencyHandlingAnalyzerPlugin.dir/CheckerDependencyHandling.cpp.o lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1507/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/GlobalNamesInHeadersCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/GlobalNamesInHeadersCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/GlobalNamesInHeadersCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/GlobalNamesInHeadersCheck.cpp [1508/2015] : && /usr/bin/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,nodelete -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections -Wl,--version-script,"/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/plugins/CheckerOptionHandling/CheckerOptionHandlingAnalyzerPlugin.exports" -shared -o lib64/CheckerOptionHandlingAnalyzerPlugin.so lib/Analysis/plugins/CheckerOptionHandling/CMakeFiles/CheckerOptionHandlingAnalyzerPlugin.dir/CheckerOptionHandling.cpp.o lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1509/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/GlobalVariableDeclarationCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/GlobalVariableDeclarationCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/GlobalVariableDeclarationCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/GlobalVariableDeclarationCheck.cpp [1510/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/GoogleTidyModule.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/GoogleTidyModule.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/GoogleTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/GoogleTidyModule.cpp [1511/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/IntegerTypesCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/IntegerTypesCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/IntegerTypesCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/IntegerTypesCheck.cpp [1512/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/diagtool/CMakeFiles/diagtool.dir/diagtool_main.cpp.o tools/diagtool/CMakeFiles/diagtool.dir/DiagTool.cpp.o tools/diagtool/CMakeFiles/diagtool.dir/DiagnosticNames.cpp.o tools/diagtool/CMakeFiles/diagtool.dir/FindDiagnosticID.cpp.o tools/diagtool/CMakeFiles/diagtool.dir/ListWarnings.cpp.o tools/diagtool/CMakeFiles/diagtool.dir/ShowEnabledWarnings.cpp.o tools/diagtool/CMakeFiles/diagtool.dir/TreeView.cpp.o -o bin/diagtool lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1513/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/OverloadedUnaryAndCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/OverloadedUnaryAndCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/OverloadedUnaryAndCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/OverloadedUnaryAndCheck.cpp [1514/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,--export-dynamic -rdynamic -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 tools/driver/CMakeFiles/clang.dir/driver.cpp.o tools/driver/CMakeFiles/clang.dir/cc1_main.cpp.o tools/driver/CMakeFiles/clang.dir/cc1as_main.cpp.o tools/driver/CMakeFiles/clang.dir/cc1gen_reproducer_main.cpp.o tools/driver/CMakeFiles/clang.dir/clang-driver.cpp.o -o bin/clang-17 lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1515/2015] /usr/bin/cmake -E cmake_symlink_executable bin/clang-17 bin/clang && cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./bin/clang++ && cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./bin/clang-cl && cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./bin/clang-cpp [1516/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/apinotes-test/CMakeFiles/apinotes-test.dir/APINotesTest.cpp.o -o bin/apinotes-test lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1517/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/TodoCommentCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/TodoCommentCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/TodoCommentCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/TodoCommentCheck.cpp [1518/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/UnnamedNamespaceInHeaderCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/UnnamedNamespaceInHeaderCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/UnnamedNamespaceInHeaderCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/UnnamedNamespaceInHeaderCheck.cpp [1519/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/clang-diff/CMakeFiles/clang-diff.dir/ClangDiff.cpp.o -o bin/clang-diff lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1520/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/clang-format/CMakeFiles/clang-format.dir/ClangFormat.cpp.o -o bin/clang-format lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1521/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/clang-import-test/CMakeFiles/clang-import-test.dir/clang-import-test.cpp.o -o bin/clang-import-test lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1522/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/UsingNamespaceDirectiveCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/UsingNamespaceDirectiveCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/UsingNamespaceDirectiveCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/UsingNamespaceDirectiveCheck.cpp [1523/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/clang-offload-packager/CMakeFiles/clang-offload-packager.dir/ClangOffloadPackager.cpp.o -o bin/clang-offload-packager lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1524/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/hicpp -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/hicpp -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/ExceptionBaseclassCheck.cpp.o -MF tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/ExceptionBaseclassCheck.cpp.o.d -o tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/ExceptionBaseclassCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/hicpp/ExceptionBaseclassCheck.cpp [1525/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/clang-offload-bundler/CMakeFiles/clang-offload-bundler.dir/ClangOffloadBundler.cpp.o -o bin/clang-offload-bundler lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1526/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/hicpp -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/hicpp -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/HICPPTidyModule.cpp.o -MF tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/HICPPTidyModule.cpp.o.d -o tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/HICPPTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/hicpp/HICPPTidyModule.cpp [1527/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/UpgradeGoogletestCaseCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/UpgradeGoogletestCaseCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/UpgradeGoogletestCaseCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/UpgradeGoogletestCaseCheck.cpp [1528/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/hicpp -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/hicpp -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/MultiwayPathsCoveredCheck.cpp.o -MF tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/MultiwayPathsCoveredCheck.cpp.o.d -o tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/MultiwayPathsCoveredCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/hicpp/MultiwayPathsCoveredCheck.cpp [1529/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/clang-scan-deps/CMakeFiles/clang-scan-deps.dir/ClangScanDeps.cpp.o tools/clang-scan-deps/CMakeFiles/clang-scan-deps.dir/clang-scan-deps-driver.cpp.o -o bin/clang-scan-deps lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1530/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,--export-dynamic -rdynamic -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/clang-repl/CMakeFiles/clang-repl.dir/ClangRepl.cpp.o -o bin/clang-repl lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1531/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/hicpp -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/hicpp -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/NoAssemblerCheck.cpp.o -MF tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/NoAssemblerCheck.cpp.o.d -o tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/NoAssemblerCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/hicpp/NoAssemblerCheck.cpp [1532/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/hicpp -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/hicpp -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/SignedBitwiseCheck.cpp.o -MF tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/SignedBitwiseCheck.cpp.o.d -o tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/SignedBitwiseCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/hicpp/SignedBitwiseCheck.cpp [1533/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/clang-rename/CMakeFiles/clang-rename.dir/ClangRename.cpp.o -o bin/clang-rename lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1534/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/linuxkernel -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/linuxkernel -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/linuxkernel/CMakeFiles/obj.clangTidyLinuxKernelModule.dir/LinuxKernelTidyModule.cpp.o -MF tools/extra/clang-tidy/linuxkernel/CMakeFiles/obj.clangTidyLinuxKernelModule.dir/LinuxKernelTidyModule.cpp.o.d -o tools/extra/clang-tidy/linuxkernel/CMakeFiles/obj.clangTidyLinuxKernelModule.dir/LinuxKernelTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/linuxkernel/LinuxKernelTidyModule.cpp [1535/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/clang-refactor/CMakeFiles/clang-refactor.dir/ClangRefactor.cpp.o tools/clang-refactor/CMakeFiles/clang-refactor.dir/TestSupport.cpp.o -o bin/clang-refactor lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1536/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/arcmt-test/CMakeFiles/arcmt-test.dir/arcmt-test.cpp.o -o bin/arcmt-test lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1537/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/clang-check/CMakeFiles/clang-check.dir/ClangCheck.cpp.o -o bin/clang-check lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1538/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/linuxkernel -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/linuxkernel -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/linuxkernel/CMakeFiles/obj.clangTidyLinuxKernelModule.dir/MustCheckErrsCheck.cpp.o -MF tools/extra/clang-tidy/linuxkernel/CMakeFiles/obj.clangTidyLinuxKernelModule.dir/MustCheckErrsCheck.cpp.o.d -o tools/extra/clang-tidy/linuxkernel/CMakeFiles/obj.clangTidyLinuxKernelModule.dir/MustCheckErrsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/linuxkernel/MustCheckErrsCheck.cpp [1539/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/clang-extdef-mapping/CMakeFiles/clang-extdef-mapping.dir/ClangExtDefMapGen.cpp.o -o bin/clang-extdef-mapping lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1540/2015] : && /usr/bin/cmake -E rm -f lib64/libclangApplyReplacements.a && /usr/bin/ar Dqc lib64/libclangApplyReplacements.a tools/extra/clang-apply-replacements/CMakeFiles/obj.clangApplyReplacements.dir/lib/Tooling/ApplyReplacements.cpp.o && /usr/bin/ranlib -D lib64/libclangApplyReplacements.a && : [1541/2015] : && /usr/bin/cmake -E rm -f lib64/libclangReorderFields.a && /usr/bin/ar Dqc lib64/libclangReorderFields.a tools/extra/clang-reorder-fields/CMakeFiles/obj.clangReorderFields.dir/ReorderFieldsAction.cpp.o && /usr/bin/ranlib -D lib64/libclangReorderFields.a && : [1542/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/llvm -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvm -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/LLVMTidyModule.cpp.o -MF tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/LLVMTidyModule.cpp.o.d -o tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/LLVMTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvm/LLVMTidyModule.cpp [1543/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/llvm -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvm -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/HeaderGuardCheck.cpp.o -MF tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/HeaderGuardCheck.cpp.o.d -o tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/HeaderGuardCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvm/HeaderGuardCheck.cpp [1544/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/llvm -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvm -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/IncludeOrderCheck.cpp.o -MF tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/IncludeOrderCheck.cpp.o.d -o tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/IncludeOrderCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvm/IncludeOrderCheck.cpp [1545/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/clang-apply-replacements/tool/CMakeFiles/clang-apply-replacements.dir/ClangApplyReplacementsMain.cpp.o -o bin/clang-apply-replacements lib64/libclangApplyReplacements.a lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1546/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/llvm -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvm -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/PreferRegisterOverUnsignedCheck.cpp.o -MF tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/PreferRegisterOverUnsignedCheck.cpp.o.d -o tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/PreferRegisterOverUnsignedCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvm/PreferRegisterOverUnsignedCheck.cpp [1547/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/llvm -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvm -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/PreferIsaOrDynCastInConditionalsCheck.cpp.o -MF tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/PreferIsaOrDynCastInConditionalsCheck.cpp.o.d -o tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/PreferIsaOrDynCastInConditionalsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvm/PreferIsaOrDynCastInConditionalsCheck.cpp [1548/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/clang-reorder-fields/tool/CMakeFiles/clang-reorder-fields.dir/ClangReorderFields.cpp.o -o bin/clang-reorder-fields lib64/libclangReorderFields.a lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1549/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/llvm -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvm -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/TwineLocalCheck.cpp.o -MF tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/TwineLocalCheck.cpp.o.d -o tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/TwineLocalCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvm/TwineLocalCheck.cpp [1550/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/modularize/CMakeFiles/modularize.dir/Modularize.cpp.o tools/extra/modularize/CMakeFiles/modularize.dir/ModuleAssistant.cpp.o tools/extra/modularize/CMakeFiles/modularize.dir/ModularizeUtilities.cpp.o tools/extra/modularize/CMakeFiles/modularize.dir/CoverageChecker.cpp.o tools/extra/modularize/CMakeFiles/modularize.dir/PreprocessorTracker.cpp.o -o bin/modularize lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1551/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/llvmlibc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvmlibc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/CalleeNamespaceCheck.cpp.o -MF tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/CalleeNamespaceCheck.cpp.o.d -o tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/CalleeNamespaceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvmlibc/CalleeNamespaceCheck.cpp [1552/2015] : && /usr/bin/cmake -E rm -f lib64/libclangTidy.a && /usr/bin/ar Dqc lib64/libclangTidy.a tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidy.cpp.o tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyCheck.cpp.o tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyModule.cpp.o tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyDiagnosticConsumer.cpp.o tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyOptions.cpp.o tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyProfiling.cpp.o tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ExpandModularHeadersPPCallbacks.cpp.o tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/GlobList.cpp.o tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/NoLintDirectiveHandler.cpp.o && /usr/bin/ranlib -D lib64/libclangTidy.a && : [1553/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/llvmlibc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvmlibc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/ImplementationInNamespaceCheck.cpp.o -MF tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/ImplementationInNamespaceCheck.cpp.o.d -o tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/ImplementationInNamespaceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvmlibc/ImplementationInNamespaceCheck.cpp [1554/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/llvmlibc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvmlibc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/InlineFunctionDeclCheck.cpp.o -MF tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/InlineFunctionDeclCheck.cpp.o.d -o tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/InlineFunctionDeclCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvmlibc/InlineFunctionDeclCheck.cpp [1555/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/llvmlibc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvmlibc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/LLVMLibcTidyModule.cpp.o -MF tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/LLVMLibcTidyModule.cpp.o.d -o tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/LLVMLibcTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvmlibc/LLVMLibcTidyModule.cpp [1556/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/llvmlibc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvmlibc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/RestrictSystemLibcHeadersCheck.cpp.o -MF tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/RestrictSystemLibcHeadersCheck.cpp.o.d -o tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/RestrictSystemLibcHeadersCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvmlibc/RestrictSystemLibcHeadersCheck.cpp [1557/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/ConstCorrectnessCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/ConstCorrectnessCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/ConstCorrectnessCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/ConstCorrectnessCheck.cpp [1558/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/DefinitionsInHeadersCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/DefinitionsInHeadersCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/DefinitionsInHeadersCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/DefinitionsInHeadersCheck.cpp [1559/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/HeaderIncludeCycleCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/HeaderIncludeCycleCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/HeaderIncludeCycleCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/HeaderIncludeCycleCheck.cpp [1560/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/ConfusableIdentifierCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/ConfusableIdentifierCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/ConfusableIdentifierCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/ConfusableIdentifierCheck.cpp [1561/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/MiscTidyModule.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/MiscTidyModule.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/MiscTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/MiscTidyModule.cpp [1562/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/IncludeCleanerCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/IncludeCleanerCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/IncludeCleanerCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/IncludeCleanerCheck.cpp [1563/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/MisleadingBidirectional.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/MisleadingBidirectional.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/MisleadingBidirectional.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/MisleadingBidirectional.cpp [1564/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/MisleadingIdentifier.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/MisleadingIdentifier.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/MisleadingIdentifier.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/MisleadingIdentifier.cpp [1565/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/MisplacedConstCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/MisplacedConstCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/MisplacedConstCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/MisplacedConstCheck.cpp [1566/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/NewDeleteOverloadsCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/NewDeleteOverloadsCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/NewDeleteOverloadsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/NewDeleteOverloadsCheck.cpp [1567/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/NonCopyableObjects.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/NonCopyableObjects.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/NonCopyableObjects.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/NonCopyableObjects.cpp [1568/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/NonPrivateMemberVariablesInClassesCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/NonPrivateMemberVariablesInClassesCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/NonPrivateMemberVariablesInClassesCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/NonPrivateMemberVariablesInClassesCheck.cpp [1569/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/NoRecursionCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/NoRecursionCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/NoRecursionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/NoRecursionCheck.cpp [1570/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/ThrowByValueCatchByReferenceCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/ThrowByValueCatchByReferenceCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/ThrowByValueCatchByReferenceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/ThrowByValueCatchByReferenceCheck.cpp [1571/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/StaticAssertCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/StaticAssertCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/StaticAssertCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/StaticAssertCheck.cpp [1572/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/RedundantExpressionCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/RedundantExpressionCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/RedundantExpressionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/RedundantExpressionCheck.cpp [1573/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UniqueptrResetReleaseCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UniqueptrResetReleaseCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UniqueptrResetReleaseCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/UniqueptrResetReleaseCheck.cpp [1574/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UnconventionalAssignOperatorCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UnconventionalAssignOperatorCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UnconventionalAssignOperatorCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/UnconventionalAssignOperatorCheck.cpp [1575/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UnusedAliasDeclsCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UnusedAliasDeclsCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UnusedAliasDeclsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/UnusedAliasDeclsCheck.cpp [1576/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UseAnonymousNamespaceCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UseAnonymousNamespaceCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UseAnonymousNamespaceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/UseAnonymousNamespaceCheck.cpp [1577/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/IntegralLiteralExpressionMatcher.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/IntegralLiteralExpressionMatcher.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/IntegralLiteralExpressionMatcher.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/IntegralLiteralExpressionMatcher.cpp [1578/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UnusedUsingDeclsCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UnusedUsingDeclsCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UnusedUsingDeclsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/UnusedUsingDeclsCheck.cpp [1579/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/AvoidBindCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/AvoidBindCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/AvoidBindCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/AvoidBindCheck.cpp [1580/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/AvoidCArraysCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/AvoidCArraysCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/AvoidCArraysCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/AvoidCArraysCheck.cpp [1581/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ConcatNestedNamespacesCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ConcatNestedNamespacesCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ConcatNestedNamespacesCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/ConcatNestedNamespacesCheck.cpp [1582/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UnusedParametersCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UnusedParametersCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UnusedParametersCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/UnusedParametersCheck.cpp [1583/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/DeprecatedIosBaseAliasesCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/DeprecatedIosBaseAliasesCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/DeprecatedIosBaseAliasesCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/DeprecatedIosBaseAliasesCheck.cpp [1584/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/DeprecatedHeadersCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/DeprecatedHeadersCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/DeprecatedHeadersCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/DeprecatedHeadersCheck.cpp [1585/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/MakeSharedCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/MakeSharedCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/MakeSharedCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/MakeSharedCheck.cpp [1586/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/MacroToEnumCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/MacroToEnumCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/MacroToEnumCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/MacroToEnumCheck.cpp [1587/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/MakeSmartPtrCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/MakeSmartPtrCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/MakeSmartPtrCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/MakeSmartPtrCheck.cpp [1588/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/MakeUniqueCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/MakeUniqueCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/MakeUniqueCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/MakeUniqueCheck.cpp [1589/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ModernizeTidyModule.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ModernizeTidyModule.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ModernizeTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/ModernizeTidyModule.cpp [1590/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/RawStringLiteralCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/RawStringLiteralCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/RawStringLiteralCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/RawStringLiteralCheck.cpp [1591/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/RedundantVoidArgCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/RedundantVoidArgCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/RedundantVoidArgCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/RedundantVoidArgCheck.cpp [1592/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ReplaceDisallowCopyAndAssignMacroCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ReplaceDisallowCopyAndAssignMacroCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ReplaceDisallowCopyAndAssignMacroCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/ReplaceDisallowCopyAndAssignMacroCheck.cpp [1593/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ReplaceAutoPtrCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ReplaceAutoPtrCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ReplaceAutoPtrCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/ReplaceAutoPtrCheck.cpp [1594/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/LoopConvertUtils.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/LoopConvertUtils.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/LoopConvertUtils.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/LoopConvertUtils.cpp [1595/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/PassByValueCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/PassByValueCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/PassByValueCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/PassByValueCheck.cpp [1596/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ReplaceRandomShuffleCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ReplaceRandomShuffleCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ReplaceRandomShuffleCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/ReplaceRandomShuffleCheck.cpp [1597/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ReturnBracedInitListCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ReturnBracedInitListCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ReturnBracedInitListCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/ReturnBracedInitListCheck.cpp [1598/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/LoopConvertCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/LoopConvertCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/LoopConvertCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/LoopConvertCheck.cpp [1599/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ShrinkToFitCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ShrinkToFitCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ShrinkToFitCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/ShrinkToFitCheck.cpp [1600/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/TypeTraitsCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/TypeTraitsCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/TypeTraitsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/TypeTraitsCheck.cpp [1601/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UnaryStaticAssertCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UnaryStaticAssertCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UnaryStaticAssertCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UnaryStaticAssertCheck.cpp [1602/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseBoolLiteralsCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseBoolLiteralsCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseBoolLiteralsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseBoolLiteralsCheck.cpp [1603/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseAutoCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseAutoCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseAutoCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseAutoCheck.cpp [1604/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseDefaultMemberInitCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseDefaultMemberInitCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseDefaultMemberInitCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseDefaultMemberInitCheck.cpp [1605/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseEmplaceCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseEmplaceCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseEmplaceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseEmplaceCheck.cpp [1606/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseEqualsDefaultCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseEqualsDefaultCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseEqualsDefaultCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseEqualsDefaultCheck.cpp [1607/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseEqualsDeleteCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseEqualsDeleteCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseEqualsDeleteCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseEqualsDeleteCheck.cpp [1608/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseNodiscardCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseNodiscardCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseNodiscardCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseNodiscardCheck.cpp [1609/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseNoexceptCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseNoexceptCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseNoexceptCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseNoexceptCheck.cpp [1610/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseOverrideCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseOverrideCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseOverrideCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseOverrideCheck.cpp [1611/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseStdPrintCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseStdPrintCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseStdPrintCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseStdPrintCheck.cpp [1612/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseTransparentFunctorsCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseTransparentFunctorsCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseTransparentFunctorsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseTransparentFunctorsCheck.cpp [1613/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseUncaughtExceptionsCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseUncaughtExceptionsCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseUncaughtExceptionsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseUncaughtExceptionsCheck.cpp [1614/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseUsingCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseUsingCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseUsingCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseUsingCheck.cpp [1615/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/mpi -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/mpi -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/mpi/CMakeFiles/obj.clangTidyMPIModule.dir/BufferDerefCheck.cpp.o -MF tools/extra/clang-tidy/mpi/CMakeFiles/obj.clangTidyMPIModule.dir/BufferDerefCheck.cpp.o.d -o tools/extra/clang-tidy/mpi/CMakeFiles/obj.clangTidyMPIModule.dir/BufferDerefCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/mpi/BufferDerefCheck.cpp [1616/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseNullptrCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseNullptrCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseNullptrCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseNullptrCheck.cpp [1617/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseTrailingReturnTypeCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseTrailingReturnTypeCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseTrailingReturnTypeCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseTrailingReturnTypeCheck.cpp [1618/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/mpi -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/mpi -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/mpi/CMakeFiles/obj.clangTidyMPIModule.dir/MPITidyModule.cpp.o -MF tools/extra/clang-tidy/mpi/CMakeFiles/obj.clangTidyMPIModule.dir/MPITidyModule.cpp.o.d -o tools/extra/clang-tidy/mpi/CMakeFiles/obj.clangTidyMPIModule.dir/MPITidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/mpi/MPITidyModule.cpp [1619/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/mpi -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/mpi -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/mpi/CMakeFiles/obj.clangTidyMPIModule.dir/TypeMismatchCheck.cpp.o -MF tools/extra/clang-tidy/mpi/CMakeFiles/obj.clangTidyMPIModule.dir/TypeMismatchCheck.cpp.o.d -o tools/extra/clang-tidy/mpi/CMakeFiles/obj.clangTidyMPIModule.dir/TypeMismatchCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/mpi/TypeMismatchCheck.cpp [1620/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/objc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/AvoidNSErrorInitCheck.cpp.o -MF tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/AvoidNSErrorInitCheck.cpp.o.d -o tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/AvoidNSErrorInitCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc/AvoidNSErrorInitCheck.cpp [1621/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/objc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/AssertEquals.cpp.o -MF tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/AssertEquals.cpp.o.d -o tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/AssertEquals.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc/AssertEquals.cpp [1622/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/objc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/DeallocInCategoryCheck.cpp.o -MF tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/DeallocInCategoryCheck.cpp.o.d -o tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/DeallocInCategoryCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc/DeallocInCategoryCheck.cpp [1623/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/objc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/ForbiddenSubclassingCheck.cpp.o -MF tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/ForbiddenSubclassingCheck.cpp.o.d -o tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/ForbiddenSubclassingCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc/ForbiddenSubclassingCheck.cpp [1624/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/objc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/MissingHashCheck.cpp.o -MF tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/MissingHashCheck.cpp.o.d -o tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/MissingHashCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc/MissingHashCheck.cpp [1625/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/objc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/NSDateFormatterCheck.cpp.o -MF tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/NSDateFormatterCheck.cpp.o.d -o tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/NSDateFormatterCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc/NSDateFormatterCheck.cpp [1626/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/objc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/NSInvocationArgumentLifetimeCheck.cpp.o -MF tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/NSInvocationArgumentLifetimeCheck.cpp.o.d -o tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/NSInvocationArgumentLifetimeCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc/NSInvocationArgumentLifetimeCheck.cpp [1627/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/objc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/ObjCTidyModule.cpp.o -MF tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/ObjCTidyModule.cpp.o.d -o tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/ObjCTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc/ObjCTidyModule.cpp [1628/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/objc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/PropertyDeclarationCheck.cpp.o -MF tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/PropertyDeclarationCheck.cpp.o.d -o tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/PropertyDeclarationCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc/PropertyDeclarationCheck.cpp [1629/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/objc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/SuperSelfCheck.cpp.o -MF tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/SuperSelfCheck.cpp.o.d -o tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/SuperSelfCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc/SuperSelfCheck.cpp [1630/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/openmp -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/openmp -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/openmp/CMakeFiles/obj.clangTidyOpenMPModule.dir/ExceptionEscapeCheck.cpp.o -MF tools/extra/clang-tidy/openmp/CMakeFiles/obj.clangTidyOpenMPModule.dir/ExceptionEscapeCheck.cpp.o.d -o tools/extra/clang-tidy/openmp/CMakeFiles/obj.clangTidyOpenMPModule.dir/ExceptionEscapeCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/openmp/ExceptionEscapeCheck.cpp [1631/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/openmp -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/openmp -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/openmp/CMakeFiles/obj.clangTidyOpenMPModule.dir/OpenMPTidyModule.cpp.o -MF tools/extra/clang-tidy/openmp/CMakeFiles/obj.clangTidyOpenMPModule.dir/OpenMPTidyModule.cpp.o.d -o tools/extra/clang-tidy/openmp/CMakeFiles/obj.clangTidyOpenMPModule.dir/OpenMPTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/openmp/OpenMPTidyModule.cpp [1632/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/openmp -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/openmp -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/openmp/CMakeFiles/obj.clangTidyOpenMPModule.dir/UseDefaultNoneCheck.cpp.o -MF tools/extra/clang-tidy/openmp/CMakeFiles/obj.clangTidyOpenMPModule.dir/UseDefaultNoneCheck.cpp.o.d -o tools/extra/clang-tidy/openmp/CMakeFiles/obj.clangTidyOpenMPModule.dir/UseDefaultNoneCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/openmp/UseDefaultNoneCheck.cpp [1633/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/AvoidEndlCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/AvoidEndlCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/AvoidEndlCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/AvoidEndlCheck.cpp [1634/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/FasterStringFindCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/FasterStringFindCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/FasterStringFindCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/FasterStringFindCheck.cpp [1635/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/ImplicitConversionInLoopCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/ImplicitConversionInLoopCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/ImplicitConversionInLoopCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/ImplicitConversionInLoopCheck.cpp [1636/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/ForRangeCopyCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/ForRangeCopyCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/ForRangeCopyCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/ForRangeCopyCheck.cpp [1637/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/InefficientAlgorithmCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/InefficientAlgorithmCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/InefficientAlgorithmCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/InefficientAlgorithmCheck.cpp [1638/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/InefficientStringConcatenationCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/InefficientStringConcatenationCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/InefficientStringConcatenationCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/InefficientStringConcatenationCheck.cpp [1639/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/InefficientVectorOperationCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/InefficientVectorOperationCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/InefficientVectorOperationCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/InefficientVectorOperationCheck.cpp [1640/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/MoveConstArgCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/MoveConstArgCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/MoveConstArgCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/MoveConstArgCheck.cpp [1641/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/MoveConstructorInitCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/MoveConstructorInitCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/MoveConstructorInitCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/MoveConstructorInitCheck.cpp [1642/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoAutomaticMoveCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoAutomaticMoveCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoAutomaticMoveCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/NoAutomaticMoveCheck.cpp [1643/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoIntToPtrCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoIntToPtrCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoIntToPtrCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/NoIntToPtrCheck.cpp [1644/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoexceptDestructorCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoexceptDestructorCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoexceptDestructorCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/NoexceptDestructorCheck.cpp [1645/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoexceptFunctionBaseCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoexceptFunctionBaseCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoexceptFunctionBaseCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/NoexceptFunctionBaseCheck.cpp [1646/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoexceptMoveConstructorCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoexceptMoveConstructorCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoexceptMoveConstructorCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/NoexceptMoveConstructorCheck.cpp [1647/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoexceptSwapCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoexceptSwapCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoexceptSwapCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/NoexceptSwapCheck.cpp [1648/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/PerformanceTidyModule.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/PerformanceTidyModule.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/PerformanceTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/PerformanceTidyModule.cpp [1649/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/TriviallyDestructibleCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/TriviallyDestructibleCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/TriviallyDestructibleCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/TriviallyDestructibleCheck.cpp [1650/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/portability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/portability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/portability/CMakeFiles/obj.clangTidyPortabilityModule.dir/PortabilityTidyModule.cpp.o -MF tools/extra/clang-tidy/portability/CMakeFiles/obj.clangTidyPortabilityModule.dir/PortabilityTidyModule.cpp.o.d -o tools/extra/clang-tidy/portability/CMakeFiles/obj.clangTidyPortabilityModule.dir/PortabilityTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/portability/PortabilityTidyModule.cpp [1651/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/TypePromotionInMathFnCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/TypePromotionInMathFnCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/TypePromotionInMathFnCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/TypePromotionInMathFnCheck.cpp [1652/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/portability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/portability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/portability/CMakeFiles/obj.clangTidyPortabilityModule.dir/RestrictSystemIncludesCheck.cpp.o -MF tools/extra/clang-tidy/portability/CMakeFiles/obj.clangTidyPortabilityModule.dir/RestrictSystemIncludesCheck.cpp.o.d -o tools/extra/clang-tidy/portability/CMakeFiles/obj.clangTidyPortabilityModule.dir/RestrictSystemIncludesCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/portability/RestrictSystemIncludesCheck.cpp [1653/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/UnnecessaryCopyInitialization.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/UnnecessaryCopyInitialization.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/UnnecessaryCopyInitialization.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/UnnecessaryCopyInitialization.cpp [1654/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/portability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/portability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/portability/CMakeFiles/obj.clangTidyPortabilityModule.dir/SIMDIntrinsicsCheck.cpp.o -MF tools/extra/clang-tidy/portability/CMakeFiles/obj.clangTidyPortabilityModule.dir/SIMDIntrinsicsCheck.cpp.o.d -o tools/extra/clang-tidy/portability/CMakeFiles/obj.clangTidyPortabilityModule.dir/SIMDIntrinsicsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/portability/SIMDIntrinsicsCheck.cpp [1655/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/UnnecessaryValueParamCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/UnnecessaryValueParamCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/UnnecessaryValueParamCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/UnnecessaryValueParamCheck.cpp [1656/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/AvoidConstParamsInDecls.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/AvoidConstParamsInDecls.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/AvoidConstParamsInDecls.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/AvoidConstParamsInDecls.cpp [1657/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/portability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/portability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/portability/CMakeFiles/obj.clangTidyPortabilityModule.dir/StdAllocatorConstCheck.cpp.o -MF tools/extra/clang-tidy/portability/CMakeFiles/obj.clangTidyPortabilityModule.dir/StdAllocatorConstCheck.cpp.o.d -o tools/extra/clang-tidy/portability/CMakeFiles/obj.clangTidyPortabilityModule.dir/StdAllocatorConstCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/portability/StdAllocatorConstCheck.cpp [1658/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/AvoidUnconditionalPreprocessorIfCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/AvoidUnconditionalPreprocessorIfCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/AvoidUnconditionalPreprocessorIfCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/AvoidUnconditionalPreprocessorIfCheck.cpp [1659/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/BracesAroundStatementsCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/BracesAroundStatementsCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/BracesAroundStatementsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/BracesAroundStatementsCheck.cpp [1660/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ConstReturnTypeCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ConstReturnTypeCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ConstReturnTypeCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/ConstReturnTypeCheck.cpp [1661/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ContainerContainsCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ContainerContainsCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ContainerContainsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/ContainerContainsCheck.cpp [1662/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ContainerDataPointerCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ContainerDataPointerCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ContainerDataPointerCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/ContainerDataPointerCheck.cpp [1663/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/DeleteNullPointerCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/DeleteNullPointerCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/DeleteNullPointerCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/DeleteNullPointerCheck.cpp [1664/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ContainerSizeEmptyCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ContainerSizeEmptyCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ContainerSizeEmptyCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/ContainerSizeEmptyCheck.cpp [1665/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/DuplicateIncludeCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/DuplicateIncludeCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/DuplicateIncludeCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/DuplicateIncludeCheck.cpp [1666/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ElseAfterReturnCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ElseAfterReturnCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ElseAfterReturnCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/ElseAfterReturnCheck.cpp [1667/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ConvertMemberFunctionsToStatic.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ConvertMemberFunctionsToStatic.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ConvertMemberFunctionsToStatic.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/ConvertMemberFunctionsToStatic.cpp [1668/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/IdentifierLengthCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/IdentifierLengthCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/IdentifierLengthCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/IdentifierLengthCheck.cpp [1669/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/FunctionCognitiveComplexityCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/FunctionCognitiveComplexityCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/FunctionCognitiveComplexityCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/FunctionCognitiveComplexityCheck.cpp [1670/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/FunctionSizeCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/FunctionSizeCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/FunctionSizeCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/FunctionSizeCheck.cpp [1671/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/IdentifierNamingCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/IdentifierNamingCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/IdentifierNamingCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/IdentifierNamingCheck.cpp [1672/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ImplicitBoolConversionCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ImplicitBoolConversionCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ImplicitBoolConversionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/ImplicitBoolConversionCheck.cpp [1673/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/InconsistentDeclarationParameterNameCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/InconsistentDeclarationParameterNameCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/InconsistentDeclarationParameterNameCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/InconsistentDeclarationParameterNameCheck.cpp [1674/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/IsolateDeclarationCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/IsolateDeclarationCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/IsolateDeclarationCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/IsolateDeclarationCheck.cpp [1675/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/MagicNumbersCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/MagicNumbersCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/MagicNumbersCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/MagicNumbersCheck.cpp [1676/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/MisleadingIndentationCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/MisleadingIndentationCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/MisleadingIndentationCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/MisleadingIndentationCheck.cpp [1677/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/MisplacedArrayIndexCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/MisplacedArrayIndexCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/MisplacedArrayIndexCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/MisplacedArrayIndexCheck.cpp [1678/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/NamedParameterCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/NamedParameterCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/NamedParameterCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/NamedParameterCheck.cpp [1679/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/NamespaceCommentCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/NamespaceCommentCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/NamespaceCommentCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/NamespaceCommentCheck.cpp [1680/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/MakeMemberFunctionConstCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/MakeMemberFunctionConstCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/MakeMemberFunctionConstCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/MakeMemberFunctionConstCheck.cpp [1681/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/OperatorsRepresentationCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/OperatorsRepresentationCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/OperatorsRepresentationCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/OperatorsRepresentationCheck.cpp [1682/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/NonConstParameterCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/NonConstParameterCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/NonConstParameterCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/NonConstParameterCheck.cpp [1683/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/QualifiedAutoCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/QualifiedAutoCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/QualifiedAutoCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/QualifiedAutoCheck.cpp [1684/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantAccessSpecifiersCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantAccessSpecifiersCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantAccessSpecifiersCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/RedundantAccessSpecifiersCheck.cpp [1685/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ReadabilityTidyModule.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ReadabilityTidyModule.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ReadabilityTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/ReadabilityTidyModule.cpp [1686/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantControlFlowCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantControlFlowCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantControlFlowCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/RedundantControlFlowCheck.cpp [1687/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantDeclarationCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantDeclarationCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantDeclarationCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/RedundantDeclarationCheck.cpp [1688/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantFunctionPtrDereferenceCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantFunctionPtrDereferenceCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantFunctionPtrDereferenceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/RedundantFunctionPtrDereferenceCheck.cpp [1689/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantMemberInitCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantMemberInitCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantMemberInitCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/RedundantMemberInitCheck.cpp [1690/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantPreprocessorCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantPreprocessorCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantPreprocessorCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/RedundantPreprocessorCheck.cpp [1691/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantSmartptrGetCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantSmartptrGetCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantSmartptrGetCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/RedundantSmartptrGetCheck.cpp [1692/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantStringCStrCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantStringCStrCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantStringCStrCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/RedundantStringCStrCheck.cpp [1693/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantStringInitCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantStringInitCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantStringInitCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/RedundantStringInitCheck.cpp [1694/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/StaticAccessedThroughInstanceCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/StaticAccessedThroughInstanceCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/StaticAccessedThroughInstanceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/StaticAccessedThroughInstanceCheck.cpp [1695/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/SimplifySubscriptExprCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/SimplifySubscriptExprCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/SimplifySubscriptExprCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/SimplifySubscriptExprCheck.cpp [1696/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/StaticDefinitionInAnonymousNamespaceCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/StaticDefinitionInAnonymousNamespaceCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/StaticDefinitionInAnonymousNamespaceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/StaticDefinitionInAnonymousNamespaceCheck.cpp [1697/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/StringCompareCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/StringCompareCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/StringCompareCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/StringCompareCheck.cpp [1698/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/SuspiciousCallArgumentCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/SuspiciousCallArgumentCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/SuspiciousCallArgumentCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/SuspiciousCallArgumentCheck.cpp [1699/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/SimplifyBooleanExprCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/SimplifyBooleanExprCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/SimplifyBooleanExprCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/SimplifyBooleanExprCheck.cpp [1700/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/tool -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/tool/CMakeFiles/clang-tidy.dir/ClangTidyToolMain.cpp.o -MF tools/extra/clang-tidy/tool/CMakeFiles/clang-tidy.dir/ClangTidyToolMain.cpp.o.d -o tools/extra/clang-tidy/tool/CMakeFiles/clang-tidy.dir/ClangTidyToolMain.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/tool/ClangTidyToolMain.cpp [1701/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/UniqueptrDeleteReleaseCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/UniqueptrDeleteReleaseCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/UniqueptrDeleteReleaseCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/UniqueptrDeleteReleaseCheck.cpp [1702/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/tool -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/tool/CMakeFiles/obj.clangTidyMain.dir/ClangTidyMain.cpp.o -MF tools/extra/clang-tidy/tool/CMakeFiles/obj.clangTidyMain.dir/ClangTidyMain.cpp.o.d -o tools/extra/clang-tidy/tool/CMakeFiles/obj.clangTidyMain.dir/ClangTidyMain.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/tool/ClangTidyMain.cpp [1703/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/plugin -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/plugin -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/plugin/CMakeFiles/obj.clangTidyPlugin.dir/ClangTidyPlugin.cpp.o -MF tools/extra/clang-tidy/plugin/CMakeFiles/obj.clangTidyPlugin.dir/ClangTidyPlugin.cpp.o.d -o tools/extra/clang-tidy/plugin/CMakeFiles/obj.clangTidyPlugin.dir/ClangTidyPlugin.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/plugin/ClangTidyPlugin.cpp [1704/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/UppercaseLiteralSuffixCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/UppercaseLiteralSuffixCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/UppercaseLiteralSuffixCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/UppercaseLiteralSuffixCheck.cpp [1705/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/Aliasing.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/Aliasing.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/Aliasing.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/Aliasing.cpp [1706/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/zircon -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/zircon -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/zircon/CMakeFiles/obj.clangTidyZirconModule.dir/ZirconTidyModule.cpp.o -MF tools/extra/clang-tidy/zircon/CMakeFiles/obj.clangTidyZirconModule.dir/ZirconTidyModule.cpp.o.d -o tools/extra/clang-tidy/zircon/CMakeFiles/obj.clangTidyZirconModule.dir/ZirconTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/zircon/ZirconTidyModule.cpp [1707/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/zircon -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/zircon -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/zircon/CMakeFiles/obj.clangTidyZirconModule.dir/TemporaryObjectsCheck.cpp.o -MF tools/extra/clang-tidy/zircon/CMakeFiles/obj.clangTidyZirconModule.dir/TemporaryObjectsCheck.cpp.o.d -o tools/extra/clang-tidy/zircon/CMakeFiles/obj.clangTidyZirconModule.dir/TemporaryObjectsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/zircon/TemporaryObjectsCheck.cpp [1708/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/UseAnyOfAllOfCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/UseAnyOfAllOfCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/UseAnyOfAllOfCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/UseAnyOfAllOfCheck.cpp [1709/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/FileExtensionsUtils.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/FileExtensionsUtils.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/FileExtensionsUtils.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/FileExtensionsUtils.cpp [1710/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/ExceptionSpecAnalyzer.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/ExceptionSpecAnalyzer.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/ExceptionSpecAnalyzer.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/ExceptionSpecAnalyzer.cpp [1711/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/ExprSequence.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/ExprSequence.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/ExprSequence.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/ExprSequence.cpp [1712/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/FixItHintUtils.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/FixItHintUtils.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/FixItHintUtils.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/FixItHintUtils.cpp [1713/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/ASTUtils.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/ASTUtils.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/ASTUtils.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/ASTUtils.cpp [1714/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/LexerUtils.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/LexerUtils.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/LexerUtils.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/LexerUtils.cpp [1715/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/ExceptionAnalyzer.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/ExceptionAnalyzer.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/ExceptionAnalyzer.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/ExceptionAnalyzer.cpp [1716/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/OptionsUtils.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/OptionsUtils.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/OptionsUtils.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/OptionsUtils.cpp [1717/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/DeclRefExprUtils.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/DeclRefExprUtils.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/DeclRefExprUtils.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/DeclRefExprUtils.cpp [1718/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/FormatStringConverter.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/FormatStringConverter.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/FormatStringConverter.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/FormatStringConverter.cpp [1719/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/IncludeInserter.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/IncludeInserter.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/IncludeInserter.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/IncludeInserter.cpp [1720/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/IncludeSorter.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/IncludeSorter.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/IncludeSorter.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/IncludeSorter.cpp [1721/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/HeaderGuard.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/HeaderGuard.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/HeaderGuard.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/HeaderGuard.cpp [1722/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/NamespaceAliaser.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/NamespaceAliaser.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/NamespaceAliaser.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/NamespaceAliaser.cpp [1723/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/TypeTraits.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/TypeTraits.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/TypeTraits.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/TypeTraits.cpp [1724/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/TransformerClangTidyCheck.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/TransformerClangTidyCheck.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/TransformerClangTidyCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/TransformerClangTidyCheck.cpp [1725/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/UsingInserter.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/UsingInserter.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/UsingInserter.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/UsingInserter.cpp [1726/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-doc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/BitcodeReader.cpp.o -MF tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/BitcodeReader.cpp.o.d -o tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/BitcodeReader.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/BitcodeReader.cpp [1727/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-change-namespace/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-change-namespace/tool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-change-namespace/tool/.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-change-namespace/tool/CMakeFiles/clang-change-namespace.dir/ClangChangeNamespace.cpp.o -MF tools/extra/clang-change-namespace/tool/CMakeFiles/clang-change-namespace.dir/ClangChangeNamespace.cpp.o.d -o tools/extra/clang-change-namespace/tool/CMakeFiles/clang-change-namespace.dir/ClangChangeNamespace.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-change-namespace/tool/ClangChangeNamespace.cpp [1728/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-doc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/Generators.cpp.o -MF tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/Generators.cpp.o.d -o tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/Generators.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/Generators.cpp [1729/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-doc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/BitcodeWriter.cpp.o -MF tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/BitcodeWriter.cpp.o.d -o tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/BitcodeWriter.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/BitcodeWriter.cpp [1730/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-change-namespace -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-change-namespace -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-change-namespace/CMakeFiles/obj.clangChangeNamespace.dir/ChangeNamespace.cpp.o -MF tools/extra/clang-change-namespace/CMakeFiles/obj.clangChangeNamespace.dir/ChangeNamespace.cpp.o.d -o tools/extra/clang-change-namespace/CMakeFiles/obj.clangChangeNamespace.dir/ChangeNamespace.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-change-namespace/ChangeNamespace.cpp [1731/2015] : && /usr/bin/cmake -E rm -f lib64/libclangChangeNamespace.a && /usr/bin/ar Dqc lib64/libclangChangeNamespace.a tools/extra/clang-change-namespace/CMakeFiles/obj.clangChangeNamespace.dir/ChangeNamespace.cpp.o && /usr/bin/ranlib -D lib64/libclangChangeNamespace.a && : [1732/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-doc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/ClangDoc.cpp.o -MF tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/ClangDoc.cpp.o.d -o tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/ClangDoc.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/ClangDoc.cpp [1733/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/RenamerClangTidyCheck.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/RenamerClangTidyCheck.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/RenamerClangTidyCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/RenamerClangTidyCheck.cpp [1734/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-doc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/HTMLGenerator.cpp.o -MF tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/HTMLGenerator.cpp.o.d -o tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/HTMLGenerator.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp In file included from /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/LLVM.h:24, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/DiagnosticIDs.h:17, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.h:17, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/NestedNameSpecifier.h:18, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/Type.h:21, from /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/Representation.h:17, from /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/Generators.h:15, from /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp:9: In member function 'llvm::SmallVectorTemplateCommon::begin() const', inlined from 'llvm::SmallVectorTemplateCommon::data() const' at /usr/include/llvm/ADT/SmallVector.h:291:58, inlined from 'llvm::Twine::Twine(llvm::SmallVectorImpl const&)' at /usr/include/llvm/ADT/Twine.h:309:38, inlined from 'std::make_unique const&>(clang::doc::(anonymous namespace)::HTMLTag::TagType&&, llvm::SmallString<16u> const&)std::__detail::_MakeUniq::__single_object' at /usr/include/c++/12/bits/unique_ptr.h:1065:30, inlined from 'clang::doc::genFileHeadNodes(llvm::StringRef, llvm::StringRef, clang::doc::ClangDocContext const&)' at /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp:478:45: /usr/include/llvm/ADT/SmallVector.h:271:63: warning: array subscript 'const struct SmallVectorTemplateCommon[0]' is partly outside array bounds of 'struct StringRef[1]' [-Warray-bounds] 271 | const_iterator begin() const { return (const_iterator)this->BeginX; } | ^~~~~~ /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp: In function 'clang::doc::genFileHeadNodes(llvm::StringRef, llvm::StringRef, clang::doc::ClangDocContext const&)': /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp:472:28: note: object 'Title' of size 16 472 | genFileHeadNodes(StringRef Title, StringRef InfoPath, | ~~~~~~~~~~^~~~~ In member function 'llvm::SmallVectorBase::size() const', inlined from 'llvm::Twine::Twine(llvm::SmallVectorImpl const&)' at /usr/include/llvm/ADT/Twine.h:310:41, inlined from 'std::make_unique const&>(clang::doc::(anonymous namespace)::HTMLTag::TagType&&, llvm::SmallString<16u> const&)std::__detail::_MakeUniq::__single_object' at /usr/include/c++/12/bits/unique_ptr.h:1065:30, inlined from 'clang::doc::genFileHeadNodes(llvm::StringRef, llvm::StringRef, clang::doc::ClangDocContext const&)' at /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp:478:45: /usr/include/llvm/ADT/SmallVector.h:91:32: warning: array subscript 'const struct SmallVectorBase[0]' is partly outside array bounds of 'struct StringRef[1]' [-Warray-bounds] 91 | size_t size() const { return Size; } | ^~~~ /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp: In function 'clang::doc::genFileHeadNodes(llvm::StringRef, llvm::StringRef, clang::doc::ClangDocContext const&)': /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp:472:28: note: object 'Title' of size 16 472 | genFileHeadNodes(StringRef Title, StringRef InfoPath, | ~~~~~~~~~~^~~~~ In member function 'llvm::SmallVectorTemplateCommon::begin() const', inlined from 'llvm::SmallVectorTemplateCommon::data() const' at /usr/include/llvm/ADT/SmallVector.h:291:58, inlined from 'llvm::Twine::Twine(llvm::SmallVectorImpl const&)' at /usr/include/llvm/ADT/Twine.h:309:38, inlined from 'std::make_unique const&>(clang::doc::(anonymous namespace)::HTMLTag::TagType&&, llvm::SmallString<16u> const&)std::__detail::_MakeUniq::__single_object' at /usr/include/c++/12/bits/unique_ptr.h:1065:30, inlined from 'clang::doc::genReferencesBlock(std::vector > const&, llvm::StringRef, llvm::StringRef)' at /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp:427:45: /usr/include/llvm/ADT/SmallVector.h:271:63: warning: array subscript 'const struct SmallVectorTemplateCommon[0]' is partly outside array bounds of 'struct StringRef[1]' [-Warray-bounds] 271 | const_iterator begin() const { return (const_iterator)this->BeginX; } | ^~~~~~ /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp: In function 'clang::doc::genReferencesBlock(std::vector > const&, llvm::StringRef, llvm::StringRef)': /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp:422:36: note: object 'Title' of size 16 422 | llvm::StringRef Title, StringRef ParentPath) { | ~~~~~~~~~~~~~~~~^~~~~ In member function 'llvm::SmallVectorBase::size() const', inlined from 'llvm::Twine::Twine(llvm::SmallVectorImpl const&)' at /usr/include/llvm/ADT/Twine.h:310:41, inlined from 'std::make_unique const&>(clang::doc::(anonymous namespace)::HTMLTag::TagType&&, llvm::SmallString<16u> const&)std::__detail::_MakeUniq::__single_object' at /usr/include/c++/12/bits/unique_ptr.h:1065:30, inlined from 'clang::doc::genReferencesBlock(std::vector > const&, llvm::StringRef, llvm::StringRef)' at /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp:427:45: /usr/include/llvm/ADT/SmallVector.h:91:32: warning: array subscript 'const struct SmallVectorBase[0]' is partly outside array bounds of 'struct StringRef[1]' [-Warray-bounds] 91 | size_t size() const { return Size; } | ^~~~ /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp: In function 'clang::doc::genReferencesBlock(std::vector > const&, llvm::StringRef, llvm::StringRef)': /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp:422:36: note: object 'Title' of size 16 422 | llvm::StringRef Title, StringRef ParentPath) { | ~~~~~~~~~~~~~~~~^~~~~ [1735/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/clang-change-namespace/tool/CMakeFiles/clang-change-namespace.dir/ClangChangeNamespace.cpp.o -o bin/clang-change-namespace lib64/libclangChangeNamespace.a lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1736/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-doc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/MDGenerator.cpp.o -MF tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/MDGenerator.cpp.o.d -o tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/MDGenerator.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/MDGenerator.cpp [1737/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/IncludeFixerContext.cpp.o -MF tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/IncludeFixerContext.cpp.o.d -o tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/IncludeFixerContext.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/IncludeFixerContext.cpp [1738/2015] : && /usr/bin/cmake -E rm -f lib64/libclangTidyUtils.a && /usr/bin/ar Dqc lib64/libclangTidyUtils.a tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/Aliasing.cpp.o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/ASTUtils.cpp.o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/DeclRefExprUtils.cpp.o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/ExceptionAnalyzer.cpp.o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/ExceptionSpecAnalyzer.cpp.o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/ExprSequence.cpp.o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/FileExtensionsUtils.cpp.o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/FormatStringConverter.cpp.o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/FixItHintUtils.cpp.o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/HeaderGuard.cpp.o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/IncludeInserter.cpp.o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/IncludeSorter.cpp.o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/LexerUtils.cpp.o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/NamespaceAliaser.cpp.o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/OptionsUtils.cpp.o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/RenamerClangTidyCheck.cpp.o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/TransformerClangTidyCheck.cpp.o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/TypeTraits.cpp.o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/UsingInserter.cpp.o && /usr/bin/ranlib -D lib64/libclangTidyUtils.a && : [1739/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-doc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/Representation.cpp.o -MF tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/Representation.cpp.o.d -o tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/Representation.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/Representation.cpp [1740/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/InMemorySymbolIndex.cpp.o -MF tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/InMemorySymbolIndex.cpp.o.d -o tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/InMemorySymbolIndex.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/InMemorySymbolIndex.cpp [1741/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/FuzzySymbolIndex.cpp.o -MF tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/FuzzySymbolIndex.cpp.o.d -o tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/FuzzySymbolIndex.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/FuzzySymbolIndex.cpp [1742/2015] : && /usr/bin/cmake -E rm -f lib64/libclangTidyAndroidModule.a && /usr/bin/ar Dqc lib64/libclangTidyAndroidModule.a tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/AndroidTidyModule.cpp.o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecAccept4Check.cpp.o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecAcceptCheck.cpp.o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecCheck.cpp.o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecCreatCheck.cpp.o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecDupCheck.cpp.o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecEpollCreate1Check.cpp.o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecEpollCreateCheck.cpp.o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecFopenCheck.cpp.o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecInotifyInit1Check.cpp.o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecInotifyInitCheck.cpp.o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecMemfdCreateCheck.cpp.o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecOpenCheck.cpp.o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecPipeCheck.cpp.o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecPipe2Check.cpp.o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecSocketCheck.cpp.o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/ComparisonInTempFailureRetryCheck.cpp.o && /usr/bin/ranlib -D lib64/libclangTidyAndroidModule.a && : [1743/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/SymbolIndexManager.cpp.o -MF tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/SymbolIndexManager.cpp.o.d -o tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/SymbolIndexManager.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/SymbolIndexManager.cpp [1744/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/YamlSymbolIndex.cpp.o -MF tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/YamlSymbolIndex.cpp.o.d -o tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/YamlSymbolIndex.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/YamlSymbolIndex.cpp [1745/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-doc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/Serialize.cpp.o -MF tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/Serialize.cpp.o.d -o tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/Serialize.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/Serialize.cpp [1746/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-doc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/YAMLGenerator.cpp.o -MF tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/YAMLGenerator.cpp.o.d -o tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/YAMLGenerator.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/YAMLGenerator.cpp [1747/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-doc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/Mapper.cpp.o -MF tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/Mapper.cpp.o.d -o tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/Mapper.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/Mapper.cpp [1748/2015] : && /usr/bin/cmake -E rm -f lib64/libclangTidyAbseilModule.a && /usr/bin/ar Dqc lib64/libclangTidyAbseilModule.a tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/AbseilTidyModule.cpp.o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/CleanupCtadCheck.cpp.o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationAdditionCheck.cpp.o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationComparisonCheck.cpp.o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationConversionCastCheck.cpp.o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationDivisionCheck.cpp.o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationFactoryFloatCheck.cpp.o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationFactoryScaleCheck.cpp.o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationRewriter.cpp.o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationSubtractionCheck.cpp.o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationUnnecessaryConversionCheck.cpp.o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/FasterStrsplitDelimiterCheck.cpp.o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/NoInternalDependenciesCheck.cpp.o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/NoNamespaceCheck.cpp.o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/RedundantStrcatCallsCheck.cpp.o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/StrCatAppendCheck.cpp.o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/StringFindStartswithCheck.cpp.o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/StringFindStrContainsCheck.cpp.o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/TimeComparisonCheck.cpp.o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/TimeSubtractionCheck.cpp.o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/UpgradeDurationConversionsCheck.cpp.o && /usr/bin/ranlib -D lib64/libclangTidyAbseilModule.a && : [1749/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/IncludeFixer.cpp.o -MF tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/IncludeFixer.cpp.o.d -o tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/IncludeFixer.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/IncludeFixer.cpp [1750/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/HeaderMapCollector.cpp.o -MF tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/HeaderMapCollector.cpp.o.d -o tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/HeaderMapCollector.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols/HeaderMapCollector.cpp [1751/2015] : && /usr/bin/cmake -E rm -f lib64/libclangTidyAlteraModule.a && /usr/bin/ar Dqc lib64/libclangTidyAlteraModule.a tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/AlteraTidyModule.cpp.o tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/IdDependentBackwardBranchCheck.cpp.o tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/KernelNameRestrictionCheck.cpp.o tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/SingleWorkItemBarrierCheck.cpp.o tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/StructPackAlignCheck.cpp.o tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/UnrollLoopsCheck.cpp.o && /usr/bin/ranlib -D lib64/libclangTidyAlteraModule.a && : [1752/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/FindAllMacros.cpp.o -MF tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/FindAllMacros.cpp.o.d -o tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/FindAllMacros.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols/FindAllMacros.cpp [1753/2015] : && /usr/bin/cmake -E rm -f lib64/libclangTidyBoostModule.a && /usr/bin/ar Dqc lib64/libclangTidyBoostModule.a tools/extra/clang-tidy/boost/CMakeFiles/obj.clangTidyBoostModule.dir/BoostTidyModule.cpp.o tools/extra/clang-tidy/boost/CMakeFiles/obj.clangTidyBoostModule.dir/UseToStringCheck.cpp.o && /usr/bin/ranlib -D lib64/libclangTidyBoostModule.a && : [1754/2015] : && /usr/bin/cmake -E rm -f lib64/libclangTidyConcurrencyModule.a && /usr/bin/ar Dqc lib64/libclangTidyConcurrencyModule.a tools/extra/clang-tidy/concurrency/CMakeFiles/obj.clangTidyConcurrencyModule.dir/ConcurrencyTidyModule.cpp.o tools/extra/clang-tidy/concurrency/CMakeFiles/obj.clangTidyConcurrencyModule.dir/MtUnsafeCheck.cpp.o tools/extra/clang-tidy/concurrency/CMakeFiles/obj.clangTidyConcurrencyModule.dir/ThreadCanceltypeAsynchronousCheck.cpp.o && /usr/bin/ranlib -D lib64/libclangTidyConcurrencyModule.a && : [1755/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/PathConfig.cpp.o -MF tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/PathConfig.cpp.o.d -o tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/PathConfig.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols/PathConfig.cpp [1756/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-doc/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/tool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/tool/.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-doc/tool/CMakeFiles/clang-doc.dir/ClangDocMain.cpp.o -MF tools/extra/clang-doc/tool/CMakeFiles/clang-doc.dir/ClangDocMain.cpp.o.d -o tools/extra/clang-doc/tool/CMakeFiles/clang-doc.dir/ClangDocMain.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/tool/ClangDocMain.cpp [1757/2015] : && /usr/bin/cmake -E rm -f lib64/libclangTidyDarwinModule.a && /usr/bin/ar Dqc lib64/libclangTidyDarwinModule.a tools/extra/clang-tidy/darwin/CMakeFiles/obj.clangTidyDarwinModule.dir/AvoidSpinlockCheck.cpp.o tools/extra/clang-tidy/darwin/CMakeFiles/obj.clangTidyDarwinModule.dir/DarwinTidyModule.cpp.o tools/extra/clang-tidy/darwin/CMakeFiles/obj.clangTidyDarwinModule.dir/DispatchOnceNonstaticCheck.cpp.o && /usr/bin/ranlib -D lib64/libclangTidyDarwinModule.a && : [1758/2015] : && /usr/bin/cmake -E rm -f lib64/libclangTidyLinuxKernelModule.a && /usr/bin/ar Dqc lib64/libclangTidyLinuxKernelModule.a tools/extra/clang-tidy/linuxkernel/CMakeFiles/obj.clangTidyLinuxKernelModule.dir/LinuxKernelTidyModule.cpp.o tools/extra/clang-tidy/linuxkernel/CMakeFiles/obj.clangTidyLinuxKernelModule.dir/MustCheckErrsCheck.cpp.o && /usr/bin/ranlib -D lib64/libclangTidyLinuxKernelModule.a && : [1759/2015] : && /usr/bin/cmake -E rm -f lib64/libclangTidyMPIModule.a && /usr/bin/ar Dqc lib64/libclangTidyMPIModule.a tools/extra/clang-tidy/mpi/CMakeFiles/obj.clangTidyMPIModule.dir/BufferDerefCheck.cpp.o tools/extra/clang-tidy/mpi/CMakeFiles/obj.clangTidyMPIModule.dir/MPITidyModule.cpp.o tools/extra/clang-tidy/mpi/CMakeFiles/obj.clangTidyMPIModule.dir/TypeMismatchCheck.cpp.o && /usr/bin/ranlib -D lib64/libclangTidyMPIModule.a && : [1760/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/SymbolInfo.cpp.o -MF tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/SymbolInfo.cpp.o.d -o tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/SymbolInfo.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols/SymbolInfo.cpp [1761/2015] : && /usr/bin/cmake -E rm -f lib64/libclangTidyObjCModule.a && /usr/bin/ar Dqc lib64/libclangTidyObjCModule.a tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/AssertEquals.cpp.o tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/AvoidNSErrorInitCheck.cpp.o tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/DeallocInCategoryCheck.cpp.o tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/ForbiddenSubclassingCheck.cpp.o tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/MissingHashCheck.cpp.o tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/NSInvocationArgumentLifetimeCheck.cpp.o tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/NSDateFormatterCheck.cpp.o tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/ObjCTidyModule.cpp.o tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/PropertyDeclarationCheck.cpp.o tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/SuperSelfCheck.cpp.o && /usr/bin/ranlib -D lib64/libclangTidyObjCModule.a && : [1762/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/tool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/tool/.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/tool/CMakeFiles/clang-include-fixer.dir/ClangIncludeFixer.cpp.o -MF tools/extra/clang-include-fixer/tool/CMakeFiles/clang-include-fixer.dir/ClangIncludeFixer.cpp.o.d -o tools/extra/clang-include-fixer/tool/CMakeFiles/clang-include-fixer.dir/ClangIncludeFixer.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/tool/ClangIncludeFixer.cpp [1763/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/STLPostfixHeaderMap.cpp.o -MF tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/STLPostfixHeaderMap.cpp.o.d -o tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/STLPostfixHeaderMap.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols/STLPostfixHeaderMap.cpp [1764/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer/plugin -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/plugin -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/plugin/CMakeFiles/obj.clangIncludeFixerPlugin.dir/IncludeFixerPlugin.cpp.o -MF tools/extra/clang-include-fixer/plugin/CMakeFiles/obj.clangIncludeFixerPlugin.dir/IncludeFixerPlugin.cpp.o.d -o tools/extra/clang-include-fixer/plugin/CMakeFiles/obj.clangIncludeFixerPlugin.dir/IncludeFixerPlugin.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/plugin/IncludeFixerPlugin.cpp [1765/2015] : && /usr/bin/cmake -E rm -f lib64/libclangTidyOpenMPModule.a && /usr/bin/ar Dqc lib64/libclangTidyOpenMPModule.a tools/extra/clang-tidy/openmp/CMakeFiles/obj.clangTidyOpenMPModule.dir/ExceptionEscapeCheck.cpp.o tools/extra/clang-tidy/openmp/CMakeFiles/obj.clangTidyOpenMPModule.dir/OpenMPTidyModule.cpp.o tools/extra/clang-tidy/openmp/CMakeFiles/obj.clangTidyOpenMPModule.dir/UseDefaultNoneCheck.cpp.o && /usr/bin/ranlib -D lib64/libclangTidyOpenMPModule.a && : [1766/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/FindAllSymbolsAction.cpp.o -MF tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/FindAllSymbolsAction.cpp.o.d -o tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/FindAllSymbolsAction.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols/FindAllSymbolsAction.cpp [1767/2015] : && /usr/bin/cmake -E rm -f lib64/libclangTidyPerformanceModule.a && /usr/bin/ar Dqc lib64/libclangTidyPerformanceModule.a tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/AvoidEndlCheck.cpp.o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/FasterStringFindCheck.cpp.o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/ForRangeCopyCheck.cpp.o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/ImplicitConversionInLoopCheck.cpp.o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/InefficientAlgorithmCheck.cpp.o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/InefficientStringConcatenationCheck.cpp.o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/InefficientVectorOperationCheck.cpp.o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/MoveConstArgCheck.cpp.o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/MoveConstructorInitCheck.cpp.o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoAutomaticMoveCheck.cpp.o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoIntToPtrCheck.cpp.o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoexceptDestructorCheck.cpp.o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoexceptFunctionBaseCheck.cpp.o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoexceptMoveConstructorCheck.cpp.o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoexceptSwapCheck.cpp.o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/PerformanceTidyModule.cpp.o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/TriviallyDestructibleCheck.cpp.o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/TypePromotionInMathFnCheck.cpp.o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/UnnecessaryCopyInitialization.cpp.o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/UnnecessaryValueParamCheck.cpp.o && /usr/bin/ranlib -D lib64/libclangTidyPerformanceModule.a && : [1768/2015] : && /usr/bin/cmake -E rm -f lib64/libclangTidyPortabilityModule.a && /usr/bin/ar Dqc lib64/libclangTidyPortabilityModule.a tools/extra/clang-tidy/portability/CMakeFiles/obj.clangTidyPortabilityModule.dir/PortabilityTidyModule.cpp.o tools/extra/clang-tidy/portability/CMakeFiles/obj.clangTidyPortabilityModule.dir/RestrictSystemIncludesCheck.cpp.o tools/extra/clang-tidy/portability/CMakeFiles/obj.clangTidyPortabilityModule.dir/SIMDIntrinsicsCheck.cpp.o tools/extra/clang-tidy/portability/CMakeFiles/obj.clangTidyPortabilityModule.dir/StdAllocatorConstCheck.cpp.o && /usr/bin/ranlib -D lib64/libclangTidyPortabilityModule.a && : [1769/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/FindAllSymbols.cpp.o -MF tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/FindAllSymbols.cpp.o.d -o tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/FindAllSymbols.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols/FindAllSymbols.cpp [1770/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/PragmaCommentHandler.cpp.o -MF tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/PragmaCommentHandler.cpp.o.d -o tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/PragmaCommentHandler.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols/PragmaCommentHandler.cpp [1771/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer/find-all-symbols/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols/tool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols/tool/.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/find-all-symbols/tool/CMakeFiles/find-all-symbols.dir/FindAllSymbolsMain.cpp.o -MF tools/extra/clang-include-fixer/find-all-symbols/tool/CMakeFiles/find-all-symbols.dir/FindAllSymbolsMain.cpp.o.d -o tools/extra/clang-include-fixer/find-all-symbols/tool/CMakeFiles/find-all-symbols.dir/FindAllSymbolsMain.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols/tool/FindAllSymbolsMain.cpp [1772/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-move -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-move -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-move/CMakeFiles/obj.clangMove.dir/HelperDeclRefGraph.cpp.o -MF tools/extra/clang-move/CMakeFiles/obj.clangMove.dir/HelperDeclRefGraph.cpp.o.d -o tools/extra/clang-move/CMakeFiles/obj.clangMove.dir/HelperDeclRefGraph.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-move/HelperDeclRefGraph.cpp [1773/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-move/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-move/tool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-move/tool/.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-move/tool/CMakeFiles/clang-move.dir/ClangMove.cpp.o -MF tools/extra/clang-move/tool/CMakeFiles/clang-move.dir/ClangMove.cpp.o.d -o tools/extra/clang-move/tool/CMakeFiles/clang-move.dir/ClangMove.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-move/tool/ClangMove.cpp [1774/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/include-cleaner/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/IncludeSpeller.cpp.o -MF tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/IncludeSpeller.cpp.o.d -o tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/IncludeSpeller.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib/IncludeSpeller.cpp [1775/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/include-cleaner/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/Analysis.cpp.o -MF tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/Analysis.cpp.o.d -o tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/Analysis.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib/Analysis.cpp [1776/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-query -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-query -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-query/CMakeFiles/obj.clangQuery.dir/QueryParser.cpp.o -MF tools/extra/clang-query/CMakeFiles/obj.clangQuery.dir/QueryParser.cpp.o.d -o tools/extra/clang-query/CMakeFiles/obj.clangQuery.dir/QueryParser.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-query/QueryParser.cpp [1777/2015] : && /usr/bin/cmake -E rm -f lib64/libclangTidyReadabilityModule.a && /usr/bin/ar Dqc lib64/libclangTidyReadabilityModule.a tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/AvoidConstParamsInDecls.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/AvoidUnconditionalPreprocessorIfCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/BracesAroundStatementsCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ConstReturnTypeCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ContainerContainsCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ContainerDataPointerCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ContainerSizeEmptyCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ConvertMemberFunctionsToStatic.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/DeleteNullPointerCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/DuplicateIncludeCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ElseAfterReturnCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/FunctionCognitiveComplexityCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/FunctionSizeCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/IdentifierLengthCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/IdentifierNamingCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ImplicitBoolConversionCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/InconsistentDeclarationParameterNameCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/IsolateDeclarationCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/MagicNumbersCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/MakeMemberFunctionConstCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/MisleadingIndentationCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/MisplacedArrayIndexCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/NamedParameterCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/NamespaceCommentCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/NonConstParameterCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/OperatorsRepresentationCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/QualifiedAutoCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ReadabilityTidyModule.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantAccessSpecifiersCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantControlFlowCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantDeclarationCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantFunctionPtrDereferenceCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantMemberInitCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantPreprocessorCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantSmartptrGetCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantStringCStrCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantStringInitCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/SimplifyBooleanExprCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/SimplifySubscriptExprCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/StaticAccessedThroughInstanceCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/StaticDefinitionInAnonymousNamespaceCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/StringCompareCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/SuspiciousCallArgumentCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/UniqueptrDeleteReleaseCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/UppercaseLiteralSuffixCheck.cpp.o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/UseAnyOfAllOfCheck.cpp.o && /usr/bin/ranlib -D lib64/libclangTidyReadabilityModule.a && : [1778/2015] : && /usr/bin/cmake -E rm -f lib64/libclangTidyLLVMLibcModule.a && /usr/bin/ar Dqc lib64/libclangTidyLLVMLibcModule.a tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/CalleeNamespaceCheck.cpp.o tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/ImplementationInNamespaceCheck.cpp.o tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/InlineFunctionDeclCheck.cpp.o tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/LLVMLibcTidyModule.cpp.o tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/RestrictSystemLibcHeadersCheck.cpp.o && /usr/bin/ranlib -D lib64/libclangTidyLLVMLibcModule.a && : [1779/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/include-cleaner/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/FindHeaders.cpp.o -MF tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/FindHeaders.cpp.o.d -o tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/FindHeaders.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib/FindHeaders.cpp [1780/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-query -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-query -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-query/CMakeFiles/obj.clangQuery.dir/Query.cpp.o -MF tools/extra/clang-query/CMakeFiles/obj.clangQuery.dir/Query.cpp.o.d -o tools/extra/clang-query/CMakeFiles/obj.clangQuery.dir/Query.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-query/Query.cpp [1781/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-query/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-query/tool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-query/tool/.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-query/tool/CMakeFiles/clang-query.dir/ClangQuery.cpp.o -MF tools/extra/clang-query/tool/CMakeFiles/clang-query.dir/ClangQuery.cpp.o.d -o tools/extra/clang-query/tool/CMakeFiles/clang-query.dir/ClangQuery.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-query/tool/ClangQuery.cpp [1782/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-move -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-move -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-move/CMakeFiles/obj.clangMove.dir/Move.cpp.o -MF tools/extra/clang-move/CMakeFiles/obj.clangMove.dir/Move.cpp.o.d -o tools/extra/clang-move/CMakeFiles/obj.clangMove.dir/Move.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-move/Move.cpp [1783/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/include-cleaner/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/Types.cpp.o -MF tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/Types.cpp.o.d -o tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/Types.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib/Types.cpp [1784/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/include-cleaner/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/LocateSymbol.cpp.o -MF tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/LocateSymbol.cpp.o.d -o tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/LocateSymbol.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib/LocateSymbol.cpp [1785/2015] : && /usr/bin/cmake -E rm -f lib64/libclangTidyGoogleModule.a && /usr/bin/ar Dqc lib64/libclangTidyGoogleModule.a tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/AvoidCStyleCastsCheck.cpp.o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/AvoidNSObjectNewCheck.cpp.o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/AvoidThrowingObjCExceptionCheck.cpp.o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/AvoidUnderscoreInGoogletestNameCheck.cpp.o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/DefaultArgumentsCheck.cpp.o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/ExplicitConstructorCheck.cpp.o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/ExplicitMakePairCheck.cpp.o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/FunctionNamingCheck.cpp.o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/GlobalNamesInHeadersCheck.cpp.o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/GlobalVariableDeclarationCheck.cpp.o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/GoogleTidyModule.cpp.o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/IntegerTypesCheck.cpp.o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/OverloadedUnaryAndCheck.cpp.o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/TodoCommentCheck.cpp.o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/UnnamedNamespaceInHeaderCheck.cpp.o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/UpgradeGoogletestCaseCheck.cpp.o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/UsingNamespaceDirectiveCheck.cpp.o && /usr/bin/ranlib -D lib64/libclangTidyGoogleModule.a && : [1786/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/include-cleaner/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/HTMLReport.cpp.o -MF tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/HTMLReport.cpp.o.d -o tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/HTMLReport.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib/HTMLReport.cpp [1787/2015] : && /usr/bin/cmake -E rm -f lib64/libclangTidyLLVMModule.a && /usr/bin/ar Dqc lib64/libclangTidyLLVMModule.a tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/HeaderGuardCheck.cpp.o tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/IncludeOrderCheck.cpp.o tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/LLVMTidyModule.cpp.o tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/PreferIsaOrDynCastInConditionalsCheck.cpp.o tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/PreferRegisterOverUnsignedCheck.cpp.o tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/TwineLocalCheck.cpp.o && /usr/bin/ranlib -D lib64/libclangTidyLLVMModule.a && : [1788/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Bracket.cpp.o -MF tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Bracket.cpp.o.d -o tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Bracket.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/Bracket.cpp [1789/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/gen -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/gen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/gen/CMakeFiles/clang-pseudo-gen.dir/Main.cpp.o -MF tools/extra/pseudo/gen/CMakeFiles/clang-pseudo-gen.dir/Main.cpp.o.d -o tools/extra/pseudo/gen/CMakeFiles/clang-pseudo-gen.dir/Main.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/gen/Main.cpp [1790/2015] : && /usr/bin/cmake -E rm -f lib64/libclangTidyFuchsiaModule.a && /usr/bin/ar Dqc lib64/libclangTidyFuchsiaModule.a tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/DefaultArgumentsCallsCheck.cpp.o tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/DefaultArgumentsDeclarationsCheck.cpp.o tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/FuchsiaTidyModule.cpp.o tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/MultipleInheritanceCheck.cpp.o tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/OverloadedOperatorCheck.cpp.o tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/StaticallyConstructedObjectsCheck.cpp.o tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/TrailingReturnCheck.cpp.o tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/VirtualInheritanceCheck.cpp.o && /usr/bin/ranlib -D lib64/libclangTidyFuchsiaModule.a && : [1791/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pp-trace -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pp-trace -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pp-trace/CMakeFiles/pp-trace.dir/PPCallbacksTracker.cpp.o -MF tools/extra/pp-trace/CMakeFiles/pp-trace.dir/PPCallbacksTracker.cpp.o.d -o tools/extra/pp-trace/CMakeFiles/pp-trace.dir/PPCallbacksTracker.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pp-trace/PPCallbacksTracker.cpp [1792/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/DirectiveTree.cpp.o -MF tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/DirectiveTree.cpp.o.d -o tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/DirectiveTree.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/DirectiveTree.cpp [1793/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Disambiguate.cpp.o -MF tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Disambiguate.cpp.o.d -o tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Disambiguate.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/Disambiguate.cpp [1794/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Lex.cpp.o -MF tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Lex.cpp.o.d -o tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Lex.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/Lex.cpp [1795/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Forest.cpp.o -MF tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Forest.cpp.o.d -o tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Forest.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/Forest.cpp [1796/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Token.cpp.o -MF tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Token.cpp.o.d -o tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Token.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/Token.cpp [1797/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/include-cleaner/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/Record.cpp.o -MF tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/Record.cpp.o.d -o tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/Record.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib/Record.cpp [1798/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/GLR.cpp.o -MF tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/GLR.cpp.o.d -o tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/GLR.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/GLR.cpp [1799/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pp-trace -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pp-trace -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pp-trace/CMakeFiles/pp-trace.dir/PPTrace.cpp.o -MF tools/extra/pp-trace/CMakeFiles/pp-trace.dir/PPTrace.cpp.o.d -o tools/extra/pp-trace/CMakeFiles/pp-trace.dir/PPTrace.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pp-trace/PPTrace.cpp [1800/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib/grammar -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/grammar -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/LRTable.cpp.o -MF tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/LRTable.cpp.o.d -o tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/LRTable.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/grammar/LRTable.cpp [1801/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/include-cleaner/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/tool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/tool/../lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/include-cleaner/tool/CMakeFiles/clang-include-cleaner.dir/IncludeCleaner.cpp.o -MF tools/extra/include-cleaner/tool/CMakeFiles/clang-include-cleaner.dir/IncludeCleaner.cpp.o.d -o tools/extra/include-cleaner/tool/CMakeFiles/clang-include-cleaner.dir/IncludeCleaner.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/tool/IncludeCleaner.cpp [1802/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib/grammar -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/grammar -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/LRGraph.cpp.o -MF tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/LRGraph.cpp.o.d -o tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/LRGraph.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/grammar/LRGraph.cpp [1803/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd && /usr/bin/python3.11 /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/quality/CompletionModelCodegen.py --model /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/quality/model --output_dir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd --filename CompletionModel --cpp_class clang::clangd::Example [1804/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/support -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Cancellation.cpp.o -MF tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Cancellation.cpp.o.d -o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Cancellation.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support/Cancellation.cpp [1805/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib/grammar -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/grammar -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/GrammarBNF.cpp.o -MF tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/GrammarBNF.cpp.o.d -o tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/GrammarBNF.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/grammar/GrammarBNF.cpp [1806/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib/grammar -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/grammar -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/LRTableBuild.cpp.o -MF tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/LRTableBuild.cpp.o.d -o tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/LRTableBuild.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/grammar/LRTableBuild.cpp [1807/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib/grammar -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/grammar -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/Grammar.cpp.o -MF tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/Grammar.cpp.o.d -o tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/Grammar.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/grammar/Grammar.cpp [1808/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/include-cleaner/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/WalkAST.cpp.o -MF tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/WalkAST.cpp.o.d -o tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/WalkAST.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib/WalkAST.cpp [1809/2015] : && /usr/bin/cmake -E rm -f lib64/libclangTidyModernizeModule.a && /usr/bin/ar Dqc lib64/libclangTidyModernizeModule.a tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/AvoidBindCheck.cpp.o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/AvoidCArraysCheck.cpp.o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ConcatNestedNamespacesCheck.cpp.o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/DeprecatedHeadersCheck.cpp.o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/DeprecatedIosBaseAliasesCheck.cpp.o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/IntegralLiteralExpressionMatcher.cpp.o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/LoopConvertCheck.cpp.o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/LoopConvertUtils.cpp.o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/MacroToEnumCheck.cpp.o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/MakeSharedCheck.cpp.o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/MakeSmartPtrCheck.cpp.o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/MakeUniqueCheck.cpp.o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ModernizeTidyModule.cpp.o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/PassByValueCheck.cpp.o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/RawStringLiteralCheck.cpp.o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/RedundantVoidArgCheck.cpp.o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ReplaceAutoPtrCheck.cpp.o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ReplaceDisallowCopyAndAssignMacroCheck.cpp.o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ReplaceRandomShuffleCheck.cpp.o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ReturnBracedInitListCheck.cpp.o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ShrinkToFitCheck.cpp.o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/TypeTraitsCheck.cpp.o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UnaryStaticAssertCheck.cpp.o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseAutoCheck.cpp.o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseBoolLiteralsCheck.cpp.o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseDefaultMemberInitCheck.cpp.o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseEmplaceCheck.cpp.o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseEqualsDefaultCheck.cpp.o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseEqualsDeleteCheck.cpp.o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseNodiscardCheck.cpp.o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseNoexceptCheck.cpp.o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseNullptrCheck.cpp.o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseOverrideCheck.cpp.o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseStdPrintCheck.cpp.o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseTrailingReturnTypeCheck.cpp.o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseTransparentFunctorsCheck.cpp.o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseUncaughtExceptionsCheck.cpp.o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseUsingCheck.cpp.o && /usr/bin/ranlib -D lib64/libclangTidyModernizeModule.a && : [1810/2015] : && /usr/bin/cmake -E rm -f lib64/libclangTidyZirconModule.a && /usr/bin/ar Dqc lib64/libclangTidyZirconModule.a tools/extra/clang-tidy/zircon/CMakeFiles/obj.clangTidyZirconModule.dir/TemporaryObjectsCheck.cpp.o tools/extra/clang-tidy/zircon/CMakeFiles/obj.clangTidyZirconModule.dir/ZirconTidyModule.cpp.o && /usr/bin/ranlib -D lib64/libclangTidyZirconModule.a && : [1811/2015] : && /usr/bin/cmake -E rm -f lib64/libclangDoc.a && /usr/bin/ar Dqc lib64/libclangDoc.a tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/BitcodeReader.cpp.o tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/BitcodeWriter.cpp.o tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/ClangDoc.cpp.o tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/Generators.cpp.o tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/HTMLGenerator.cpp.o tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/Mapper.cpp.o tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/MDGenerator.cpp.o tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/Representation.cpp.o tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/Serialize.cpp.o tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/YAMLGenerator.cpp.o && /usr/bin/ranlib -D lib64/libclangDoc.a && : [1812/2015] : && /usr/bin/cmake -E rm -f lib64/libfindAllSymbols.a && /usr/bin/ar Dqc lib64/libfindAllSymbols.a tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/FindAllSymbols.cpp.o tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/FindAllSymbolsAction.cpp.o tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/FindAllMacros.cpp.o tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/HeaderMapCollector.cpp.o tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/PathConfig.cpp.o tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/PragmaCommentHandler.cpp.o tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/STLPostfixHeaderMap.cpp.o tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/SymbolInfo.cpp.o && /usr/bin/ranlib -D lib64/libfindAllSymbols.a && : [1813/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CodeCompletionStrings.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CodeCompletionStrings.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CodeCompletionStrings.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/CodeCompletionStrings.cpp [1814/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ASTSignals.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ASTSignals.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ASTSignals.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/ASTSignals.cpp [1815/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/clang-doc/tool/CMakeFiles/clang-doc.dir/ClangDocMain.cpp.o -o bin/clang-doc lib64/libclangDoc.a lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1816/2015] : && /usr/bin/cmake -E rm -f lib64/libclangIncludeFixer.a && /usr/bin/ar Dqc lib64/libclangIncludeFixer.a tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/IncludeFixer.cpp.o tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/IncludeFixerContext.cpp.o tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/InMemorySymbolIndex.cpp.o tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/FuzzySymbolIndex.cpp.o tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/SymbolIndexManager.cpp.o tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/YamlSymbolIndex.cpp.o && /usr/bin/ranlib -D lib64/libclangIncludeFixer.a && : [1817/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/tool-template -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/tool-template -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/tool-template/CMakeFiles/tool-template.dir/ToolTemplate.cpp.o -MF tools/extra/tool-template/CMakeFiles/tool-template.dir/ToolTemplate.cpp.o.d -o tools/extra/tool-template/CMakeFiles/tool-template.dir/ToolTemplate.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/tool-template/ToolTemplate.cpp [1818/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/clang-include-fixer/find-all-symbols/tool/CMakeFiles/find-all-symbols.dir/FindAllSymbolsMain.cpp.o -o bin/find-all-symbols lib64/libfindAllSymbols.a lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1819/2015] : && /usr/bin/cmake -E rm -f lib64/libclangIncludeFixerPlugin.a && /usr/bin/ar Dqc lib64/libclangIncludeFixerPlugin.a tools/extra/clang-include-fixer/plugin/CMakeFiles/obj.clangIncludeFixerPlugin.dir/IncludeFixerPlugin.cpp.o && /usr/bin/ranlib -D lib64/libclangIncludeFixerPlugin.a && : [1820/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CollectMacros.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CollectMacros.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CollectMacros.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/CollectMacros.cpp [1821/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Config.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Config.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Config.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/Config.cpp [1822/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/clang-include-fixer/tool/CMakeFiles/clang-include-fixer.dir/ClangIncludeFixer.cpp.o -o bin/clang-include-fixer lib64/libclangIncludeFixer.a lib64/libfindAllSymbols.a lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1823/2015] : && /usr/bin/cmake -E rm -f lib64/libclangMove.a && /usr/bin/ar Dqc lib64/libclangMove.a tools/extra/clang-move/CMakeFiles/obj.clangMove.dir/Move.cpp.o tools/extra/clang-move/CMakeFiles/obj.clangMove.dir/HelperDeclRefGraph.cpp.o && /usr/bin/ranlib -D lib64/libclangMove.a && : [1824/2015] : && /usr/bin/cmake -E rm -f lib64/libclangQuery.a && /usr/bin/ar Dqc lib64/libclangQuery.a tools/extra/clang-query/CMakeFiles/obj.clangQuery.dir/Query.cpp.o tools/extra/clang-query/CMakeFiles/obj.clangQuery.dir/QueryParser.cpp.o && /usr/bin/ranlib -D lib64/libclangQuery.a && : [1825/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/clang-move/tool/CMakeFiles/clang-move.dir/ClangMove.cpp.o -o bin/clang-move lib64/libclangMove.a lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1826/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ClangdServer.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ClangdServer.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ClangdServer.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/ClangdServer.cpp [1827/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/AST.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/AST.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/AST.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/AST.cpp [1828/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Compiler.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Compiler.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Compiler.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/Compiler.cpp [1829/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CodeComplete.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CodeComplete.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CodeComplete.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/CodeComplete.cpp [1830/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ConfigProvider.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ConfigProvider.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ConfigProvider.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/ConfigProvider.cpp [1831/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ConfigCompile.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ConfigCompile.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ConfigCompile.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/ConfigCompile.cpp [1832/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/clang-query/tool/CMakeFiles/clang-query.dir/ClangQuery.cpp.o -o bin/clang-query lib64/libclangQuery.a lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1833/2015] : && /usr/bin/cmake -E rm -f lib64/libclangIncludeCleaner.a && /usr/bin/ar Dqc lib64/libclangIncludeCleaner.a tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/Analysis.cpp.o tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/IncludeSpeller.cpp.o tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/FindHeaders.cpp.o tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/HTMLReport.cpp.o tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/LocateSymbol.cpp.o tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/Record.cpp.o tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/Types.cpp.o tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/WalkAST.cpp.o && /usr/bin/ranlib -D lib64/libclangIncludeCleaner.a && : [1834/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/DraftStore.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/DraftStore.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/DraftStore.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/DraftStore.cpp [1835/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/DecisionForest.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/DecisionForest.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/DecisionForest.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/DecisionForest.cpp [1836/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ConfigYAML.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ConfigYAML.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ConfigYAML.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/ConfigYAML.cpp [1837/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Feature.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Feature.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Feature.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/Feature.cpp [1838/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/pp-trace/CMakeFiles/pp-trace.dir/PPTrace.cpp.o tools/extra/pp-trace/CMakeFiles/pp-trace.dir/PPCallbacksTracker.cpp.o -o bin/pp-trace lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1839/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FeatureModule.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FeatureModule.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FeatureModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/FeatureModule.cpp [1840/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ExpectedTypes.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ExpectedTypes.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ExpectedTypes.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/ExpectedTypes.cpp [1841/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ClangdLSPServer.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ClangdLSPServer.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ClangdLSPServer.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/ClangdLSPServer.cpp [1842/2015] : && /usr/bin/cmake -E rm -f lib64/libclangTidyMiscModule.a && /usr/bin/ar Dqc lib64/libclangTidyMiscModule.a tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/ConstCorrectnessCheck.cpp.o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/DefinitionsInHeadersCheck.cpp.o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/ConfusableIdentifierCheck.cpp.o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/HeaderIncludeCycleCheck.cpp.o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/IncludeCleanerCheck.cpp.o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/MiscTidyModule.cpp.o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/MisleadingBidirectional.cpp.o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/MisleadingIdentifier.cpp.o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/MisplacedConstCheck.cpp.o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/NewDeleteOverloadsCheck.cpp.o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/NoRecursionCheck.cpp.o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/NonCopyableObjects.cpp.o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/NonPrivateMemberVariablesInClassesCheck.cpp.o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/RedundantExpressionCheck.cpp.o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/StaticAssertCheck.cpp.o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/ThrowByValueCatchByReferenceCheck.cpp.o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UnconventionalAssignOperatorCheck.cpp.o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UniqueptrResetReleaseCheck.cpp.o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UnusedAliasDeclsCheck.cpp.o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UnusedParametersCheck.cpp.o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UnusedUsingDeclsCheck.cpp.o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UseAnonymousNamespaceCheck.cpp.o && /usr/bin/ranlib -D lib64/libclangTidyMiscModule.a && : [1843/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FileDistance.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FileDistance.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FileDistance.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/FileDistance.cpp [1844/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FS.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FS.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FS.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/FS.cpp [1845/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FuzzyMatch.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FuzzyMatch.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FuzzyMatch.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/FuzzyMatch.cpp [1846/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/include-cleaner/tool/CMakeFiles/clang-include-cleaner.dir/IncludeCleaner.cpp.o -o bin/clang-include-cleaner lib64/libclangIncludeCleaner.a lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1847/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Format.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Format.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Format.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/Format.cpp [1848/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CompileCommands.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CompileCommands.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CompileCommands.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/CompileCommands.cpp [1849/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FindSymbols.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FindSymbols.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FindSymbols.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/FindSymbols.cpp [1850/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/GlobalCompilationDatabase.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/GlobalCompilationDatabase.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/GlobalCompilationDatabase.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/GlobalCompilationDatabase.cpp [1851/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Diagnostics.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Diagnostics.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Diagnostics.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/Diagnostics.cpp [1852/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/DumpAST.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/DumpAST.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/DumpAST.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/DumpAST.cpp [1853/2015] : && /usr/bin/cmake -E rm -f lib64/libclangTidyCppCoreGuidelinesModule.a && /usr/bin/ar Dqc lib64/libclangTidyCppCoreGuidelinesModule.a tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidCapturingLambdaCoroutinesCheck.cpp.o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidConstOrRefDataMembersCheck.cpp.o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidDoWhileCheck.cpp.o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidGotoCheck.cpp.o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidNonConstGlobalVariablesCheck.cpp.o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidReferenceCoroutineParametersCheck.cpp.o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/CppCoreGuidelinesTidyModule.cpp.o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/InitVariablesCheck.cpp.o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/InterfacesGlobalInitCheck.cpp.o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/MacroUsageCheck.cpp.o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/MisleadingCaptureDefaultByValueCheck.cpp.o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/MissingStdForwardCheck.cpp.o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/NarrowingConversionsCheck.cpp.o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/NoMallocCheck.cpp.o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/OwningMemoryCheck.cpp.o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/PreferMemberInitializerCheck.cpp.o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProBoundsArrayToPointerDecayCheck.cpp.o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProBoundsConstantArrayIndexCheck.cpp.o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProBoundsPointerArithmeticCheck.cpp.o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeConstCastCheck.cpp.o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeCstyleCastCheck.cpp.o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeMemberInitCheck.cpp.o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeReinterpretCastCheck.cpp.o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeStaticCastDowncastCheck.cpp.o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeUnionAccessCheck.cpp.o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeVarargCheck.cpp.o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/RvalueReferenceParamNotMovedCheck.cpp.o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/SlicingCheck.cpp.o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/SpecialMemberFunctionsCheck.cpp.o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/VirtualClassDestructorCheck.cpp.o && /usr/bin/ranlib -D lib64/libclangTidyCppCoreGuidelinesModule.a && : [1854/2015] : && /usr/bin/cmake -E rm -f lib64/libclangPseudoGrammar.a && /usr/bin/ar Dqc lib64/libclangPseudoGrammar.a tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/Grammar.cpp.o tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/GrammarBNF.cpp.o tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/LRGraph.cpp.o tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/LRTable.cpp.o tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/LRTableBuild.cpp.o && /usr/bin/ranlib -D lib64/libclangPseudoGrammar.a && : [1855/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/HeuristicResolver.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/HeuristicResolver.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/HeuristicResolver.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/HeuristicResolver.cpp [1856/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Headers.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Headers.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Headers.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/Headers.cpp [1857/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FindTarget.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FindTarget.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FindTarget.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/FindTarget.cpp [1858/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/JSONTransport.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/JSONTransport.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/JSONTransport.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/JSONTransport.cpp [1859/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/HeaderSourceSwitch.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/HeaderSourceSwitch.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/HeaderSourceSwitch.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/HeaderSourceSwitch.cpp [1860/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/PathMapping.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/PathMapping.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/PathMapping.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/PathMapping.cpp [1861/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/IncludeCleaner.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/IncludeCleaner.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/IncludeCleaner.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/IncludeCleaner.cpp [1862/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Hover.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Hover.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Hover.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/Hover.cpp [1863/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/RIFF.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/RIFF.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/RIFF.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/RIFF.cpp [1864/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/IncludeFixer.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/IncludeFixer.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/IncludeFixer.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/IncludeFixer.cpp [1865/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Protocol.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Protocol.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Protocol.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/Protocol.cpp [1866/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Quality.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Quality.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Quality.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/Quality.cpp [1867/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/InlayHints.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/InlayHints.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/InlayHints.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/InlayHints.cpp [1868/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SemanticSelection.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SemanticSelection.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SemanticSelection.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/SemanticSelection.cpp [1869/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/TidyProvider.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/TidyProvider.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/TidyProvider.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/TidyProvider.cpp [1870/2015] : && /usr/bin/cmake -E rm -f lib64/libclangTidyBugproneModule.a && /usr/bin/ar Dqc lib64/libclangTidyBugproneModule.a tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ArgumentCommentCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/AssertSideEffectCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/AssignmentInIfConditionCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BadSignalToKillThreadCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BoolPointerImplicitConversionCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BranchCloneCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BugproneTidyModule.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/CopyConstructorInitCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/DanglingHandleCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/DynamicStaticInitializersCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/EasilySwappableParametersCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/EmptyCatchCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ExceptionEscapeCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/FoldInitTypeCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ForwardDeclarationNamespaceCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ForwardingReferenceOverloadCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ImplicitWideningOfMultiplicationResultCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/InaccurateEraseCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SwitchMissingDefaultCaseCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/IncorrectRoundingsCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/InfiniteLoopCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/IntegerDivisionCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/LambdaFunctionNameCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MacroParenthesesCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MacroRepeatedSideEffectsCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MisplacedOperatorInStrlenInAllocCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MisplacedPointerArithmeticInAllocCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MisplacedWideningCastCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MoveForwardingReferenceCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MultipleNewInOneExpressionCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MultipleStatementMacroCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/NoEscapeCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/NonZeroEnumToBoolConversionCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/NotNullTerminatedResultCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ParentVirtualCallCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/PosixReturnCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/RedundantBranchConditionCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ReservedIdentifierCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SharedPtrArrayMismatchCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SignalHandlerCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SignedCharMisuseCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SizeofContainerCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SizeofExpressionCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SmartPtrArrayMismatchCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SpuriouslyWakeUpFunctionsCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StandaloneEmptyCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StringConstructorCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StringIntegerAssignmentCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StringLiteralWithEmbeddedNulCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StringviewNullptrCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousEnumUsageCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousIncludeCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousMemoryComparisonCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousMemsetUsageCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousMissingCommaCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousReallocUsageCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousSemicolonCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousStringCompareCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SwappedArgumentsCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/TerminatingContinueCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ThrowKeywordMissingCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/TooSmallLoopVariableCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UncheckedOptionalAccessCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UndefinedMemoryManipulationCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UndelegatedConstructorCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnhandledExceptionAtNewCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnhandledSelfAssignmentCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UniquePtrArrayMismatchCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnsafeFunctionsCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnusedRaiiCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnusedReturnValueCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UseAfterMoveCheck.cpp.o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/VirtualNearMissCheck.cpp.o && /usr/bin/ranlib -D lib64/libclangTidyBugproneModule.a && : [1871/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SystemIncludeExtractor.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SystemIncludeExtractor.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SystemIncludeExtractor.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/SystemIncludeExtractor.cpp [1872/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Preamble.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Preamble.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Preamble.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/Preamble.cpp [1873/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SourceCode.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SourceCode.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SourceCode.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/SourceCode.cpp [1874/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/pseudo/gen/CMakeFiles/clang-pseudo-gen.dir/Main.cpp.o -o bin/clang-pseudo-gen lib64/libclangPseudoGrammar.a /usr/lib64/libLLVM-17.so && : [1875/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/URI.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/URI.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/URI.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/URI.cpp [1876/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-pseudo-gen --grammar /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include/../lib/cxx/cxx.bnf --emit-grammar-content -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include/CXXBNF.inc [1877/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-pseudo-gen --grammar /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include/../lib/cxx/cxx.bnf --emit-symbol-list -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include/CXXSymbols.inc [1878/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Selection.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Selection.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Selection.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/Selection.cpp [1879/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ParsedAST.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ParsedAST.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ParsedAST.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/ParsedAST.cpp [1880/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib/cli -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/cli -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/cli/CMakeFiles/obj.clangPseudoCLI.dir/CLI.cpp.o -MF tools/extra/pseudo/lib/cli/CMakeFiles/obj.clangPseudoCLI.dir/CLI.cpp.o.d -o tools/extra/pseudo/lib/cli/CMakeFiles/obj.clangPseudoCLI.dir/CLI.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/cli/CLI.cpp [1881/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib/cxx -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/cxx -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/cxx/CMakeFiles/obj.clangPseudoCXX.dir/CXX.cpp.o -MF tools/extra/pseudo/lib/cxx/CMakeFiles/obj.clangPseudoCXX.dir/CXX.cpp.o.d -o tools/extra/pseudo/lib/cxx/CMakeFiles/obj.clangPseudoCXX.dir/CXX.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/cxx/CXX.cpp [1882/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/fuzzer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/fuzzer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/fuzzer/CMakeFiles/clang-pseudo-fuzzer.dir/Main.cpp.o -MF tools/extra/pseudo/fuzzer/CMakeFiles/clang-pseudo-fuzzer.dir/Main.cpp.o.d -o tools/extra/pseudo/fuzzer/CMakeFiles/clang-pseudo-fuzzer.dir/Main.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/fuzzer/Main.cpp [1883/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/tool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/tool/CMakeFiles/clang-pseudo.dir/HTMLForest.cpp.o -MF tools/extra/pseudo/tool/CMakeFiles/clang-pseudo.dir/HTMLForest.cpp.o.d -o tools/extra/pseudo/tool/CMakeFiles/clang-pseudo.dir/HTMLForest.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/tool/HTMLForest.cpp [1884/2015] : && /usr/bin/cmake -E rm -f lib64/libclangTidyCERTModule.a && /usr/bin/ar Dqc lib64/libclangTidyCERTModule.a tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/CERTTidyModule.cpp.o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/CommandProcessorCheck.cpp.o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/DefaultOperatorNewAlignmentCheck.cpp.o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/DontModifyStdNamespaceCheck.cpp.o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/FloatLoopCounter.cpp.o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/LimitedRandomnessCheck.cpp.o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/MutatingCopyCheck.cpp.o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/NonTrivialTypesLibcMemoryCallsCheck.cpp.o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/PostfixOperatorCheck.cpp.o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/ProperlySeededRandomGeneratorCheck.cpp.o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/SetLongJmpCheck.cpp.o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/StaticObjectExceptionCheck.cpp.o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/StrToNumCheck.cpp.o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/ThrownExceptionTypeCheck.cpp.o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/VariadicFunctionDefCheck.cpp.o && /usr/bin/ranlib -D lib64/libclangTidyCERTModule.a && : [1885/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/fuzzer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/fuzzer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/fuzzer/CMakeFiles/clang-pseudo-fuzzer.dir/Fuzzer.cpp.o -MF tools/extra/pseudo/fuzzer/CMakeFiles/clang-pseudo-fuzzer.dir/Fuzzer.cpp.o.d -o tools/extra/pseudo/fuzzer/CMakeFiles/clang-pseudo-fuzzer.dir/Fuzzer.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/fuzzer/Fuzzer.cpp [1886/2015] : && /usr/bin/cmake -E rm -f lib64/libclangTidyHICPPModule.a && /usr/bin/ar Dqc lib64/libclangTidyHICPPModule.a tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/ExceptionBaseclassCheck.cpp.o tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/HICPPTidyModule.cpp.o tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/MultiwayPathsCoveredCheck.cpp.o tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/NoAssemblerCheck.cpp.o tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/SignedBitwiseCheck.cpp.o && /usr/bin/ranlib -D lib64/libclangTidyHICPPModule.a && : [1887/2015] : && /usr/bin/cmake -E rm -f lib64/libclangPseudo.a && /usr/bin/ar Dqc lib64/libclangPseudo.a tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Bracket.cpp.o tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/DirectiveTree.cpp.o tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Disambiguate.cpp.o tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Forest.cpp.o tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/GLR.cpp.o tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Lex.cpp.o tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Token.cpp.o && /usr/bin/ranlib -D lib64/libclangPseudo.a && : [1888/2015] : && /usr/bin/cmake -E rm -f lib64/libclangTidyPlugin.a && /usr/bin/ar Dqc lib64/libclangTidyPlugin.a tools/extra/clang-tidy/plugin/CMakeFiles/obj.clangTidyPlugin.dir/ClangTidyPlugin.cpp.o && /usr/bin/ranlib -D lib64/libclangTidyPlugin.a && : [1889/2015] : && /usr/bin/cmake -E rm -f lib64/libclangTidyMain.a && /usr/bin/ar Dqc lib64/libclangTidyMain.a tools/extra/clang-tidy/tool/CMakeFiles/obj.clangTidyMain.dir/ClangTidyMain.cpp.o && /usr/bin/ranlib -D lib64/libclangTidyMain.a && : [1890/2015] : && /usr/bin/cmake -E rm -f lib64/libclangPseudoCXX.a && /usr/bin/ar Dqc lib64/libclangPseudoCXX.a tools/extra/pseudo/lib/cxx/CMakeFiles/obj.clangPseudoCXX.dir/CXX.cpp.o && /usr/bin/ranlib -D lib64/libclangPseudoCXX.a && : [1891/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/tool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/tool/CMakeFiles/clang-pseudo.dir/ClangPseudo.cpp.o -MF tools/extra/pseudo/tool/CMakeFiles/clang-pseudo.dir/ClangPseudo.cpp.o.d -o tools/extra/pseudo/tool/CMakeFiles/clang-pseudo.dir/ClangPseudo.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/tool/ClangPseudo.cpp [1892/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SemanticHighlighting.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SemanticHighlighting.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SemanticHighlighting.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/SemanticHighlighting.cpp [1893/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/TUScheduler.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/TUScheduler.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/TUScheduler.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/TUScheduler.cpp [1894/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundIndexLoader.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundIndexLoader.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundIndexLoader.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/BackgroundIndexLoader.cpp [1895/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundQueue.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundQueue.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundQueue.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/BackgroundQueue.cpp [1896/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundIndexStorage.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundIndexStorage.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundIndexStorage.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/BackgroundIndexStorage.cpp [1897/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/CanonicalIncludes.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/CanonicalIncludes.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/CanonicalIncludes.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/CanonicalIncludes.cpp [1898/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Index.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Index.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Index.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/Index.cpp [1899/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Background.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Background.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Background.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/Background.cpp [1900/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Merge.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Merge.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Merge.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/Merge.cpp [1901/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundRebuild.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundRebuild.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundRebuild.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/BackgroundRebuild.cpp [1902/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/ProjectAware.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/ProjectAware.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/ProjectAware.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/ProjectAware.cpp [1903/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/MemIndex.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/MemIndex.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/MemIndex.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/MemIndex.cpp [1904/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Relation.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Relation.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Relation.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/Relation.cpp [1905/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Ref.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Ref.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Ref.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/Ref.cpp [1906/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Symbol.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Symbol.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Symbol.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/Symbol.cpp [1907/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/IndexAction.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/IndexAction.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/IndexAction.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/IndexAction.cpp [1908/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -Wno-unused -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CompletionModel.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CompletionModel.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CompletionModel.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/CompletionModel.cpp [1909/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolLocation.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolLocation.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolLocation.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/SymbolLocation.cpp [1910/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolID.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolID.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolID.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/SymbolID.cpp [1911/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolOrigin.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolOrigin.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolOrigin.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/SymbolOrigin.cpp [1912/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/XRefs.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/XRefs.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/XRefs.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/XRefs.cpp [1913/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/FileIndex.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/FileIndex.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/FileIndex.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/FileIndex.cpp [1914/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/Iterator.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/Iterator.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/Iterator.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/dex/Iterator.cpp [1915/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/PostingList.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/PostingList.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/PostingList.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/dex/PostingList.cpp [1916/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/Trigram.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/Trigram.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/Trigram.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/dex/Trigram.cpp [1917/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/Dex.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/Dex.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/Dex.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/dex/Dex.cpp [1918/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/StdLib.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/StdLib.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/StdLib.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/StdLib.cpp [1919/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Serialization.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Serialization.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Serialization.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/Serialization.cpp [1920/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/support -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Context.cpp.o -MF tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Context.cpp.o.d -o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Context.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support/Context.cpp [1921/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/refactor/InsertionPoint.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/refactor/InsertionPoint.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/refactor/InsertionPoint.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/InsertionPoint.cpp [1922/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/support -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/FileCache.cpp.o -MF tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/FileCache.cpp.o.d -o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/FileCache.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support/FileCache.cpp [1923/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/support -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Logger.cpp.o -MF tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Logger.cpp.o.d -o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Logger.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support/Logger.cpp [1924/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/support -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Path.cpp.o -MF tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Path.cpp.o.d -o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Path.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support/Path.cpp [1925/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/support -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Shutdown.cpp.o -MF tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Shutdown.cpp.o.d -o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Shutdown.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support/Shutdown.cpp [1926/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/support -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/MemoryTree.cpp.o -MF tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/MemoryTree.cpp.o.d -o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/MemoryTree.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support/MemoryTree.cpp [1927/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/support -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/ThreadCrashReporter.cpp.o -MF tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/ThreadCrashReporter.cpp.o.d -o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/ThreadCrashReporter.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support/ThreadCrashReporter.cpp [1928/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/support -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Markup.cpp.o -MF tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Markup.cpp.o.d -o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Markup.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support/Markup.cpp [1929/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/YAMLSerialization.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/YAMLSerialization.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/YAMLSerialization.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/YAMLSerialization.cpp [1930/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolCollector.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolCollector.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolCollector.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/SymbolCollector.cpp [1931/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/support -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Threading.cpp.o -MF tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Threading.cpp.o.d -o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Threading.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support/Threading.cpp [1932/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/support -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/ThreadsafeFS.cpp.o -MF tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/ThreadsafeFS.cpp.o.d -o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/ThreadsafeFS.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support/ThreadsafeFS.cpp [1933/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/support -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Trace.cpp.o -MF tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Trace.cpp.o.d -o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Trace.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support/Trace.cpp [1934/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/refactor/Tweak.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/refactor/Tweak.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/refactor/Tweak.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/Tweak.cpp [1935/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/refactor/Rename.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/refactor/Rename.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/refactor/Rename.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/Rename.cpp [1936/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/AnnotateHighlightings.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/AnnotateHighlightings.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/AnnotateHighlightings.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/AnnotateHighlightings.cpp [1937/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DumpAST.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DumpAST.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DumpAST.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/DumpAST.cpp [1938/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DefineOutline.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DefineOutline.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DefineOutline.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/DefineOutline.cpp [1939/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DefineInline.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DefineInline.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DefineInline.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/DefineInline.cpp [1940/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExpandDeducedType.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExpandDeducedType.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExpandDeducedType.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/ExpandDeducedType.cpp [1941/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExpandMacro.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExpandMacro.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExpandMacro.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/ExpandMacro.cpp [1942/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/AddUsing.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/AddUsing.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/AddUsing.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/AddUsing.cpp [1943/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/MemberwiseConstructor.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/MemberwiseConstructor.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/MemberwiseConstructor.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/MemberwiseConstructor.cpp [1944/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ObjCLocalizeStringLiteral.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ObjCLocalizeStringLiteral.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ObjCLocalizeStringLiteral.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/ObjCLocalizeStringLiteral.cpp [1945/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/PopulateSwitch.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/PopulateSwitch.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/PopulateSwitch.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/PopulateSwitch.cpp [1946/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ObjCMemberwiseInitializer.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ObjCMemberwiseInitializer.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ObjCMemberwiseInitializer.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/ObjCMemberwiseInitializer.cpp [1947/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/fuzzer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/fuzzer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/fuzzer/CMakeFiles/clangd-fuzzer.dir/FuzzerClangdMain.cpp.o -MF tools/extra/clangd/fuzzer/CMakeFiles/clangd-fuzzer.dir/FuzzerClangdMain.cpp.o.d -o tools/extra/clangd/fuzzer/CMakeFiles/clangd-fuzzer.dir/FuzzerClangdMain.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/fuzzer/FuzzerClangdMain.cpp [1948/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/RawStringLiteral.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/RawStringLiteral.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/RawStringLiteral.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/RawStringLiteral.cpp [1949/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExtractVariable.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExtractVariable.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExtractVariable.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/ExtractVariable.cpp [1950/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExtractFunction.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExtractFunction.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExtractFunction.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/ExtractFunction.cpp [1951/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/tool/CMakeFiles/clangd.dir/ClangdToolMain.cpp.o -MF tools/extra/clangd/tool/CMakeFiles/clangd.dir/ClangdToolMain.cpp.o.d -o tools/extra/clangd/tool/CMakeFiles/clangd.dir/ClangdToolMain.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/tool/ClangdToolMain.cpp [1952/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/SwapIfBranches.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/SwapIfBranches.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/SwapIfBranches.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/SwapIfBranches.cpp [1953/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/SpecialMembers.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/SpecialMembers.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/SpecialMembers.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/SpecialMembers.cpp [1954/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/fuzzer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/fuzzer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/fuzzer/CMakeFiles/clangd-fuzzer.dir/clangd-fuzzer.cpp.o -MF tools/extra/clangd/fuzzer/CMakeFiles/clangd-fuzzer.dir/clangd-fuzzer.cpp.o.d -o tools/extra/clangd/fuzzer/CMakeFiles/clangd-fuzzer.dir/clangd-fuzzer.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/fuzzer/clangd-fuzzer.cpp [1955/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/index/remote/unimplemented -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/remote/unimplemented -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/remote/unimplemented/../../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/index/remote/unimplemented/CMakeFiles/obj.clangdRemoteIndex.dir/UnimplementedClient.cpp.o -MF tools/extra/clangd/index/remote/unimplemented/CMakeFiles/obj.clangdRemoteIndex.dir/UnimplementedClient.cpp.o.d -o tools/extra/clangd/index/remote/unimplemented/CMakeFiles/obj.clangdRemoteIndex.dir/UnimplementedClient.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/remote/unimplemented/UnimplementedClient.cpp [1956/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/RemoveUsingNamespace.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/RemoveUsingNamespace.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/RemoveUsingNamespace.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/RemoveUsingNamespace.cpp [1957/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/ARCMigrate.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/ARCMigrate.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/ARCMigrate.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/ARCMigrate.cpp [1958/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/BuildSystem.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/BuildSystem.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/BuildSystem.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/BuildSystem.cpp [1959/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/tool/CMakeFiles/obj.clangdMain.dir/Check.cpp.o -MF tools/extra/clangd/tool/CMakeFiles/obj.clangdMain.dir/Check.cpp.o.d -o tools/extra/clangd/tool/CMakeFiles/obj.clangdMain.dir/Check.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/tool/Check.cpp [1960/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/indexer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/indexer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/indexer/CMakeFiles/clangd-indexer.dir/IndexerMain.cpp.o -MF tools/extra/clangd/indexer/CMakeFiles/clangd-indexer.dir/IndexerMain.cpp.o.d -o tools/extra/clangd/indexer/CMakeFiles/clangd-indexer.dir/IndexerMain.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/indexer/IndexerMain.cpp [1961/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/tool/CMakeFiles/obj.clangdMain.dir/ClangdMain.cpp.o -MF tools/extra/clangd/tool/CMakeFiles/obj.clangdMain.dir/ClangdMain.cpp.o.d -o tools/extra/clangd/tool/CMakeFiles/obj.clangdMain.dir/ClangdMain.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/tool/ClangdMain.cpp [1962/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CIndexCXX.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CIndexCXX.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CIndexCXX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CIndexCXX.cpp [1963/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/index/dex/dexp -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/dex/dexp -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/index/dex/dexp/CMakeFiles/dexp.dir/Dexp.cpp.o -MF tools/extra/clangd/index/dex/dexp/CMakeFiles/dexp.dir/Dexp.cpp.o.d -o tools/extra/clangd/index/dex/dexp/CMakeFiles/dexp.dir/Dexp.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/dex/dexp/Dexp.cpp [1964/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/test -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/test -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/BEFORE -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/extra/test/CMakeFiles/CTTestTidyModule.dir/clang-tidy/CTTestTidyModule.cpp.o -MF tools/extra/test/CMakeFiles/CTTestTidyModule.dir/clang-tidy/CTTestTidyModule.cpp.o.d -o tools/extra/test/CMakeFiles/CTTestTidyModule.dir/clang-tidy/CTTestTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/clang-tidy/CTTestTidyModule.cpp [1965/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CIndexer.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CIndexer.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CIndexer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CIndexer.cpp [1966/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CIndexDiagnostic.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CIndexDiagnostic.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CIndexDiagnostic.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CIndexDiagnostic.cpp [1967/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CIndexUSRs.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CIndexUSRs.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CIndexUSRs.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CIndexUSRs.cpp [1968/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CIndexHigh.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CIndexHigh.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CIndexHigh.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CIndexHigh.cpp [1969/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CIndexInclusionStack.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CIndexInclusionStack.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CIndexInclusionStack.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CIndexInclusionStack.cpp [1970/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CXCompilationDatabase.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CXCompilationDatabase.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CXCompilationDatabase.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CXCompilationDatabase.cpp [1971/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CIndexCodeCompletion.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CIndexCodeCompletion.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CIndexCodeCompletion.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CIndexCodeCompletion.cpp [1972/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CXLoadedDiagnostic.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CXLoadedDiagnostic.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CXLoadedDiagnostic.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CXLoadedDiagnostic.cpp [1973/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CXComment.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CXComment.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CXComment.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CXComment.cpp [1974/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CXCursor.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CXCursor.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CXCursor.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CXCursor.cpp [1975/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CXStoredDiagnostic.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CXStoredDiagnostic.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CXStoredDiagnostic.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CXStoredDiagnostic.cpp [1976/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CIndex.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CIndex.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CIndex.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CIndex.cpp [1977/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/FatalErrorHandler.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/FatalErrorHandler.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/FatalErrorHandler.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/FatalErrorHandler.cpp [1978/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CXSourceLocation.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CXSourceLocation.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CXSourceLocation.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CXSourceLocation.cpp [1979/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CXIndexDataConsumer.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CXIndexDataConsumer.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CXIndexDataConsumer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CXIndexDataConsumer.cpp [1980/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/amdgpu-arch -I/builddir/build/BUILD/clang-17.0.6.src/tools/amdgpu-arch -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/amdgpu-arch/CMakeFiles/amdgpu-arch.dir/AMDGPUArch.cpp.o -MF tools/amdgpu-arch/CMakeFiles/amdgpu-arch.dir/AMDGPUArch.cpp.o.d -o tools/amdgpu-arch/CMakeFiles/amdgpu-arch.dir/AMDGPUArch.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/amdgpu-arch/AMDGPUArch.cpp [1981/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CXString.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CXString.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CXString.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CXString.cpp [1982/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/amdgpu-arch -I/builddir/build/BUILD/clang-17.0.6.src/tools/amdgpu-arch -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/amdgpu-arch/CMakeFiles/amdgpu-arch.dir/AMDGPUArchByHIP.cpp.o -MF tools/amdgpu-arch/CMakeFiles/amdgpu-arch.dir/AMDGPUArchByHIP.cpp.o.d -o tools/amdgpu-arch/CMakeFiles/amdgpu-arch.dir/AMDGPUArchByHIP.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/amdgpu-arch/AMDGPUArchByHIP.cpp [1983/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-attr-docs -I /builddir/build/BUILD/clang-17.0.6.src/docs -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include -I/builddir/build/BUILD/clang-17.0.6.src/docs/../include/clang/Basic /builddir/build/BUILD/clang-17.0.6.src/docs/../include/clang/Basic/Attr.td --write-if-changed -o docs/AttributeReference.rst -d docs/AttributeReference.rst.d [1984/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-diag-docs -I /builddir/build/BUILD/clang-17.0.6.src/docs -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include -I/builddir/build/BUILD/clang-17.0.6.src/docs/../include/clang/Basic /builddir/build/BUILD/clang-17.0.6.src/docs/../include/clang/Basic/Diagnostic.td --write-if-changed -o docs/DiagnosticsReference.rst -d docs/DiagnosticsReference.rst.d [1985/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-opt-docs -I /builddir/build/BUILD/clang-17.0.6.src/docs -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include -I/builddir/build/BUILD/clang-17.0.6.src/docs/../include/clang/Driver /builddir/build/BUILD/clang-17.0.6.src/docs/../include/clang/Driver/ClangOptionDocs.td --write-if-changed -o docs/ClangCommandLineReference.rst -d docs/ClangCommandLineReference.rst.d [1986/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/amdgpu-arch -I/builddir/build/BUILD/clang-17.0.6.src/tools/amdgpu-arch -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/amdgpu-arch/CMakeFiles/amdgpu-arch.dir/AMDGPUArchByHSA.cpp.o -MF tools/amdgpu-arch/CMakeFiles/amdgpu-arch.dir/AMDGPUArchByHSA.cpp.o.d -o tools/amdgpu-arch/CMakeFiles/amdgpu-arch.dir/AMDGPUArchByHSA.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/amdgpu-arch/AMDGPUArchByHSA.cpp [1987/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/nvptx-arch -I/builddir/build/BUILD/clang-17.0.6.src/tools/nvptx-arch -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/nvptx-arch/CMakeFiles/nvptx-arch.dir/NVPTXArch.cpp.o -MF tools/nvptx-arch/CMakeFiles/nvptx-arch.dir/NVPTXArch.cpp.o.d -o tools/nvptx-arch/CMakeFiles/nvptx-arch.dir/NVPTXArch.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/nvptx-arch/NVPTXArch.cpp [1988/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CXType.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CXType.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CXType.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CXType.cpp [1989/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/Rewrite.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/Rewrite.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/Rewrite.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/Rewrite.cpp [1990/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CXExtractAPI.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CXExtractAPI.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CXExtractAPI.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CXExtractAPI.cpp [1991/2015] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-3.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/Indexing.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/Indexing.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/Indexing.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/Indexing.cpp [1992/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/docs && /usr/bin/cmake -E env /usr/bin/sphinx-build -b man -d /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/docs/_doctrees-clang-man -q -t builder-man -D version=17 -D release=17.0.6 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/docs /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/docs/man /usr/lib/python3.11/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document warn("Container node skipped: type={0}".format(mdnode.t)) [1993/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/docs && /usr/bin/cmake -E env /usr/bin/sphinx-build -b html -d /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/docs/_doctrees-clang-html -q -t builder-html -D version=17 -D release=17.0.6 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/docs /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/docs/html /usr/lib/python3.11/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document warn("Container node skipped: type={0}".format(mdnode.t)) [1994/2015] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/docs && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/docs/LibASTMatchersReference.html /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/docs/html/LibASTMatchersReference.html [1995/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,--export-dynamic -rdynamic -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 tools/extra/clang-tidy/tool/CMakeFiles/clang-tidy.dir/ClangTidyToolMain.cpp.o -o bin/clang-tidy lib64/libclangTidy.a lib64/libclangTidyMain.a lib64/libclangTidyAndroidModule.a lib64/libclangTidyAbseilModule.a lib64/libclangTidyAlteraModule.a lib64/libclangTidyBoostModule.a lib64/libclangTidyBugproneModule.a lib64/libclangTidyCERTModule.a lib64/libclangTidyConcurrencyModule.a lib64/libclangTidyCppCoreGuidelinesModule.a lib64/libclangTidyDarwinModule.a lib64/libclangTidyFuchsiaModule.a lib64/libclangTidyGoogleModule.a lib64/libclangTidyHICPPModule.a lib64/libclangTidyLinuxKernelModule.a lib64/libclangTidyLLVMModule.a lib64/libclangTidyLLVMLibcModule.a lib64/libclangTidyMiscModule.a lib64/libclangTidyModernizeModule.a lib64/libclangTidyObjCModule.a lib64/libclangTidyOpenMPModule.a lib64/libclangTidyPerformanceModule.a lib64/libclangTidyPortabilityModule.a lib64/libclangTidyReadabilityModule.a lib64/libclangTidyZirconModule.a lib64/libclangTidyMPIModule.a lib64/libclangTidyBugproneModule.a lib64/libclangTidyCppCoreGuidelinesModule.a lib64/libclangTidyGoogleModule.a lib64/libclangTidyMiscModule.a lib64/libclangAnalysis.a lib64/libclangASTMatchers.a lib64/libclangAST.a lib64/libclangLex.a lib64/libclangBasic.a lib64/libclangIncludeCleaner.a lib64/libclangTidyModernizeModule.a lib64/libclangTidyPerformanceModule.a lib64/libclangTidyReadabilityModule.a lib64/libclangTidyUtils.a lib64/libclangTidy.a lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:0, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:0, inlined from 'InitGlobal.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:0: /usr/include/c++/12/bits/unique_ptr.h:670: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:30: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobalBool': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | [1996/2015] : && /usr/bin/cmake -E rm -f lib64/libclangPseudoCLI.a && /usr/bin/ar Dqc lib64/libclangPseudoCLI.a tools/extra/pseudo/lib/cli/CMakeFiles/obj.clangPseudoCLI.dir/CLI.cpp.o && /usr/bin/ranlib -D lib64/libclangPseudoCLI.a && : [1997/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/tool-template/CMakeFiles/tool-template.dir/ToolTemplate.cpp.o -o bin/tool-template lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1998/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/pseudo/tool/CMakeFiles/clang-pseudo.dir/ClangPseudo.cpp.o tools/extra/pseudo/tool/CMakeFiles/clang-pseudo.dir/HTMLForest.cpp.o -o bin/clang-pseudo lib64/libclang-cpp.so.17 lib64/libclangPseudo.a lib64/libclangPseudoGrammar.a lib64/libclangPseudoCLI.a lib64/libclangPseudoCXX.a lib64/libclangPseudo.a lib64/libclangLex.a lib64/libclangPseudoGrammar.a lib64/libclangBasic.a /usr/lib64/libLLVM-17.so && : [1999/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/pseudo/fuzzer/CMakeFiles/clang-pseudo-fuzzer.dir/Main.cpp.o tools/extra/pseudo/fuzzer/CMakeFiles/clang-pseudo-fuzzer.dir/Fuzzer.cpp.o -o bin/clang-pseudo-fuzzer lib64/libclangPseudo.a lib64/libclangPseudoCLI.a lib64/libclangPseudoGrammar.a lib64/libclangPseudoCXX.a lib64/libclangPseudo.a lib64/libclangLex.a lib64/libclangPseudoGrammar.a lib64/libclangBasic.a /usr/lib64/libLLVM-17.so && : [2000/2015] : && /usr/bin/cmake -E rm -f lib64/libclangdSupport.a && /usr/bin/ar Dqc lib64/libclangdSupport.a tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Cancellation.cpp.o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Context.cpp.o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/FileCache.cpp.o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Logger.cpp.o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Markup.cpp.o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/MemoryTree.cpp.o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Path.cpp.o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Shutdown.cpp.o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/ThreadCrashReporter.cpp.o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Threading.cpp.o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/ThreadsafeFS.cpp.o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Trace.cpp.o && /usr/bin/ranlib -D lib64/libclangdSupport.a && : [2001/2015] : && /usr/bin/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,nodelete -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections -shared -o lib64/CTTestTidyModule.so tools/extra/test/CMakeFiles/CTTestTidyModule.dir/clang-tidy/CTTestTidyModule.cpp.o /usr/lib64/libLLVM-17.so && : [2002/2015] : && /usr/bin/cmake -E rm -f lib64/libclangDaemon.a && /usr/bin/ar Dqc lib64/libclangDaemon.a tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/AST.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ASTSignals.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ClangdLSPServer.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ClangdServer.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CodeComplete.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CodeCompletionStrings.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CollectMacros.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CompileCommands.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Compiler.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Config.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ConfigCompile.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ConfigProvider.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ConfigYAML.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/DecisionForest.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Diagnostics.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/DraftStore.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/DumpAST.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ExpectedTypes.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FeatureModule.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Feature.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FindSymbols.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FindTarget.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FileDistance.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Format.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FS.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FuzzyMatch.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/GlobalCompilationDatabase.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Headers.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/HeaderSourceSwitch.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/HeuristicResolver.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Hover.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/IncludeCleaner.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/IncludeFixer.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/InlayHints.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/JSONTransport.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/PathMapping.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Protocol.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Quality.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ParsedAST.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Preamble.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/RIFF.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Selection.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SemanticHighlighting.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SemanticSelection.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SourceCode.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SystemIncludeExtractor.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/TidyProvider.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/TUScheduler.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/URI.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/XRefs.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CompletionModel.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Background.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundIndexLoader.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundIndexStorage.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundQueue.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundRebuild.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/CanonicalIncludes.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/FileIndex.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Index.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/IndexAction.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/MemIndex.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Merge.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/ProjectAware.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Ref.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Relation.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Serialization.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/StdLib.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Symbol.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolCollector.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolID.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolLocation.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolOrigin.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/YAMLSerialization.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/Dex.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/Iterator.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/PostingList.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/Trigram.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/refactor/InsertionPoint.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/refactor/Rename.cpp.o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/refactor/Tweak.cpp.o && /usr/bin/ranlib -D lib64/libclangDaemon.a && : [2003/2015] : && /usr/bin/cmake -E rm -f lib64/libclangdRemoteIndex.a && /usr/bin/ar Dqc lib64/libclangdRemoteIndex.a tools/extra/clangd/index/remote/unimplemented/CMakeFiles/obj.clangdRemoteIndex.dir/UnimplementedClient.cpp.o && /usr/bin/ranlib -D lib64/libclangdRemoteIndex.a && : [2004/2015] : && /usr/bin/cmake -E rm -f lib64/libclangDaemonTweaks.a && /usr/bin/ar Dqc lib64/libclangDaemonTweaks.a tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/AddUsing.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/AnnotateHighlightings.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DumpAST.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DefineInline.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DefineOutline.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExpandDeducedType.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExpandMacro.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExtractFunction.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExtractVariable.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/MemberwiseConstructor.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ObjCLocalizeStringLiteral.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ObjCMemberwiseInitializer.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/PopulateSwitch.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/RawStringLiteral.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/RemoveUsingNamespace.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/SpecialMembers.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/SwapIfBranches.cpp.o && /usr/bin/ranlib -D lib64/libclangDaemonTweaks.a && : [2005/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/clangd/fuzzer/CMakeFiles/clangd-fuzzer.dir/FuzzerClangdMain.cpp.o tools/extra/clangd/fuzzer/CMakeFiles/clangd-fuzzer.dir/clangd-fuzzer.cpp.o -o bin/clangd-fuzzer lib64/libclangDaemon.a lib64/libclangIncludeCleaner.a lib64/libclangdSupport.a lib64/libclangPseudo.a lib64/libclangPseudoGrammar.a lib64/libclangTidyAndroidModule.a lib64/libclangTidyAbseilModule.a lib64/libclangTidyAlteraModule.a lib64/libclangTidyBoostModule.a lib64/libclangTidyCERTModule.a lib64/libclangTidyConcurrencyModule.a lib64/libclangTidyDarwinModule.a lib64/libclangTidyFuchsiaModule.a lib64/libclangTidyHICPPModule.a lib64/libclangTidyBugproneModule.a lib64/libclangTidyCppCoreGuidelinesModule.a lib64/libclangTidyGoogleModule.a lib64/libclangTidyLinuxKernelModule.a lib64/libclangTidyLLVMModule.a lib64/libclangTidyLLVMLibcModule.a lib64/libclangTidyMiscModule.a lib64/libclangIncludeCleaner.a lib64/libclangAnalysis.a lib64/libclangASTMatchers.a lib64/libclangAST.a lib64/libclangLex.a lib64/libclangBasic.a lib64/libclangTidyModernizeModule.a lib64/libclangTidyObjCModule.a lib64/libclangTidyOpenMPModule.a lib64/libclangTidyPerformanceModule.a lib64/libclangTidyPortabilityModule.a lib64/libclangTidyReadabilityModule.a lib64/libclangTidyZirconModule.a lib64/libclangTidyMPIModule.a lib64/libclangTidyUtils.a lib64/libclangTidy.a lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobal.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:30: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobalBool': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | [2006/2015] : && /usr/bin/cmake -E rm -f lib64/libclangdMain.a && /usr/bin/ar Dqc lib64/libclangdMain.a tools/extra/clangd/tool/CMakeFiles/obj.clangdMain.dir/ClangdMain.cpp.o tools/extra/clangd/tool/CMakeFiles/obj.clangdMain.dir/Check.cpp.o && /usr/bin/ranlib -D lib64/libclangdMain.a && : [2007/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/clangd/indexer/CMakeFiles/clangd-indexer.dir/IndexerMain.cpp.o -o bin/clangd-indexer lib64/libclangDaemon.a lib64/libclangdSupport.a lib64/libclangPseudo.a lib64/libclangPseudoGrammar.a lib64/libclangTidyAndroidModule.a lib64/libclangTidyAbseilModule.a lib64/libclangTidyAlteraModule.a lib64/libclangTidyBoostModule.a lib64/libclangTidyCERTModule.a lib64/libclangTidyConcurrencyModule.a lib64/libclangTidyDarwinModule.a lib64/libclangTidyFuchsiaModule.a lib64/libclangTidyHICPPModule.a lib64/libclangTidyBugproneModule.a lib64/libclangTidyCppCoreGuidelinesModule.a lib64/libclangTidyGoogleModule.a lib64/libclangTidyLinuxKernelModule.a lib64/libclangTidyLLVMModule.a lib64/libclangTidyLLVMLibcModule.a lib64/libclangTidyMiscModule.a lib64/libclangIncludeCleaner.a lib64/libclangAnalysis.a lib64/libclangASTMatchers.a lib64/libclangAST.a lib64/libclangLex.a lib64/libclangBasic.a lib64/libclangTidyModernizeModule.a lib64/libclangTidyObjCModule.a lib64/libclangTidyOpenMPModule.a lib64/libclangTidyPerformanceModule.a lib64/libclangTidyPortabilityModule.a lib64/libclangTidyReadabilityModule.a lib64/libclangTidyZirconModule.a lib64/libclangTidyMPIModule.a lib64/libclangTidyUtils.a lib64/libclangTidy.a lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobal.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobalTemp.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:30: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobalBool': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | [2008/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/AddUsing.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/AnnotateHighlightings.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DumpAST.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DefineInline.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DefineOutline.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExpandDeducedType.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExpandMacro.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExtractFunction.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExtractVariable.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/MemberwiseConstructor.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ObjCLocalizeStringLiteral.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ObjCMemberwiseInitializer.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/PopulateSwitch.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/RawStringLiteral.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/RemoveUsingNamespace.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/SpecialMembers.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/SwapIfBranches.cpp.o tools/extra/clangd/tool/CMakeFiles/clangd.dir/ClangdToolMain.cpp.o -o bin/clangd lib64/libclangdMain.a lib64/libclangDaemon.a lib64/libclangdSupport.a lib64/libclangPseudo.a lib64/libclangPseudoGrammar.a lib64/libclangTidyAndroidModule.a lib64/libclangTidyAbseilModule.a lib64/libclangTidyAlteraModule.a lib64/libclangTidyBoostModule.a lib64/libclangTidyCERTModule.a lib64/libclangTidyConcurrencyModule.a lib64/libclangTidyDarwinModule.a lib64/libclangTidyFuchsiaModule.a lib64/libclangTidyHICPPModule.a lib64/libclangTidyBugproneModule.a lib64/libclangTidyCppCoreGuidelinesModule.a lib64/libclangTidyGoogleModule.a lib64/libclangTidyLinuxKernelModule.a lib64/libclangTidyLLVMModule.a lib64/libclangTidyLLVMLibcModule.a lib64/libclangTidyMiscModule.a lib64/libclangIncludeCleaner.a lib64/libclangAnalysis.a lib64/libclangASTMatchers.a lib64/libclangAST.a lib64/libclangLex.a lib64/libclangBasic.a lib64/libclangTidyModernizeModule.a lib64/libclangTidyObjCModule.a lib64/libclangTidyOpenMPModule.a lib64/libclangTidyPerformanceModule.a lib64/libclangTidyPortabilityModule.a lib64/libclangTidyReadabilityModule.a lib64/libclangTidyZirconModule.a lib64/libclangTidyMPIModule.a lib64/libclangTidyUtils.a lib64/libclangTidy.a lib64/libclang-cpp.so.17 lib64/libclangdRemoteIndex.a lib64/libclangdSupport.a /usr/lib64/libLLVM-17.so && : /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobal.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:30: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobalBool': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | [2009/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/clangd/index/dex/dexp/CMakeFiles/dexp.dir/Dexp.cpp.o -o bin/dexp lib64/libclangDaemon.a lib64/libclangdRemoteIndex.a lib64/libclangPseudo.a lib64/libclangPseudoGrammar.a lib64/libclangTidyAndroidModule.a lib64/libclangTidyAbseilModule.a lib64/libclangTidyAlteraModule.a lib64/libclangTidyBoostModule.a lib64/libclangTidyCERTModule.a lib64/libclangTidyConcurrencyModule.a lib64/libclangTidyDarwinModule.a lib64/libclangTidyFuchsiaModule.a lib64/libclangTidyHICPPModule.a lib64/libclangTidyBugproneModule.a lib64/libclangTidyCppCoreGuidelinesModule.a lib64/libclangTidyGoogleModule.a lib64/libclangTidyLinuxKernelModule.a lib64/libclangTidyLLVMModule.a lib64/libclangTidyLLVMLibcModule.a lib64/libclangTidyMiscModule.a lib64/libclangIncludeCleaner.a lib64/libclangAnalysis.a lib64/libclangASTMatchers.a lib64/libclangAST.a lib64/libclangLex.a lib64/libclangBasic.a lib64/libclangTidyModernizeModule.a lib64/libclangTidyObjCModule.a lib64/libclangTidyOpenMPModule.a lib64/libclangTidyPerformanceModule.a lib64/libclangTidyPortabilityModule.a lib64/libclangTidyReadabilityModule.a lib64/libclangTidyZirconModule.a lib64/libclangTidyMPIModule.a lib64/libclangTidyUtils.a lib64/libclangTidy.a lib64/libclang-cpp.so.17 lib64/libclangdSupport.a /usr/lib64/libLLVM-17.so && : /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobal.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobalBool': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:30: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | [2010/2015] : && /usr/bin/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,defs -Wl,-z,nodelete -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections -Wl,--version-script,/builddir/build/BUILD/clang-17.0.6.src/tools/libclang/libclang.map -shared -Wl,-soname,libclang.so.17 -o lib64/libclang.so.17.0.6 tools/libclang/CMakeFiles/libclang.dir/ARCMigrate.cpp.o tools/libclang/CMakeFiles/libclang.dir/BuildSystem.cpp.o tools/libclang/CMakeFiles/libclang.dir/CIndex.cpp.o tools/libclang/CMakeFiles/libclang.dir/CIndexCXX.cpp.o tools/libclang/CMakeFiles/libclang.dir/CIndexCodeCompletion.cpp.o tools/libclang/CMakeFiles/libclang.dir/CIndexDiagnostic.cpp.o tools/libclang/CMakeFiles/libclang.dir/CIndexHigh.cpp.o tools/libclang/CMakeFiles/libclang.dir/CIndexInclusionStack.cpp.o tools/libclang/CMakeFiles/libclang.dir/CIndexUSRs.cpp.o tools/libclang/CMakeFiles/libclang.dir/CIndexer.cpp.o tools/libclang/CMakeFiles/libclang.dir/CXComment.cpp.o tools/libclang/CMakeFiles/libclang.dir/CXCursor.cpp.o tools/libclang/CMakeFiles/libclang.dir/CXExtractAPI.cpp.o tools/libclang/CMakeFiles/libclang.dir/CXIndexDataConsumer.cpp.o tools/libclang/CMakeFiles/libclang.dir/CXCompilationDatabase.cpp.o tools/libclang/CMakeFiles/libclang.dir/CXLoadedDiagnostic.cpp.o tools/libclang/CMakeFiles/libclang.dir/CXSourceLocation.cpp.o tools/libclang/CMakeFiles/libclang.dir/CXStoredDiagnostic.cpp.o tools/libclang/CMakeFiles/libclang.dir/CXString.cpp.o tools/libclang/CMakeFiles/libclang.dir/CXType.cpp.o tools/libclang/CMakeFiles/libclang.dir/Indexing.cpp.o tools/libclang/CMakeFiles/libclang.dir/FatalErrorHandler.cpp.o tools/libclang/CMakeFiles/libclang.dir/Rewrite.cpp.o lib64/libclangAST.a lib64/libclangBasic.a lib64/libclangDriver.a lib64/libclangExtractAPI.a lib64/libclangFrontend.a lib64/libclangIndex.a lib64/libclangLex.a lib64/libclangRewrite.a lib64/libclangSema.a lib64/libclangSerialization.a lib64/libclangTooling.a lib64/libclangARCMigrate.a -ldl lib64/libclangFormat.a lib64/libclangToolingInclusions.a lib64/libclangToolingCore.a lib64/libclangFrontend.a lib64/libclangDriver.a lib64/libclangParse.a lib64/libclangRewrite.a lib64/libclangSerialization.a lib64/libclangSema.a lib64/libclangSupport.a lib64/libclangEdit.a lib64/libclangAnalysis.a lib64/libclangASTMatchers.a lib64/libclangAST.a lib64/libclangLex.a lib64/libclangBasic.a /usr/lib64/libLLVM-17.so && : /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:16, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:14, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobal.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:16, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:14, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobalTemp.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp: In function 'getFunction.isra': /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp:286: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 286 | I.Fun.DeclsInPrototype = new NamedDecl *[DeclsInPrototype.size()]; | /usr/include/c++/12/new:128:26: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APInt.h:168:3, inlined from '__dt_base ' at /usr/include/llvm/ADT/APSInt.h:23:0, inlined from 'checkOMPArraySectionConstantForReduction' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19108:0, inlined from 'actOnOMPReductionKindClause.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19485:0: /usr/include/llvm/ADT/APInt.h:170: warning: 'operator delete []' called on a pointer to an unallocated object '1B' [-Wfree-nonheap-object] 170 | delete[] U.pVal; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APInt.h:168:3, inlined from '__dt_base ' at /usr/include/llvm/ADT/APSInt.h:23:0, inlined from 'checkOMPArraySectionConstantForReduction' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19127:0, inlined from 'actOnOMPReductionKindClause.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19485:0: /usr/include/llvm/ADT/APInt.h:170: warning: 'operator delete []' called on a pointer to an unallocated object '1B' [-Wfree-nonheap-object] 170 | delete[] U.pVal; | In function 'InitGlobal', inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:31, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:30, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:31, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:31, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | [2011/2015] /usr/bin/cmake -E cmake_symlink_library lib64/libclang.so.17.0.6 lib64/libclang.so.17 lib64/libclang.so && : [2012/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/amdgpu-arch/CMakeFiles/amdgpu-arch.dir/AMDGPUArch.cpp.o tools/amdgpu-arch/CMakeFiles/amdgpu-arch.dir/AMDGPUArchByHSA.cpp.o tools/amdgpu-arch/CMakeFiles/amdgpu-arch.dir/AMDGPUArchByHIP.cpp.o -o bin/amdgpu-arch lib64/libclangBasic.a /usr/lib64/libLLVM-17.so && : [2013/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/c-index-test/CMakeFiles/c-index-test.dir/c-index-test.c.o tools/c-index-test/CMakeFiles/c-index-test.dir/core_main.cpp.o -o bin/c-index-test lib64/libclang.so.17.0.6 lib64/libclangAST.a lib64/libclangBasic.a lib64/libclangCodeGen.a lib64/libclangFrontend.a lib64/libclangIndex.a lib64/libclangSerialization.a /usr/lib64/libxml2.so lib64/libclangFrontend.a lib64/libclangDriver.a lib64/libclangParse.a lib64/libclangSerialization.a lib64/libclangSema.a lib64/libclangAnalysis.a lib64/libclangASTMatchers.a lib64/libclangEdit.a lib64/libclangAST.a lib64/libclangSupport.a lib64/libclangFormat.a lib64/libclangToolingInclusions.a lib64/libclangToolingCore.a lib64/libclangRewrite.a lib64/libclangLex.a lib64/libclangBasic.a /usr/lib64/libLLVM-17.so && : /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:16, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:14, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobal.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:16, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:14, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobalTemp.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp: In function 'getFunction.isra': /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp:286: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 286 | I.Fun.DeclsInPrototype = new NamedDecl *[DeclsInPrototype.size()]; | /usr/include/c++/12/new:128:26: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APInt.h:168:3, inlined from '__dt_base ' at /usr/include/llvm/ADT/APSInt.h:23:0, inlined from 'checkOMPArraySectionConstantForReduction' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19108:0, inlined from 'actOnOMPReductionKindClause.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19485:0: /usr/include/llvm/ADT/APInt.h:170: warning: 'operator delete []' called on a pointer to an unallocated object '1B' [-Wfree-nonheap-object] 170 | delete[] U.pVal; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APInt.h:168:3, inlined from '__dt_base ' at /usr/include/llvm/ADT/APSInt.h:23:0, inlined from 'checkOMPArraySectionConstantForReduction' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19127:0, inlined from 'actOnOMPReductionKindClause.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19485:0: /usr/include/llvm/ADT/APInt.h:170: warning: 'operator delete []' called on a pointer to an unallocated object '1B' [-Wfree-nonheap-object] 170 | delete[] U.pVal; | In function 'InitGlobal', inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:31, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:30, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:31, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:31, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ [2014/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/c-arcmt-test/CMakeFiles/c-arcmt-test.dir/c-arcmt-test.c.o -o bin/c-arcmt-test lib64/libclang.so.17.0.6 /usr/lib64/libLLVM-17.so && : [2015/2015] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -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 -Wimplicit-fallthrough -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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/nvptx-arch/CMakeFiles/nvptx-arch.dir/NVPTXArch.cpp.o -o bin/nvptx-arch lib64/libclangBasic.a /usr/lib64/libLLVM-17.so && : + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.4EH2wo + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64 ++ dirname /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64 + cd clang-17.0.6.src + DESTDIR=/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64 + /usr/bin/cmake --install aarch64-OpenCloudOS-linux-gnu -- Install configuration: "RelWithDebInfo" -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/AST.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/ASTImporterSharedState.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/CXXRecordDeclDefinitionBits.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/ExprConcepts.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/ASTContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/CXXInheritance.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/AbstractBasicWriter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/DeclarationName.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/DeclContextInternals.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/CurrentSourceLocExprScope.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/ASTLambda.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/DeclBase.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/ASTConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/AbstractTypeReader.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/TemplateBase.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/Stmt.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/StmtIterator.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/AbstractTypeWriter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/DependentDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/ASTDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/ASTConcept.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/OperationKinds.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/CharUnits.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/CommentBriefParser.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/Expr.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/BuiltinTypes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/TypeVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/OpenMPClause.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/OSLog.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/StmtCXX.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/DeclTemplate.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/CommentDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/ExprCXX.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/TypeLoc.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/LocInfoType.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/IgnoreExpr.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/TypeLocNodes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/ParentMap.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/CommentParser.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/ASTImporter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/RecordLayout.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/DeclObjCCommon.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/DeclOpenMP.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/TextNodeDumper.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/CommentVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/Decl.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/CanonicalType.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/DeclObjC.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/RawCommentList.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/ODRHash.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/ASTDumperUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/ParentMapContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/AttrIterator.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/Comment.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/OptionalDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/TypeLocVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/LexicallyOrderedRecursiveASTVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/Attr.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/StmtObjC.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/SelectorLocationsKind.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/Availability.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/DependenceFlags.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/TemplateName.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/Type.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/GlobalDecl.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/ODRDiagsEmitter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/LambdaCapture.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/APValue.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/AbstractBasicReader.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/ASTTypeTraits.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/NonTrivialTypeVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/FormatString.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/ASTImporterLookupTable.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/JSONNodeDumper.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/PrettyDeclStackTrace.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/QualTypeNames.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/AttrVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/ASTUnresolvedSet.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/StmtOpenMP.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/PrettyPrinter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/CommentCommandTraits.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/RecursiveASTVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/Redeclarable.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/DeclLookups.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/BaseSubobject.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/NestedNameSpecifier.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/DeclFriend.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/ASTContextAllocate.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/TypeOrdering.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/ExternalASTSource.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/ComparisonCategories.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/Randstruct.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/NSAPI.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/UnresolvedSet.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/ExternalASTMerger.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/DataCollection.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/MangleNumberingContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/ExprObjC.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/ExprOpenMP.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/ASTNodeTraverser.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/VTableBuilder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/CommentSema.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/StmtGraphTraits.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/DeclVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/ASTVector.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/ASTMutationListener.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/DeclGroup.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/Mangle.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/TemplateArgumentVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/ASTImportError.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/OperationKinds.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/DeclAccessPair.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/DeclCXX.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/EvaluatedExprVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/ComputeDependence.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/VTTBuilder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/CommentLexer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/ASTFwd.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/StmtVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/ASTDumper.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/ASTStructuralEquivalence.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Rewrite -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Rewrite/Frontend -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Rewrite/Frontend/FixItRewriter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Rewrite/Frontend/FrontendActions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Rewrite/Frontend/Rewriters.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Rewrite/Frontend/ASTConsumers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Rewrite/Core -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Rewrite/Core/Rewriter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Rewrite/Core/RewriteRope.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Rewrite/Core/RewriteBuffer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Rewrite/Core/HTMLRewrite.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Rewrite/Core/TokenRewriter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Rewrite/Core/DeltaTree.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Lex -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Lex/Lexer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Lex/MultipleIncludeOpt.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Lex/MacroArgs.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Lex/ModuleLoader.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Lex/Preprocessor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Lex/ModuleMap.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Lex/HeaderMap.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Lex/LiteralSupport.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Lex/LexDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Lex/PreprocessorOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Lex/Token.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Lex/Pragma.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Lex/TokenLexer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Lex/HeaderMapTypes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Lex/PPConditionalDirectiveRecord.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Lex/MacroInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Lex/DependencyDirectivesScanner.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Lex/TokenConcatenation.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Lex/PPCallbacks.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Lex/VariadicMacroSupport.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Lex/ExternalPreprocessorSource.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Lex/PreprocessingRecord.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Lex/ScratchBuffer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Lex/CodeCompletionHandler.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Lex/HeaderSearch.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Lex/PreprocessorLexer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Lex/DirectoryLookup.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Lex/HeaderSearchOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/BodyFarm.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/SelectorExtras.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/CodeInjector.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/Analyses -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/Analyses/ThreadSafetyOps.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/Analyses/CFGReachabilityAnalysis.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/Analyses/UnsafeBufferUsage.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/Analyses/PostOrderCFGView.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/Analyses/ThreadSafety.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/Analyses/IntervalPartition.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/Analyses/ThreadSafetyLogical.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/Analyses/UninitializedValues.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/Analyses/LiveVariables.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/Analyses/Consumed.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/Analyses/ThreadSafetyCommon.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/Analyses/Dominators.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/Analyses/ThreadSafetyTIL.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/Analyses/ExprMutationAnalyzer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/Analyses/ThreadSafetyTraverse.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/Analyses/UnsafeBufferUsageGadgets.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/Analyses/ThreadSafetyUtil.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/Analyses/CalledOnceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/Analyses/ReachableCode.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/CallGraph.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/ConstructionContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/CFGStmtMap.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/IssueHash.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/CFG.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/Support -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/Support/BumpVector.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/CloneDetection.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/AnalysisDeclContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/AnyCall.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/RetainSummaryManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/MacroExpansionContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/DomainSpecific -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/DomainSpecific/CocoaConventions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/DomainSpecific/ObjCNoReturn.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/ProgramPoint.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/Solver.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/DataflowAnalysisContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/Logger.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/Transfer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/DataflowWorklist.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/DataflowValues.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/WatchedLiteralsSolver.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/ControlFlowContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/Arena.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/Value.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/Models -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/Models/ChromiumCheckModel.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/DataflowLattice.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/RecordOps.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/MapLattice.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/DebugSupport.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/NoopAnalysis.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/Formula.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/MatchSwitch.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/NoopLattice.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/CFGMatchSwitch.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/DataflowAnalysis.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/StorageLocation.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Analysis/PathDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/DirectoryWatcher -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/DirectoryWatcher/DirectoryWatcher.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Driver -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Driver/Compilation.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Driver/SanitizerArgs.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Driver/InputInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Driver/Job.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Driver/Tool.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Driver/Multilib.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Driver/Options.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Driver/Action.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Driver/DriverDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Driver/MultilibBuilder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Driver/Types.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Driver/Util.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Driver/XRayArgs.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Driver/Phases.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Driver/Types.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Driver/ToolChain.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Driver/Distro.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Driver/Driver.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Driver/OffloadBundler.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Driver/OptionUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Edit -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Edit/EditsReceiver.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Edit/EditedSource.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Edit/Rewriters.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Edit/FileOffset.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Edit/Commit.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Index -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Index/IndexingOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Index/USRGeneration.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Index/DeclOccurrence.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Index/CommentToXML.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Index/IndexDataConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Index/IndexSymbol.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Index/IndexingAction.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema/EnterExpressionEvaluationContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema/ExternalSemaSource.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema/SemaConcept.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema/Lookup.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema/Ownership.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema/SemaLambda.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema/Initialization.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema/ParsedAttr.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema/IdentifierResolver.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema/SemaConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema/CodeCompleteOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema/CXXFieldCollector.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema/TemplateInstCallback.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema/ParsedTemplate.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema/Sema.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema/Designator.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema/SemaInternal.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema/RISCVIntrinsicManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema/Overload.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema/Template.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema/DeclSpec.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema/MultiplexExternalSemaSource.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema/HLSLExternalSemaSource.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema/SemaFixItUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema/CodeCompleteConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema/TemplateDeduction.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema/CleanupInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema/AnalysisBasedWarnings.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema/ScopeInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema/TypoCorrection.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema/ObjCMethodList.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema/Weak.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema/Scope.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema/SemaDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema/DelayedDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/CodeGen -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/CodeGen/CodeGenABITypes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/CodeGen/ConstantInitBuilder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/CodeGen/CGFunctionInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/CodeGen/ObjectFilePCHContainerOperations.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/CodeGen/SwiftCallingConv.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/CodeGen/BackendUtil.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/CodeGen/ConstantInitFuture.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/CodeGen/CodeGenAction.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/CodeGen/ModuleBuilder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Frontend -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Frontend/SerializedDiagnostics.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Frontend/FrontendDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Frontend/SerializedDiagnosticReader.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Frontend/PrecompiledPreamble.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Frontend/MigratorOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Frontend/FrontendActions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Frontend/ASTUnit.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Frontend/CommandLineSourceLoc.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Frontend/PreprocessorOutputOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Frontend/PCHContainerOperations.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Frontend/MultiplexConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Frontend/CompilerInvocation.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Frontend/SARIFDiagnosticPrinter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Frontend/TextDiagnosticPrinter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Frontend/CompilerInstance.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Frontend/TextDiagnosticBuffer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Frontend/DiagnosticRenderer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Frontend/Utils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Frontend/FrontendOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Frontend/LogDiagnosticPrinter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Frontend/SerializedDiagnosticPrinter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Frontend/ChainedDiagnosticConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Frontend/ASTConsumers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Frontend/SARIFDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Frontend/TextDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Frontend/LayoutOverrideSource.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Frontend/FrontendPluginRegistry.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Frontend/DependencyOutputOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Frontend/VerifyDiagnosticConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Frontend/FrontendAction.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/ABI.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/LangStandards.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/DiagnosticRefactoring.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/BuiltinsX86_64.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/BuiltinsX86.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/PlistSupport.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/Version.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/DiagnosticAnalysis.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/OperatorPrecedence.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/Lambda.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/TargetInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/OperatorKinds.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/BuiltinsPPC.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/CLWarnings.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/MacroBuilder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/BuiltinsNVPTX.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/LangOptions.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/Visibility.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/BuiltinsSVE.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/BitmaskEnum.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/OpenCLOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/TargetCXXABI.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/ObjCRuntime.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/DiagnosticCategories.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/TransformTypeTraits.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/IdentifierTable.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/SanitizerSpecialCaseList.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/BuiltinsSME.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/XRayLists.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/HeaderInclude.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/BuiltinsVE.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/PrettyStackTrace.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/OpenMPKinds.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/MakeSupport.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/ProfileList.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/AddressSpaces.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/AllDiagnostics.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/BuiltinsAMDGPU.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/TypeTraits.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/FPOptions.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/Linkage.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/CommentOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/BuiltinsAArch64NeonSVEBridge_cg.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/ExceptionSpecificationType.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/AArch64SVEACLETypes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/Sarif.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/BuiltinsWebAssembly.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/HLSLRuntime.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/XRayInstr.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/Thunk.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/AlignedAllocation.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/DiagnosticParse.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/Builtins.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/DiagnosticError.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/CapturedStmt.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/DirectoryEntry.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/DiagnosticOptions.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/ParsedAttrInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/RISCVVTypes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/BuiltinsMips.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/PPCTypes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/DarwinSDKInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/BuiltinsAArch64.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/DiagnosticCrossTU.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/PragmaKinds.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/BuiltinHeaders.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/BuiltinsRISCV.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/TokenKinds.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/AttrKinds.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/Specifiers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/FileSystemOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/ExpressionTraits.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/CodeGenOptions.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/BuiltinsHexagonDep.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/BuiltinsLoongArchBase.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/TokenKinds.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/BuiltinsBPF.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/FileManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/TemplateKinds.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/BuiltinsAArch64NeonSVEBridge.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/OpenCLExtensionTypes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/BuiltinsLoongArchLSX.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/OpenMPKinds.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/DiagnosticSerialization.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/DiagnosticAST.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/PartialDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/BuiltinsLoongArch.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/SourceManagerInternals.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/Builtins.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/LangStandard.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/NoSanitizeList.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/TargetBuiltins.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/CodeGenOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/Module.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/DiagnosticLex.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/BuiltinsRISCVVector.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/DiagnosticDriver.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/LLVM.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/BuiltinsVEVL.gen.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/CustomizableOptional.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/Diagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/FileSystemStatCache.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/DiagnosticOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/Stack.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/OperatorKinds.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/BuiltinsXCore.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/DiagnosticSema.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/SourceLocation.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/OpenCLExtensions.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/BuiltinsHexagon.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/LangOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/SyncScope.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/BuiltinsHexagonMapCustomDep.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/BuiltinsARM.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/Sanitizers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/JsonSupport.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/AttributeCommonInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/BuiltinsSystemZ.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/TargetID.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/Features.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/Cuda.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/FileEntry.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/OpenCLImageTypes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/WebAssemblyReferenceTypes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/CharInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/BuiltinsLoongArchLASX.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/AttrSubjectMatchRules.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/Sanitizers.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/TargetCXXABI.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/SourceManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/DiagnosticIDs.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/Attributes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/MSP430Target.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/TargetOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/DiagnosticComment.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/BuiltinsNEON.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/DiagnosticFrontend.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/CrossTU -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/CrossTU/CrossTranslationUnit.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/CrossTU/CrossTUDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/ARCMigrate -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/ARCMigrate/ARCMT.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/ARCMigrate/ARCMTActions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/ARCMigrate/FileRemapper.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Testing -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Testing/TestAST.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Testing/CommandLineArgs.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Testing/TestClangConfig.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/APINotes -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/APINotes/APINotesYAMLCompiler.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/APINotes/Types.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Support -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Support/RISCVVIntrinsicUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/FrontendTool -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/FrontendTool/Utils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Config -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/ExtractAPI -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/ExtractAPI/TypedefUnderlyingTypeResolver.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/ExtractAPI/ExtractAPIActionBase.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/ExtractAPI/AvailabilityInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/ExtractAPI/APIIgnoresList.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/ExtractAPI/FrontendActions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/ExtractAPI/API.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/ExtractAPI/ExtractAPIVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/ExtractAPI/Serialization -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/ExtractAPI/Serialization/SymbolGraphSerializer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/ExtractAPI/Serialization/SerializerBase.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/ExtractAPI/DeclarationFragments.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Interpreter -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Interpreter/PartialTranslationUnit.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Interpreter/Value.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Interpreter/Interpreter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Parse -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Parse/LoopHint.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Parse/ParseAST.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Parse/ParseDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Parse/RAIIObjectsForParser.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Parse/Parser.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Frontend -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Frontend/ModelConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Frontend/FrontendActions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Frontend/AnalysisConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Frontend/AnalyzerHelpFlags.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Frontend/CheckerRegistry.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/AnalyzerOptions.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/CheckerRegistryData.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/Analyses.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SValVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SMTConv.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/CallDescription.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/Store.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/APSIntType.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SymExpr.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicExtent.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/BlockCounter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/StoreRef.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerHelpers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicType.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/Environment.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicTypeInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SMTConstraintManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/WorkList.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicCastInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SummaryManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/LoopUnrolling.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/FunctionSummary.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/BasicValueFactory.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/LoopWidening.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SimpleConstraintManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/Regions.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/RangedConstraintManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathDiagnosticConsumers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/Checker.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/BugReporter -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/BugReporter/BugType.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/BugReporter/CommonBugCategories.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/CheckerManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Checkers -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Checkers/MPIFunctionClassifier.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Checkers/BuiltinCheckerRegistration.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Checkers/SValExplainer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Checkers/Taint.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Serialization -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Serialization/TypeBitCodes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Serialization/ASTWriter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Serialization/ModuleFile.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Serialization/ASTReader.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Serialization/SourceLocationEncoding.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Serialization/PCHContainerOperations.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Serialization/InMemoryModuleCache.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Serialization/ASTDeserializationListener.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Serialization/GlobalModuleIndex.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Serialization/ModuleFileExtension.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Serialization/ContinuousRangeMap.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Serialization/SerializationDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Serialization/ASTRecordWriter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Serialization/ModuleManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Serialization/ASTBitCodes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Serialization/ASTRecordReader.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Format -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Format/Format.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/IndexSerialization -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/IndexSerialization/SerializablePathCollection.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/ASTMatchers -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/ASTMatchers/Dynamic -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/ASTMatchers/Dynamic/Registry.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/ASTMatchers/Dynamic/Parser.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/ASTMatchers/Dynamic/VariantValue.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/ASTMatchers/Dynamic/Diagnostics.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/ASTMatchers/ASTMatchFinder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/ASTMatchers/ASTMatchersMacros.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/ASTMatchers/GtestMatchers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/ASTMatchers/ASTMatchersInternal.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/ASTMatchers/ASTMatchers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/ArgumentsAdjusters.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/ASTDiff -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/ASTDiff/ASTDiffInternal.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/ASTDiff/ASTDiff.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/FixIt.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/CompilationDatabasePluginRegistry.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/NodeIntrospection.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/DependencyScanning -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/DependencyScanning/DependencyScanningTool.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/DependencyScanning/DependencyScanningWorker.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/DependencyScanning/DependencyScanningService.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/DependencyScanning/DependencyScanningFilesystem.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/DependencyScanning/ModuleDepCollector.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/AllTUsExecution.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/FileMatchTrie.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Refactoring.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/RefactoringCallbacks.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/CommonOptionsParser.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/JSONCompilationDatabase.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Transformer -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Transformer/Transformer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Transformer/SourceCode.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Transformer/RewriteRule.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Transformer/RangeSelector.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Transformer/SourceCodeBuilders.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Transformer/Stencil.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Transformer/Parsing.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Transformer/MatchConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Core -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Core/Diagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Core/Replacement.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Execution.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/ToolExecutorPluginRegistry.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/ReplacementsYaml.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Inclusions -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Inclusions/HeaderIncludes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Inclusions/StandardLibrary.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Inclusions/HeaderAnalysis.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Inclusions/IncludeStyle.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Refactoring -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/Lookup.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/ASTSelection.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/AtomicChange.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/RefactoringActionRulesInternal.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/Extract -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/Extract/SourceExtraction.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/Extract/Extract.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/RefactoringActionRuleRequirements.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/RefactoringActionRules.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/RefactoringAction.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/RefactoringActionRule.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/RefactoringOption.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/RefactoringRuleContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/RefactoringOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/RefactoringResultConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/RefactoringOptionVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/Rename -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/Rename/USRFindingAction.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/Rename/USRFinder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/Rename/SymbolName.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/Rename/SymbolOccurrences.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/Rename/USRLocFinder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/Rename/RenamingAction.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/RecursiveSymbolVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/RefactoringDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Syntax -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Syntax/Tree.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Syntax/Tokens.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Syntax/Mutations.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Syntax/TokenBufferTokenManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Syntax/TokenManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Syntax/Nodes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Syntax/BuildTree.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/CompilationDatabase.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/DiagnosticsYaml.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Tooling.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/StandaloneExecution.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-c -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-c/Rewrite.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-c/FatalErrorHandler.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-c/CXErrorCode.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-c/CXFile.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-c/Index.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-c/CXString.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-c/CXCompilationDatabase.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-c/BuildSystem.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-c/CXSourceLocation.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-c/Platform.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-c/Documentation.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-c/ExternC.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-c/CXDiagnostic.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/DeclNodes.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/TypeNodes.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/CommentCommandInfo.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/CommentNodes.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/AbstractTypeReader.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/AttrVisitor.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/AttrTextNodeDump.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/AttrNodeTraverse.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/AbstractTypeWriter.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/CommentHTMLNamedCharacterReferences.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/CommentCommandList.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/AbstractBasicReader.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/Attrs.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/StmtNodes.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/AttrImpl.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/CommentHTMLTagsProperties.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/AbstractBasicWriter.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/CommentHTMLTags.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/AST/StmtDataCollectors.inc -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Driver -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Driver/Options.inc -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema/AttrParsedAttrList.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema/AttrTemplateInstantiate.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema/AttrSpellingListIndex.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema/AttrParsedAttrKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Sema/AttrParsedAttrImpl.inc -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/DiagnosticSemaKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/AttrSubMatchRulesList.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/arm_cde_builtin_aliases.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/arm_cde_builtin_cg.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/arm_fp16.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/DiagnosticSerializationKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/arm_sve_builtins.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/riscv_sifive_vector_builtins.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/DiagnosticCrossTUKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/riscv_vector_builtins.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/Version.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/DiagnosticGroups.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/arm_sve_builtin_cg.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/DiagnosticLexKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/DiagnosticCommentKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/arm_mve_builtin_aliases.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/riscv_vector_builtin_sema.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/AttrTokenKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/DiagnosticCommonKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/DiagnosticAnalysisKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/arm_neon.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/arm_mve_builtin_sema.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/arm_mve_builtins.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/riscv_vector_builtin_cg.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/arm_sme_sema_rangechecks.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/DiagnosticDriverKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/arm_cde_builtin_sema.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/DiagnosticASTKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/arm_sve_typeflags.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/DiagnosticRefactoringKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/AttrList.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/riscv_sifive_vector_builtin_cg.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/arm_sme_builtin_cg.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/riscv_sifive_vector_builtin_sema.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/DiagnosticIndexName.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/AttrHasAttributeImpl.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/DiagnosticFrontendKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/arm_sme_builtins.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/arm_sve_sema_rangechecks.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/arm_mve_builtin_cg.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/DiagnosticParseKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Basic/arm_cde_builtins.inc -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Config -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Config/config.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Parse -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Parse/AttrSubMatchRulesParserStringSwitches.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Parse/AttrParserStringSwitches.inc -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Checkers -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Checkers/Checkers.inc -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Serialization -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Serialization/AttrPCHWrite.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Serialization/AttrPCHRead.inc -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/NodeIntrospection.inc -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Syntax -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Syntax/NodeClasses.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang/Tooling/Syntax/Nodes.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/clang/bash-autocomplete.sh -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/builtins.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/float.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/inttypes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/iso646.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/limits.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/module.modulemap -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/stdalign.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/stdarg.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/stdatomic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/stdbool.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/stddef.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/__stddef_max_align_t.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/stdint.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/stdnoreturn.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/tgmath.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/unwind.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/varargs.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/arm_acle.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/arm_cmse.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/armintr.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/arm64intr.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/arm_neon_sve_bridge.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/__clang_cuda_builtin_vars.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/__clang_cuda_math.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/__clang_cuda_cmath.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/__clang_cuda_complex_builtins.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/__clang_cuda_device_functions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/__clang_cuda_intrinsics.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/__clang_cuda_texture_intrinsics.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/__clang_cuda_libdevice_declares.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/__clang_cuda_math_forward_declares.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/__clang_cuda_runtime_wrapper.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/hexagon_circ_brev_intrinsics.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/hexagon_protos.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/hexagon_types.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/hvx_hexagon_protos.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/__clang_hip_libdevice_declares.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/__clang_hip_cmath.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/__clang_hip_math.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/__clang_hip_stdlib.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/__clang_hip_runtime_wrapper.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/larchintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/lasxintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/lsxintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/msa.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/opencl-c.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/opencl-c-base.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/altivec.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/htmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/htmxlintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/riscv_ntlh.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/sifive_vector.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/s390intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/vecintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/velintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/velintrin_gen.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/velintrin_approx.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/adxintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/ammintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/amxcomplexintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/amxfp16intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/amxintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/avx2intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/avx512bf16intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/avx512bitalgintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/avx512bwintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/avx512cdintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/avx512dqintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/avx512erintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/avx512fintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/avx512fp16intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/avx512ifmaintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/avx512ifmavlintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/avx512pfintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/avx512vbmi2intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/avx512vbmiintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/avx512vbmivlintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/avx512vlbf16intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/avx512vlbitalgintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/avx512vlbwintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/avx512vlcdintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/avx512vldqintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/avx512vlfp16intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/avx512vlintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/avx512vlvbmi2intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/avx512vlvnniintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/avx512vlvp2intersectintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/avx512vnniintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/avx512vp2intersectintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/avx512vpopcntdqintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/avx512vpopcntdqvlintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/avxifmaintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/avxintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/avxneconvertintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/avxvnniint16intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/avxvnniint8intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/avxvnniintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/bmi2intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/bmiintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/cetintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/cldemoteintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/clflushoptintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/clwbintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/clzerointrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/cmpccxaddintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/crc32intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/emmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/enqcmdintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/f16cintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/fma4intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/fmaintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/fxsrintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/gfniintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/hresetintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/ia32intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/immintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/invpcidintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/keylockerintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/lwpintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/lzcntintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/mm3dnow.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/mmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/movdirintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/mwaitxintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/nmmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/pconfigintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/pkuintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/pmmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/popcntintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/prfchiintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/prfchwintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/ptwriteintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/raointintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/rdpruintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/rdseedintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/rtmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/serializeintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/sgxintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/sha512intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/shaintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/sm3intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/sm4intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/smmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/tbmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/tmmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/tsxldtrkintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/uintrintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/vaesintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/vpclmulqdqintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/waitpkgintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/wbnoinvdintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/__wmmintrin_aes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/wmmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/__wmmintrin_pclmul.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/x86gprintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/x86intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/xmmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/xopintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/xsavecintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/xsaveintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/xsaveoptintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/xsavesintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/xtestintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/cet.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/cpuid.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/wasm_simd128.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/vadefs.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/mm_malloc.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/arm_neon.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/arm_fp16.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/arm_sve.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/arm_sme_draft_spec_subject_to_change.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/arm_bf16.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/arm_mve.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/arm_cde.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/riscv_vector.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/cuda_wrappers/algorithm -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/cuda_wrappers/cmath -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/cuda_wrappers/complex -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/cuda_wrappers/new -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/cuda_wrappers/bits/shared_ptr_base.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/cuda_wrappers/bits/basic_string.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/cuda_wrappers/bits/basic_string.tcc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/ppc_wrappers/mmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/ppc_wrappers/xmmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/ppc_wrappers/mm_malloc.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/ppc_wrappers/emmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/ppc_wrappers/pmmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/ppc_wrappers/tmmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/ppc_wrappers/smmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/ppc_wrappers/bmiintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/ppc_wrappers/bmi2intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/ppc_wrappers/immintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/ppc_wrappers/x86intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/ppc_wrappers/x86gprintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/llvm_libc_wrappers/stdio.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/llvm_libc_wrappers/stdlib.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/llvm_libc_wrappers/string.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/llvm_libc_wrappers/ctype.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/llvm_libc_wrappers/inttypes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/openmp_wrappers/math.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/openmp_wrappers/cmath -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/openmp_wrappers/complex.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/openmp_wrappers/complex -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/openmp_wrappers/__clang_openmp_device_functions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/openmp_wrappers/complex_cmath.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/openmp_wrappers/new -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/diagtool -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-17 -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang -- Creating clang++ -- Creating clang-cl -- Creating clang-cpp -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-format -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/clang/clang-format-bbedit.applescript -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/clang/clang-format-diff.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/clang/clang-format-sublime.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/clang/clang-format.el -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/clang/clang-format.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/git-clang-format -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-linker-wrapper -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-offload-packager -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-offload-bundler -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-scan-deps -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-repl -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/c-index-test -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-rename -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/clang/clang-rename.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/clang/clang-rename.el -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-refactor -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/libclang-cpp.so.17 -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/libclang-cpp.so -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-check -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-extdef-mapping -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/scan-build -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/libexec/ccc-analyzer -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/libexec/c++-analyzer -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/man/man1/scan-build.1 -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/scan-build/scanview.css -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/scan-build/sorttable.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/analyze-build -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/intercept-build -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/scan-build-py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/libexec/analyze-c++ -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/libexec/analyze-cc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/libexec/intercept-c++ -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/libexec/intercept-cc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/libscanbuild/__init__.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/libscanbuild/analyze.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/libscanbuild/arguments.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/libscanbuild/clang.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/libscanbuild/compilation.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/libscanbuild/intercept.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/libscanbuild/report.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/libscanbuild/shell.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/libscanbuild/resources/scanview.css -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/libscanbuild/resources/selectable.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/libscanbuild/resources/sorttable.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/libear/__init__.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/libear/config.h.in -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/libear/ear.c -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/scan-view -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/scan-view/ScanView.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/scan-view/Reporter.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/scan-view/startfile.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/scan-view/bugcatcher.ico -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-apply-replacements -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-reorder-fields -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/modularize -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/modularize -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-tidy -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/clang/clang-tidy-diff.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/run-clang-tidy -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/. -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./tool -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./tool/ClangTidyMain.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/StandaloneEmptyCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SuspiciousMemoryComparisonCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/UndefinedMemoryManipulationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/UniquePtrArrayMismatchCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/InaccurateEraseCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/MisplacedWideningCastCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/StringLiteralWithEmbeddedNulCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SuspiciousStringCompareCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/MultipleNewInOneExpressionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/BadSignalToKillThreadCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/UncheckedOptionalAccessCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/LambdaFunctionNameCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SignalHandlerCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/TooSmallLoopVariableCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/VirtualNearMissCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/MacroParenthesesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SuspiciousEnumUsageCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/MisplacedPointerArithmeticInAllocCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/CopyConstructorInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SharedPtrArrayMismatchCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/ExceptionEscapeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/NotNullTerminatedResultCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/AssignmentInIfConditionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/MisplacedOperatorInStrlenInAllocCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/MultipleStatementMacroCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/BranchCloneCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/RedundantBranchConditionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/StringIntegerAssignmentCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SmartPtrArrayMismatchCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/PosixReturnCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/ImplicitWideningOfMultiplicationResultCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/DynamicStaticInitializersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SuspiciousIncludeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/UndelegatedConstructorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/StringviewNullptrCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/UnhandledExceptionAtNewCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SuspiciousReallocUsageCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/ForwardingReferenceOverloadCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/ArgumentCommentCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/NonZeroEnumToBoolConversionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/UnhandledSelfAssignmentCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/IntegerDivisionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/FoldInitTypeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/UnusedReturnValueCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SuspiciousMemsetUsageCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SuspiciousSemicolonCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/TerminatingContinueCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/UnusedRaiiCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/EasilySwappableParametersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SwappedArgumentsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/UnsafeFunctionsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/InfiniteLoopCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SignedCharMisuseCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/EmptyCatchCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/UseAfterMoveCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/BoolPointerImplicitConversionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/ForwardDeclarationNamespaceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/DanglingHandleCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SwitchMissingDefaultCaseCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/ParentVirtualCallCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/ReservedIdentifierCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SuspiciousMissingCommaCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SizeofContainerCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/IncorrectRoundingsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/MoveForwardingReferenceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/ThrowKeywordMissingCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/MacroRepeatedSideEffectsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/NoEscapeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SizeofExpressionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/StringConstructorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/AssertSideEffectCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SpuriouslyWakeUpFunctionsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./zircon -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./zircon/TemporaryObjectsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./boost -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./boost/UseToStringCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./modernize -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./modernize/ReturnBracedInitListCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseEqualsDeleteCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./modernize/ReplaceAutoPtrCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./modernize/MakeSharedCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseNullptrCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./modernize/AvoidCArraysCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./modernize/UnaryStaticAssertCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseTrailingReturnTypeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseTransparentFunctorsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./modernize/IntegralLiteralExpressionMatcher.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseUncaughtExceptionsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./modernize/MacroToEnumCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./modernize/RedundantVoidArgCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./modernize/ShrinkToFitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseEqualsDefaultCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseAutoCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./modernize/MakeSmartPtrCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseNoexceptCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./modernize/DeprecatedIosBaseAliasesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./modernize/DeprecatedHeadersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./modernize/LoopConvertCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseOverrideCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./modernize/TypeTraitsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./modernize/ConcatNestedNamespacesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./modernize/LoopConvertUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./modernize/PassByValueCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseDefaultMemberInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseEmplaceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseBoolLiteralsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./modernize/ReplaceRandomShuffleCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./modernize/MakeUniqueCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseStdPrintCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./modernize/AvoidBindCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseNodiscardCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./modernize/ReplaceDisallowCopyAndAssignMacroCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./modernize/RawStringLiteralCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseUsingCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./hicpp -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./hicpp/ExceptionBaseclassCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./hicpp/SignedBitwiseCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./hicpp/NoAssemblerCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./hicpp/MultiwayPathsCoveredCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./ExpandModularHeadersPPCallbacks.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./portability -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./portability/RestrictSystemIncludesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./portability/StdAllocatorConstCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./portability/SIMDIntrinsicsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./objc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./objc/NSInvocationArgumentLifetimeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./objc/PropertyDeclarationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./objc/SuperSelfCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./objc/MissingHashCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./objc/NSDateFormatterCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./objc/ForbiddenSubclassingCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./objc/AssertEquals.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./objc/AvoidNSErrorInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./objc/DeallocInCategoryCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cert -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cert/VariadicFunctionDefCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cert/MutatingCopyCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cert/NonTrivialTypesLibcMemoryCallsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cert/DefaultOperatorNewAlignmentCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cert/DontModifyStdNamespaceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cert/ProperlySeededRandomGeneratorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cert/FloatLoopCounter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cert/StrToNumCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cert/ThrownExceptionTypeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cert/LimitedRandomnessCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cert/CommandProcessorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cert/PostfixOperatorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cert/SetLongJmpCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cert/StaticObjectExceptionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./ClangTidyModule.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./openmp -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./openmp/ExceptionEscapeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./openmp/UseDefaultNoneCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./abseil -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./abseil/DurationFactoryScaleCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./abseil/DurationConversionCastCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./abseil/TimeSubtractionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./abseil/FasterStrsplitDelimiterCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./abseil/DurationRewriter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./abseil/DurationFactoryFloatCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./abseil/RedundantStrcatCallsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./abseil/StringFindStartswithCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./abseil/DurationDivisionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./abseil/AbseilMatcher.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./abseil/CleanupCtadCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./abseil/StrCatAppendCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./abseil/TimeComparisonCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./abseil/DurationAdditionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./abseil/NoInternalDependenciesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./abseil/StringFindStrContainsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./abseil/NoNamespaceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./abseil/DurationUnnecessaryConversionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./abseil/UpgradeDurationConversionsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./abseil/DurationComparisonCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./abseil/DurationSubtractionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./FileExtensionsSet.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./llvmlibc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./llvmlibc/CalleeNamespaceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./llvmlibc/ImplementationInNamespaceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./llvmlibc/RestrictSystemLibcHeadersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./llvmlibc/InlineFunctionDeclCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./performance -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./performance/UnnecessaryValueParamCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./performance/NoAutomaticMoveCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./performance/NoexceptFunctionBaseCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./performance/TriviallyDestructibleCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./performance/TypePromotionInMathFnCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./performance/MoveConstructorInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./performance/UnnecessaryCopyInitialization.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./performance/ForRangeCopyCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./performance/AvoidEndlCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./performance/NoexceptMoveConstructorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./performance/InefficientAlgorithmCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./performance/InefficientVectorOperationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./performance/MoveConstArgCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./performance/ImplicitConversionInLoopCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./performance/NoexceptSwapCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./performance/InefficientStringConcatenationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./performance/NoIntToPtrCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./performance/FasterStringFindCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./performance/NoexceptDestructorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./ClangTidyDiagnosticConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/UseAnyOfAllOfCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/StaticDefinitionInAnonymousNamespaceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/ImplicitBoolConversionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/UppercaseLiteralSuffixCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/IdentifierNamingCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/RedundantStringCStrCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/FunctionCognitiveComplexityCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/ElseAfterReturnCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/RedundantPreprocessorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/MakeMemberFunctionConstCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/NamespaceCommentCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/MisplacedArrayIndexCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/RedundantControlFlowCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/NamedParameterCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/SuspiciousCallArgumentCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/ConvertMemberFunctionsToStatic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/SimplifyBooleanExprCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/MisleadingIndentationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/UniqueptrDeleteReleaseCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/FunctionSizeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/IsolateDeclarationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/ContainerDataPointerCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/ContainerContainsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/ContainerSizeEmptyCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/InconsistentDeclarationParameterNameCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/AvoidUnconditionalPreprocessorIfCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/RedundantFunctionPtrDereferenceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/DeleteNullPointerCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/AvoidConstParamsInDecls.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/NonConstParameterCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/OperatorsRepresentationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/RedundantSmartptrGetCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/MagicNumbersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/RedundantDeclarationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/QualifiedAutoCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/RedundantMemberInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/RedundantStringInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/RedundantAccessSpecifiersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/StaticAccessedThroughInstanceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/IdentifierLengthCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/SimplifySubscriptExprCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/StringCompareCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/DuplicateIncludeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/ConstReturnTypeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./readability/BracesAroundStatementsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./ClangTidyForceLinker.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./ClangTidyProfiling.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./altera -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./altera/KernelNameRestrictionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./altera/UnrollLoopsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./altera/SingleWorkItemBarrierCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./altera/IdDependentBackwardBranchCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./altera/StructPackAlignCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./ClangTidy.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./misc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./misc/ConfusableTable -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./misc/RedundantExpressionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./misc/NonCopyableObjects.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./misc/StaticAssertCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./misc/UnusedAliasDeclsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./misc/DefinitionsInHeadersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./misc/NoRecursionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./misc/UseAnonymousNamespaceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./misc/HeaderIncludeCycleCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./misc/ThrowByValueCatchByReferenceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./misc/NewDeleteOverloadsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./misc/MisleadingIdentifier.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./misc/ConstCorrectnessCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./misc/UnconventionalAssignOperatorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./misc/ConfusableIdentifierCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./misc/UnusedUsingDeclsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./misc/UniqueptrResetReleaseCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./misc/NonPrivateMemberVariablesInClassesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./misc/IncludeCleanerCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./misc/MisleadingBidirectional.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./misc/UnusedParametersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./misc/MisplacedConstCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./plugin -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./ClangTidyCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./mpi -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./mpi/TypeMismatchCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./mpi/BufferDerefCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./concurrency -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./concurrency/MtUnsafeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./concurrency/ThreadCanceltypeAsynchronousCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./ClangTidyModuleRegistry.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./android -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecPipe2Check.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecDupCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecEpollCreate1Check.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecSocketCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecInotifyInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecPipeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecMemfdCreateCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./android/ComparisonInTempFailureRetryCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecAccept4Check.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecInotifyInit1Check.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecAcceptCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecCreatCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecFopenCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecOpenCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecEpollCreateCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./google -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./google/AvoidCStyleCastsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./google/GlobalNamesInHeadersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./google/GlobalVariableDeclarationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./google/OverloadedUnaryAndCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./google/AvoidThrowingObjCExceptionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./google/AvoidNSObjectNewCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./google/ExplicitConstructorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./google/AvoidUnderscoreInGoogletestNameCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./google/DefaultArgumentsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./google/IntegerTypesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./google/UpgradeGoogletestCaseCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./google/TodoCommentCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./google/FunctionNamingCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./google/UnnamedNamespaceInHeaderCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./google/UsingNamespaceDirectiveCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./google/ExplicitMakePairCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./ClangTidyOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./GlobList.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./darwin -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./darwin/DispatchOnceNonstaticCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./darwin/AvoidSpinlockCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/RvalueReferenceParamNotMovedCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/MisleadingCaptureDefaultByValueCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/MacroUsageCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/AvoidGotoCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/ProTypeUnionAccessCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/ProTypeConstCastCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/PreferMemberInitializerCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/ProTypeReinterpretCastCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/ProTypeMemberInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/SlicingCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/ProTypeVarargCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/AvoidConstOrRefDataMembersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/ProTypeStaticCastDowncastCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/AvoidCapturingLambdaCoroutinesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/ProBoundsPointerArithmeticCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/ProBoundsConstantArrayIndexCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/NarrowingConversionsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/AvoidNonConstGlobalVariablesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/InitVariablesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/ProTypeCstyleCastCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/SpecialMemberFunctionsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/AvoidReferenceCoroutineParametersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/MissingStdForwardCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/VirtualClassDestructorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/AvoidDoWhileCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/OwningMemoryCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/InterfacesGlobalInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/NoMallocCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./NoLintDirectiveHandler.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./llvm -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./llvm/HeaderGuardCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./llvm/TwineLocalCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./llvm/PreferRegisterOverUnsignedCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./llvm/PreferIsaOrDynCastInConditionalsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./llvm/IncludeOrderCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./utils -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./utils/TransformerClangTidyCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./utils/UsingInserter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./utils/ASTUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./utils/ExceptionSpecAnalyzer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./utils/ExceptionAnalyzer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./utils/RenamerClangTidyCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./utils/TypeTraits.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./utils/DeclRefExprUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./utils/IncludeSorter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./utils/FileExtensionsUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./utils/NamespaceAliaser.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./utils/Matchers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./utils/IncludeInserter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./utils/Aliasing.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./utils/FixItHintUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./utils/OptionsUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./utils/LexerUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./utils/ExprSequence.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./utils/HeaderGuard.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./utils/FormatStringConverter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./fuchsia -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./fuchsia/MultipleInheritanceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./fuchsia/DefaultArgumentsDeclarationsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./fuchsia/DefaultArgumentsCallsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./fuchsia/VirtualInheritanceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./fuchsia/OverloadedOperatorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./fuchsia/TrailingReturnCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./fuchsia/StaticallyConstructedObjectsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./linuxkernel -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/./linuxkernel/MustCheckErrsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-change-namespace -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-doc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/clang/clang-doc-default-stylesheet.css -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/clang/index.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-include-fixer -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/clang/clang-include-fixer.el -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/clang/clang-include-fixer.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/find-all-symbols -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/clang/run-find-all-symbols.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-move -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-query -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-include-cleaner -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/pp-trace -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-pseudo -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clangd -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/libclang.so.17.0.6 -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/libclang.so.17 -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/libclang.so -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-c -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-c/Rewrite.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-c/FatalErrorHandler.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-c/CXErrorCode.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-c/CXFile.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-c/Index.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-c/CXString.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-c/CXCompilationDatabase.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-c/BuildSystem.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-c/CXSourceLocation.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-c/Platform.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-c/Documentation.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-c/ExternC.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-c/CXDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/amdgpu-arch -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/nvptx-arch -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/. -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ShadowCallStack.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ClangFormat.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./analyzer -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./analyzer/checkers.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./analyzer/user-docs.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./analyzer/user-docs -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./analyzer/user-docs/TaintAnalysisConfiguration.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./analyzer/user-docs/CrossTranslationUnit.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./analyzer/developer-docs.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./analyzer/developer-docs -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./analyzer/developer-docs/DebugChecks.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./analyzer/developer-docs/RegionStore.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./analyzer/developer-docs/IPA.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./analyzer/developer-docs/nullability.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./analyzer/developer-docs/InitializerLists.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./HardwareAssistedAddressSanitizerDesign.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./SanitizerCoverage.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./DebuggingCoroutines.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./.buildinfo -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./AddressSanitizer.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./genindex.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./Toolchain.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./AttributeReference.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./OpenMPSupport.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./SYCLSupport.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./RefactoringEngine.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./SanitizerStats.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./APINotes.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ClangOffloadPackager.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ClangStaticAnalyzer.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./index.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ReleaseNotes.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./LibASTMatchersReference.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./Block-ABI-Apple.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./MemorySanitizer.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ItaniumMangleAbiTags.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ClangOffloadPackager.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/LTOVisibility.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/Block-ABI-Apple.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/user-docs -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/user-docs/CrossTranslationUnit.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/user-docs/TaintAnalysisConfiguration.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/checkers.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/user-docs.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/developer-docs -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/developer-docs/InitializerLists.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/developer-docs/nullability.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/developer-docs/RegionStore.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/developer-docs/DebugChecks.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/developer-docs/IPA.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/developer-docs.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/StandardCPlusPlusModules.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/MisExpect.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/AddressSanitizer.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ClangPlugins.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/CodeOwners.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/OffloadingDesign.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ConstantInterpreter.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ThinLTO.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/AMDGPUSupport.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ThreadSafetyAnalysis.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ClangFormat.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/OpenCLSupport.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/RAVFrontendAction.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ClangTransformerTutorial.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ThreadSanitizer.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/APINotes.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/DataFlowSanitizer.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/DebuggingCoroutines.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/OpenMPSupport.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/MatrixTypes.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/Modules.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/RefactoringEngine.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/LibFormat.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/Toolchain.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/AttributeReference.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/SourceBasedCodeCoverage.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ClangTools.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/LibTooling.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ControlFlowIntegrityDesign.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/SYCLSupport.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ShadowCallStack.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/Tooling.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/CrossCompilation.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/HLSL -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/HLSL/HLSLSupport.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/HLSL/HLSLIRReference.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/HLSL/ResourceTypes.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/HLSL/HLSLDocs.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/HLSL/EntryFunctions.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ClangCheck.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ClangCommandLineReference.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/LanguageExtensions.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/AutomaticReferenceCounting.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/index.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/InternalsManual.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/IntroductionToTheClangAST.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/CommandGuide -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/CommandGuide/index.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/CommandGuide/diagtool.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/CommandGuide/clang.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ReleaseNotes.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ClangStaticAnalyzer.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/SafeStack.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/UndefinedBehaviorSanitizer.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ClangLinkerWrapper.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ObjectiveCLiterals.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/LibASTMatchersTutorial.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/DataFlowSanitizerDesign.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/LibASTImporter.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/DataFlowAnalysisIntro.md.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/PCHInternals.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/SanitizerCoverage.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/SanitizerSpecialCaseList.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/DiagnosticsReference.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/BlockLanguageSpec.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ClangFormattedStatus.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/DriverInternals.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/JSONCompilationDatabase.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/HowToSetupToolingForLLVM.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/LeakSanitizer.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/LibASTMatchers.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ClangFormatStyleOptions.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/HardwareAssistedAddressSanitizerDesign.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/SanitizerStats.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ExternalClangExamples.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ClangOffloadBundler.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/UsersManual.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/FAQ.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/MemorySanitizer.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/MSVCCompatibility.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/LibClang.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ClangRepl.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ControlFlowIntegrity.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/Multilib.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./PCHInternals.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_images -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_images/IntegerSetsFiniteLattice.svg -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_images/OutputParameterIdentificationLattice.svg -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_images/DriverArchitecture.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_images/ClangRepl_design.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_images/CFGJoinRule.svg -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_images/PCHLayout.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_images/DefinitiveInitializationLattice.svg -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_images/CFGExample.svg -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_images/IntegerSetsInfiniteLattice.svg -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_images/UniquePtrLattice.svg -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./LibASTMatchers.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./Tooling.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./DiagnosticsReference.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/alert_info_32.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/basic.css -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/haiku.css -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/pygments.css -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/plus.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/sphinx_highlight.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/bullet_orange.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/file.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/alert_warning_32.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/bg-page.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/documentation_options.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/doctools.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/minus.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/searchtools.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/language_data.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ControlFlowIntegrityDesign.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./OffloadingDesign.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./SanitizerSpecialCaseList.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ControlFlowIntegrity.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./SafeStack.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ConstantInterpreter.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./InternalsManual.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./LibFormat.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ClangPlugins.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./SourceBasedCodeCoverage.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./OpenCLSupport.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./FAQ.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ClangOffloadBundler.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./BlockLanguageSpec.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./UsersManual.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./AutomaticReferenceCounting.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./DataFlowSanitizerDesign.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./UndefinedBehaviorSanitizer.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./HowToSetupToolingForLLVM.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./HLSL -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./HLSL/ResourceTypes.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./HLSL/EntryFunctions.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./HLSL/HLSLIRReference.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./HLSL/HLSLSupport.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./HLSL/HLSLDocs.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./DataFlowAnalysisIntro.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ClangTools.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./LibClang.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./CommandGuide -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./CommandGuide/index.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./CommandGuide/diagtool.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./CommandGuide/clang.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ThreadSafetyAnalysis.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ClangRepl.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ClangFormattedStatus.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./objects.inv -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./searchindex.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ThinLTO.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ItaniumMangleAbiTags.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./AMDGPUSupport.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./IntroductionToTheClangAST.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./LibASTMatchersTutorial.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./Multilib.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./Modules.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./StandardCPlusPlusModules.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./MatrixTypes.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ThreadSanitizer.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./MSVCCompatibility.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./RAVFrontendAction.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./LibASTImporter.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ClangCheck.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./JSONCompilationDatabase.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ObjectiveCLiterals.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./LanguageExtensions.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ClangLinkerWrapper.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ClangCommandLineReference.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./CrossCompilation.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ClangTransformerTutorial.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./DataFlowSanitizer.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./search.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./MisExpect.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./LibTooling.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ExternalClangExamples.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./CodeOwners.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./LeakSanitizer.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./LTOVisibility.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./DriverInternals.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ClangFormatStyleOptions.html -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/man/man1 -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/man/man1/diagtool.1 -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/man/man1/clang.1 -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/cmake/clang/ClangTargets.cmake -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/cmake/clang/ClangTargets-relwithdebinfo.cmake -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/cmake/clang/ClangConfig.cmake -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/cmake/clang/ClangConfigVersion.cmake -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/cmake/clang/AddClang.cmake -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/hmaptool + rm -rf '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/*.a' + mkdir -p /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/python3.11/site-packages/clang/ + install -p -m644 bindings/python/clang/__init__.py bindings/python/clang/cindex.py bindings/python/clang/enumerations.py /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/python3.11/site-packages/clang/ + [[ /usr/bin/python3 =~ - ]] ++ /usr/bin/python3 -c 'import sys; sys.stdout.write('\''{0.major}{0.minor}'\''.format(sys.version_info))' + python_version=311 + py3_byte_compile /usr/bin/python3 /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/python3.11/site-packages/clang + python_binary='env PYTHONHASHSEED=0 /usr/bin/python3' + bytecode_compilation_path=/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/python3.11/site-packages/clang + env PYTHONHASHSEED=0 /usr/bin/python3 -s -B -m compileall -o 0 -o 1 -s /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64 -p / /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/python3.11/site-packages/clang Listing '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/python3.11/site-packages/clang'... Compiling '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/python3.11/site-packages/clang/__init__.py'... Compiling '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/python3.11/site-packages/clang/cindex.py'... Compiling '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/python3.11/site-packages/clang/enumerations.py'... + mv /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/libear /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/libscanbuild /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/python3.11/site-packages + [[ /usr/bin/python3 =~ - ]] ++ /usr/bin/python3 -c 'import sys; sys.stdout.write('\''{0.major}{0.minor}'\''.format(sys.version_info))' + python_version=311 + py3_byte_compile /usr/bin/python3 '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/python3.11/site-packages/{libear,libscanbuild}' + python_binary='env PYTHONHASHSEED=0 /usr/bin/python3' + bytecode_compilation_path='/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/python3.11/site-packages/{libear,libscanbuild}' + env PYTHONHASHSEED=0 /usr/bin/python3 -s -B -m compileall -o 0 -o 1 -s /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64 -p / '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/python3.11/site-packages/{libear,libscanbuild}' Listing '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/python3.11/site-packages/{libear,libscanbuild}'... Can't list '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/python3.11/site-packages/{libear,libscanbuild}' + chmod a+x /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/scan-view/Reporter.py /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/scan-view/startfile.py + mkdir -p /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/emacs/site-lisp/site-start.d + for f in clang-format.el clang-rename.el clang-include-fixer.el + mv /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/clang/clang-format.el /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/emacs/site-lisp/site-start.d/clang-format.el + for f in clang-format.el clang-rename.el clang-include-fixer.el + mv /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/clang/clang-rename.el /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/emacs/site-lisp/site-start.d/clang-rename.el + for f in clang-format.el clang-rename.el clang-include-fixer.el + mv /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/clang/clang-include-fixer.el /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/emacs/site-lisp/site-start.d/clang-include-fixer.el + rm -vf /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/clang/clang-format-bbedit.applescript removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/clang/clang-format-bbedit.applescript' + rm -vf /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/clang/clang-format-sublime.py removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/clang/clang-format-sublime.py' + rm -Rvf /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/ShadowCallStack.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/ClangFormat.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/analyzer/checkers.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/analyzer/user-docs.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/analyzer/user-docs/TaintAnalysisConfiguration.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/analyzer/user-docs/CrossTranslationUnit.html' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/analyzer/user-docs' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/analyzer/developer-docs.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/analyzer/developer-docs/DebugChecks.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/analyzer/developer-docs/RegionStore.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/analyzer/developer-docs/IPA.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/analyzer/developer-docs/nullability.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/analyzer/developer-docs/InitializerLists.html' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/analyzer/developer-docs' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/analyzer' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/HardwareAssistedAddressSanitizerDesign.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/SanitizerCoverage.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/DebuggingCoroutines.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/.buildinfo' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/AddressSanitizer.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/genindex.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/Toolchain.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/AttributeReference.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/OpenMPSupport.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/SYCLSupport.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/RefactoringEngine.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/SanitizerStats.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/APINotes.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/ClangOffloadPackager.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/ClangStaticAnalyzer.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/index.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/ReleaseNotes.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/LibASTMatchersReference.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/Block-ABI-Apple.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/MemorySanitizer.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ItaniumMangleAbiTags.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ClangOffloadPackager.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/LTOVisibility.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/Block-ABI-Apple.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/user-docs/CrossTranslationUnit.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/user-docs/TaintAnalysisConfiguration.rst.txt' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/user-docs' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/checkers.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/user-docs.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/developer-docs/InitializerLists.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/developer-docs/nullability.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/developer-docs/RegionStore.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/developer-docs/DebugChecks.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/developer-docs/IPA.rst.txt' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/developer-docs' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/developer-docs.rst.txt' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/analyzer' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/StandardCPlusPlusModules.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/MisExpect.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/AddressSanitizer.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ClangPlugins.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/CodeOwners.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/OffloadingDesign.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ConstantInterpreter.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ThinLTO.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/AMDGPUSupport.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ThreadSafetyAnalysis.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ClangFormat.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/OpenCLSupport.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/RAVFrontendAction.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ClangTransformerTutorial.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ThreadSanitizer.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/APINotes.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/DataFlowSanitizer.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/DebuggingCoroutines.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/OpenMPSupport.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/MatrixTypes.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/Modules.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/RefactoringEngine.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/LibFormat.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/Toolchain.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/AttributeReference.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/SourceBasedCodeCoverage.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ClangTools.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/LibTooling.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ControlFlowIntegrityDesign.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/SYCLSupport.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ShadowCallStack.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/Tooling.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/CrossCompilation.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/HLSL/HLSLSupport.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/HLSL/HLSLIRReference.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/HLSL/ResourceTypes.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/HLSL/HLSLDocs.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/HLSL/EntryFunctions.rst.txt' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/HLSL' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ClangCheck.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ClangCommandLineReference.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/LanguageExtensions.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/AutomaticReferenceCounting.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/index.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/InternalsManual.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/IntroductionToTheClangAST.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/CommandGuide/index.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/CommandGuide/diagtool.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/CommandGuide/clang.rst.txt' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/CommandGuide' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ReleaseNotes.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ClangStaticAnalyzer.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/SafeStack.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/UndefinedBehaviorSanitizer.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ClangLinkerWrapper.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ObjectiveCLiterals.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/LibASTMatchersTutorial.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/DataFlowSanitizerDesign.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/LibASTImporter.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/DataFlowAnalysisIntro.md.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/PCHInternals.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/SanitizerCoverage.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/SanitizerSpecialCaseList.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/DiagnosticsReference.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/BlockLanguageSpec.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ClangFormattedStatus.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/DriverInternals.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/JSONCompilationDatabase.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/HowToSetupToolingForLLVM.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/LeakSanitizer.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/LibASTMatchers.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ClangFormatStyleOptions.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/HardwareAssistedAddressSanitizerDesign.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/SanitizerStats.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ExternalClangExamples.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ClangOffloadBundler.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/UsersManual.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/FAQ.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/MemorySanitizer.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/MSVCCompatibility.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/LibClang.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ClangRepl.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ControlFlowIntegrity.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/Multilib.rst.txt' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/PCHInternals.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_images/IntegerSetsFiniteLattice.svg' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_images/OutputParameterIdentificationLattice.svg' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_images/DriverArchitecture.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_images/ClangRepl_design.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_images/CFGJoinRule.svg' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_images/PCHLayout.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_images/DefinitiveInitializationLattice.svg' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_images/CFGExample.svg' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_images/IntegerSetsInfiniteLattice.svg' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_images/UniquePtrLattice.svg' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_images' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/LibASTMatchers.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/Tooling.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/DiagnosticsReference.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/alert_info_32.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/basic.css' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/haiku.css' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/pygments.css' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/plus.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/sphinx_highlight.js' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/bullet_orange.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/file.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/alert_warning_32.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/bg-page.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/documentation_options.js' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/doctools.js' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/minus.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/searchtools.js' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/language_data.js' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/ControlFlowIntegrityDesign.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/OffloadingDesign.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/SanitizerSpecialCaseList.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/ControlFlowIntegrity.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/SafeStack.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/ConstantInterpreter.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/InternalsManual.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/LibFormat.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/ClangPlugins.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/SourceBasedCodeCoverage.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/OpenCLSupport.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/FAQ.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/ClangOffloadBundler.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/BlockLanguageSpec.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/UsersManual.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/AutomaticReferenceCounting.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/DataFlowSanitizerDesign.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/UndefinedBehaviorSanitizer.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/HowToSetupToolingForLLVM.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/HLSL/ResourceTypes.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/HLSL/EntryFunctions.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/HLSL/HLSLIRReference.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/HLSL/HLSLSupport.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/HLSL/HLSLDocs.html' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/HLSL' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/DataFlowAnalysisIntro.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/ClangTools.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/LibClang.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/CommandGuide/index.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/CommandGuide/diagtool.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/CommandGuide/clang.html' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/CommandGuide' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/ThreadSafetyAnalysis.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/ClangRepl.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/ClangFormattedStatus.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/objects.inv' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/searchindex.js' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/ThinLTO.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/ItaniumMangleAbiTags.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/AMDGPUSupport.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/IntroductionToTheClangAST.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/LibASTMatchersTutorial.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/Multilib.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/Modules.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/StandardCPlusPlusModules.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/MatrixTypes.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/ThreadSanitizer.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/MSVCCompatibility.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/RAVFrontendAction.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/LibASTImporter.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/ClangCheck.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/JSONCompilationDatabase.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/ObjectiveCLiterals.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/LanguageExtensions.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/ClangLinkerWrapper.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/ClangCommandLineReference.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/CrossCompilation.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/ClangTransformerTutorial.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/DataFlowSanitizer.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/search.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/MisExpect.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/LibTooling.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/ExternalClangExamples.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/CodeOwners.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/LeakSanitizer.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/LTOVisibility.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/DriverInternals.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html/ClangFormatStyleOptions.html' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/doc/Clang/clang/html' + rm -Rvf /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/clang/clang-doc-default-stylesheet.css removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/clang/clang-doc-default-stylesheet.css' + rm -Rvf /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/clang/index.js removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/clang/index.js' + rm -Rvf /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/ removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/tool/ClangTidyMain.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/tool' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/StandaloneEmptyCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/SuspiciousMemoryComparisonCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/UndefinedMemoryManipulationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/UniquePtrArrayMismatchCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/InaccurateEraseCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/MisplacedWideningCastCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/StringLiteralWithEmbeddedNulCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/SuspiciousStringCompareCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/MultipleNewInOneExpressionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/BadSignalToKillThreadCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/UncheckedOptionalAccessCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/LambdaFunctionNameCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/SignalHandlerCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/TooSmallLoopVariableCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/VirtualNearMissCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/MacroParenthesesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/SuspiciousEnumUsageCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/MisplacedPointerArithmeticInAllocCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/CopyConstructorInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/SharedPtrArrayMismatchCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/ExceptionEscapeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/NotNullTerminatedResultCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/AssignmentInIfConditionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/MisplacedOperatorInStrlenInAllocCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/MultipleStatementMacroCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/BranchCloneCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/RedundantBranchConditionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/StringIntegerAssignmentCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/SmartPtrArrayMismatchCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/PosixReturnCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/ImplicitWideningOfMultiplicationResultCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/DynamicStaticInitializersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/SuspiciousIncludeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/UndelegatedConstructorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/StringviewNullptrCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/UnhandledExceptionAtNewCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/SuspiciousReallocUsageCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/ForwardingReferenceOverloadCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/ArgumentCommentCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/NonZeroEnumToBoolConversionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/UnhandledSelfAssignmentCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/IntegerDivisionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/FoldInitTypeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/UnusedReturnValueCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/SuspiciousMemsetUsageCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/SuspiciousSemicolonCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/TerminatingContinueCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/UnusedRaiiCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/EasilySwappableParametersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/SwappedArgumentsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/UnsafeFunctionsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/InfiniteLoopCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/SignedCharMisuseCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/EmptyCatchCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/UseAfterMoveCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/BoolPointerImplicitConversionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/ForwardDeclarationNamespaceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/DanglingHandleCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/SwitchMissingDefaultCaseCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/ParentVirtualCallCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/ReservedIdentifierCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/SuspiciousMissingCommaCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/SizeofContainerCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/IncorrectRoundingsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/MoveForwardingReferenceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/ThrowKeywordMissingCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/MacroRepeatedSideEffectsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/NoEscapeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/SizeofExpressionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/StringConstructorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/AssertSideEffectCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone/SpuriouslyWakeUpFunctionsCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/bugprone' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/zircon/TemporaryObjectsCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/zircon' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/boost/UseToStringCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/boost' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/modernize/ReturnBracedInitListCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/modernize/UseEqualsDeleteCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/modernize/ReplaceAutoPtrCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/modernize/MakeSharedCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/modernize/UseNullptrCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/modernize/AvoidCArraysCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/modernize/UnaryStaticAssertCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/modernize/UseTrailingReturnTypeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/modernize/UseTransparentFunctorsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/modernize/IntegralLiteralExpressionMatcher.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/modernize/UseUncaughtExceptionsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/modernize/MacroToEnumCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/modernize/RedundantVoidArgCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/modernize/ShrinkToFitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/modernize/UseEqualsDefaultCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/modernize/UseAutoCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/modernize/MakeSmartPtrCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/modernize/UseNoexceptCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/modernize/DeprecatedIosBaseAliasesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/modernize/DeprecatedHeadersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/modernize/LoopConvertCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/modernize/UseOverrideCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/modernize/TypeTraitsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/modernize/ConcatNestedNamespacesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/modernize/LoopConvertUtils.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/modernize/PassByValueCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/modernize/UseDefaultMemberInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/modernize/UseEmplaceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/modernize/UseBoolLiteralsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/modernize/ReplaceRandomShuffleCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/modernize/MakeUniqueCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/modernize/UseStdPrintCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/modernize/AvoidBindCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/modernize/UseNodiscardCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/modernize/ReplaceDisallowCopyAndAssignMacroCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/modernize/RawStringLiteralCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/modernize/UseUsingCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/modernize' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/hicpp/ExceptionBaseclassCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/hicpp/SignedBitwiseCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/hicpp/NoAssemblerCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/hicpp/MultiwayPathsCoveredCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/hicpp' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/ExpandModularHeadersPPCallbacks.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/portability/RestrictSystemIncludesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/portability/StdAllocatorConstCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/portability/SIMDIntrinsicsCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/portability' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/objc/NSInvocationArgumentLifetimeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/objc/PropertyDeclarationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/objc/SuperSelfCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/objc/MissingHashCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/objc/NSDateFormatterCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/objc/ForbiddenSubclassingCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/objc/AssertEquals.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/objc/AvoidNSErrorInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/objc/DeallocInCategoryCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/objc' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cert/VariadicFunctionDefCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cert/MutatingCopyCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cert/NonTrivialTypesLibcMemoryCallsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cert/DefaultOperatorNewAlignmentCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cert/DontModifyStdNamespaceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cert/ProperlySeededRandomGeneratorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cert/FloatLoopCounter.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cert/StrToNumCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cert/ThrownExceptionTypeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cert/LimitedRandomnessCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cert/CommandProcessorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cert/PostfixOperatorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cert/SetLongJmpCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cert/StaticObjectExceptionCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cert' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/ClangTidyModule.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/openmp/ExceptionEscapeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/openmp/UseDefaultNoneCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/openmp' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/abseil/DurationFactoryScaleCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/abseil/DurationConversionCastCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/abseil/TimeSubtractionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/abseil/FasterStrsplitDelimiterCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/abseil/DurationRewriter.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/abseil/DurationFactoryFloatCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/abseil/RedundantStrcatCallsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/abseil/StringFindStartswithCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/abseil/DurationDivisionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/abseil/AbseilMatcher.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/abseil/CleanupCtadCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/abseil/StrCatAppendCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/abseil/TimeComparisonCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/abseil/DurationAdditionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/abseil/NoInternalDependenciesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/abseil/StringFindStrContainsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/abseil/NoNamespaceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/abseil/DurationUnnecessaryConversionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/abseil/UpgradeDurationConversionsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/abseil/DurationComparisonCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/abseil/DurationSubtractionCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/abseil' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/FileExtensionsSet.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/llvmlibc/CalleeNamespaceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/llvmlibc/ImplementationInNamespaceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/llvmlibc/RestrictSystemLibcHeadersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/llvmlibc/InlineFunctionDeclCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/llvmlibc' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/performance/UnnecessaryValueParamCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/performance/NoAutomaticMoveCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/performance/NoexceptFunctionBaseCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/performance/TriviallyDestructibleCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/performance/TypePromotionInMathFnCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/performance/MoveConstructorInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/performance/UnnecessaryCopyInitialization.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/performance/ForRangeCopyCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/performance/AvoidEndlCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/performance/NoexceptMoveConstructorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/performance/InefficientAlgorithmCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/performance/InefficientVectorOperationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/performance/MoveConstArgCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/performance/ImplicitConversionInLoopCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/performance/NoexceptSwapCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/performance/InefficientStringConcatenationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/performance/NoIntToPtrCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/performance/FasterStringFindCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/performance/NoexceptDestructorCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/performance' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/ClangTidyDiagnosticConsumer.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/UseAnyOfAllOfCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/StaticDefinitionInAnonymousNamespaceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/ImplicitBoolConversionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/UppercaseLiteralSuffixCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/IdentifierNamingCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/RedundantStringCStrCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/FunctionCognitiveComplexityCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/ElseAfterReturnCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/RedundantPreprocessorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/MakeMemberFunctionConstCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/NamespaceCommentCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/MisplacedArrayIndexCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/RedundantControlFlowCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/NamedParameterCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/SuspiciousCallArgumentCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/ConvertMemberFunctionsToStatic.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/SimplifyBooleanExprCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/MisleadingIndentationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/UniqueptrDeleteReleaseCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/FunctionSizeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/IsolateDeclarationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/ContainerDataPointerCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/ContainerContainsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/ContainerSizeEmptyCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/InconsistentDeclarationParameterNameCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/AvoidUnconditionalPreprocessorIfCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/RedundantFunctionPtrDereferenceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/DeleteNullPointerCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/AvoidConstParamsInDecls.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/NonConstParameterCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/OperatorsRepresentationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/RedundantSmartptrGetCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/MagicNumbersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/RedundantDeclarationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/QualifiedAutoCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/RedundantMemberInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/RedundantStringInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/RedundantAccessSpecifiersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/StaticAccessedThroughInstanceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/IdentifierLengthCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/SimplifySubscriptExprCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/StringCompareCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/DuplicateIncludeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/ConstReturnTypeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability/BracesAroundStatementsCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/readability' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/ClangTidyForceLinker.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/ClangTidyProfiling.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/altera/KernelNameRestrictionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/altera/UnrollLoopsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/altera/SingleWorkItemBarrierCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/altera/IdDependentBackwardBranchCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/altera/StructPackAlignCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/altera' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/ClangTidy.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/misc/ConfusableTable' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/misc/RedundantExpressionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/misc/NonCopyableObjects.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/misc/StaticAssertCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/misc/UnusedAliasDeclsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/misc/DefinitionsInHeadersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/misc/NoRecursionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/misc/UseAnonymousNamespaceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/misc/HeaderIncludeCycleCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/misc/ThrowByValueCatchByReferenceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/misc/NewDeleteOverloadsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/misc/MisleadingIdentifier.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/misc/ConstCorrectnessCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/misc/UnconventionalAssignOperatorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/misc/ConfusableIdentifierCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/misc/UnusedUsingDeclsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/misc/UniqueptrResetReleaseCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/misc/NonPrivateMemberVariablesInClassesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/misc/IncludeCleanerCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/misc/MisleadingBidirectional.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/misc/UnusedParametersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/misc/MisplacedConstCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/misc' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/plugin' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/ClangTidyCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/mpi/TypeMismatchCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/mpi/BufferDerefCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/mpi' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/concurrency/MtUnsafeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/concurrency/ThreadCanceltypeAsynchronousCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/concurrency' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/ClangTidyModuleRegistry.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/android/CloexecPipe2Check.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/android/CloexecDupCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/android/CloexecEpollCreate1Check.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/android/CloexecSocketCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/android/CloexecInotifyInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/android/CloexecPipeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/android/CloexecMemfdCreateCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/android/ComparisonInTempFailureRetryCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/android/CloexecAccept4Check.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/android/CloexecInotifyInit1Check.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/android/CloexecAcceptCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/android/CloexecCreatCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/android/CloexecFopenCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/android/CloexecOpenCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/android/CloexecEpollCreateCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/android/CloexecCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/android' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/google/AvoidCStyleCastsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/google/GlobalNamesInHeadersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/google/GlobalVariableDeclarationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/google/OverloadedUnaryAndCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/google/AvoidThrowingObjCExceptionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/google/AvoidNSObjectNewCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/google/ExplicitConstructorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/google/AvoidUnderscoreInGoogletestNameCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/google/DefaultArgumentsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/google/IntegerTypesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/google/UpgradeGoogletestCaseCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/google/TodoCommentCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/google/FunctionNamingCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/google/UnnamedNamespaceInHeaderCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/google/UsingNamespaceDirectiveCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/google/ExplicitMakePairCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/google' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/ClangTidyOptions.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/GlobList.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/darwin/DispatchOnceNonstaticCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/darwin/AvoidSpinlockCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/darwin' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/RvalueReferenceParamNotMovedCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/MisleadingCaptureDefaultByValueCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/MacroUsageCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/AvoidGotoCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/ProTypeUnionAccessCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/ProTypeConstCastCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/PreferMemberInitializerCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/ProTypeReinterpretCastCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/SlicingCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/ProTypeVarargCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/AvoidConstOrRefDataMembersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/ProTypeStaticCastDowncastCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/AvoidCapturingLambdaCoroutinesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/ProBoundsPointerArithmeticCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/ProBoundsConstantArrayIndexCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/NarrowingConversionsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/AvoidNonConstGlobalVariablesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/InitVariablesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/ProTypeCstyleCastCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/SpecialMemberFunctionsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/AvoidReferenceCoroutineParametersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/MissingStdForwardCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/VirtualClassDestructorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/AvoidDoWhileCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/OwningMemoryCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/InterfacesGlobalInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/NoMallocCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/NoLintDirectiveHandler.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/llvm/HeaderGuardCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/llvm/TwineLocalCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/llvm/PreferRegisterOverUnsignedCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/llvm/PreferIsaOrDynCastInConditionalsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/llvm/IncludeOrderCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/llvm' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/utils/TransformerClangTidyCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/utils/UsingInserter.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/utils/ASTUtils.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/utils/ExceptionSpecAnalyzer.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/utils/ExceptionAnalyzer.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/utils/RenamerClangTidyCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/utils/TypeTraits.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/utils/DeclRefExprUtils.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/utils/IncludeSorter.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/utils/FileExtensionsUtils.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/utils/NamespaceAliaser.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/utils/Matchers.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/utils/IncludeInserter.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/utils/Aliasing.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/utils/FixItHintUtils.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/utils/OptionsUtils.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/utils/LexerUtils.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/utils/ExprSequence.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/utils/HeaderGuard.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/utils/FormatStringConverter.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/utils' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/fuchsia/MultipleInheritanceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/fuchsia/DefaultArgumentsDeclarationsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/fuchsia/DefaultArgumentsCallsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/fuchsia/VirtualInheritanceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/fuchsia/OverloadedOperatorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/fuchsia/TrailingReturnCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/fuchsia/StaticallyConstructedObjectsCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/fuchsia' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/linuxkernel/MustCheckErrsCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/linuxkernel' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/include/clang-tidy/' removed '/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/clang/bash-autocomplete.sh' + rm -vf /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/clang/bash-autocomplete.sh + ln -s clang.1.gz /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/man/man1/clang++.1.gz + ln -s clang.1.gz /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/man/man1/clang-17.1.gz + ln -s clang.1.gz /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/man/man1/clang++-17.1.gz + ln -s clang++ /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang++-17 + chmod u-x /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/man/man1/scan-build.1 + mkdir -p /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/include/ /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/lib/ /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/clang/17/share/ + ln -s /usr/share/clang/clang-format-diff.py /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-format-diff + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 17.0.6-3.ocs23 --unique-debug-suffix -17.0.6-3.ocs23.aarch64 --unique-debug-src-base clang-17.0.6-3.ocs23.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/clang-17.0.6.src extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/c-index-test extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-17 extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-change-namespace extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-cl extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-check extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/amdgpu-arch extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-apply-replacements extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang++ extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-cpp extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-doc extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-extdef-mapping extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-format extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-include-cleaner extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-include-fixer extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-linker-wrapper extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-move extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-offload-bundler extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-offload-packager extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-pseudo extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-query extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-refactor extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-rename extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-reorder-fields extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-repl extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-scan-deps extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-tidy extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clangd extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/diagtool extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/find-all-symbols extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/modularize extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/nvptx-arch extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/pp-trace extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/libclang-cpp.so.17 extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib64/libclang.so.17.0.6 134206 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs mangling shebang in /usr/libexec/c++-analyzer from /usr/bin/env perl to #!/usr/bin/perl mangling shebang in /usr/libexec/ccc-analyzer from /usr/bin/env perl to #!/usr/bin/perl mangling shebang in /usr/bin/scan-build from /usr/bin/env perl to #!/usr/bin/perl + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-fix-pyc-reproducibility /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/python3.11/site-packages Removed 44 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/shell.cpython-311.pyc Removed 107 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/intercept.cpython-311.opt-1.pyc Removed 91 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/arguments.cpython-311.opt-1.pyc Removed 82 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/__init__.cpython-311.opt-1.pyc Removed 185 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/analyze.cpython-311.pyc Removed 42 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/compilation.cpython-311.opt-1.pyc Removed 69 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/clang.cpython-311.opt-1.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/__init__.cpython-311.pyc Removed 185 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/analyze.cpython-311.opt-1.pyc Removed 171 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/report.cpython-311.opt-1.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/shell.cpython-311.opt-1.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/arguments.cpython-311.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/compilation.cpython-311.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/clang.cpython-311.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/report.cpython-311.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/intercept.cpython-311.pyc Removed 130 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/python3.11/site-packages/libear/__pycache__/__init__.cpython-311.opt-1.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/python3.11/site-packages/libear/__pycache__/__init__.cpython-311.pyc Removed 1001 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/python3.11/site-packages/clang/__pycache__/cindex.cpython-311.opt-1.pyc Removed 7 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/python3.11/site-packages/clang/__pycache__/__init__.cpython-311.opt-1.pyc Removed 16 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/python3.11/site-packages/clang/__pycache__/enumerations.cpython-311.opt-1.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/python3.11/site-packages/clang/__pycache__/__init__.cpython-311.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/python3.11/site-packages/clang/__pycache__/enumerations.cpython-311.pyc Removed 997 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/python3.11/site-packages/clang/__pycache__/cindex.cpython-311.pyc + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.TtZk3V + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd clang-17.0.6.src + LD_LIBRARY_PATH=/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64//usr/lib64 + /usr/bin/ninja check-all -C aarch64-OpenCloudOS-linux-gnu ninja: Entering directory `aarch64-OpenCloudOS-linux-gnu' [1/441] Building CXX object lib/Testing/CMakeFiles/clangTesting.dir/CommandLineArgs.cpp.o [2/441] Building CXX object tools/extra/pseudo/unittests/CMakeFiles/ClangPseudoTests.dir/CXXTest.cpp.o [3/441] Building CXX object tools/extra/pseudo/unittests/CMakeFiles/ClangPseudoTests.dir/BracketTest.cpp.o [4/441] Building CXX object tools/extra/include-cleaner/unittests/CMakeFiles/ClangIncludeCleanerTests.dir/TypesTest.cpp.o [5/441] Building CXX object tools/extra/pseudo/unittests/CMakeFiles/ClangPseudoTests.dir/DisambiguateTest.cpp.o [6/441] Building CXX object tools/extra/pseudo/unittests/CMakeFiles/ClangPseudoTests.dir/ForestTest.cpp.o [7/441] Building CXX object tools/extra/pseudo/unittests/CMakeFiles/ClangPseudoTests.dir/DirectiveTreeTest.cpp.o [8/441] Building CXX object tools/extra/include-cleaner/unittests/CMakeFiles/ClangIncludeCleanerTests.dir/IncludeSpellerTest.cpp.o [9/441] Building CXX object lib/Testing/CMakeFiles/clangTesting.dir/TestAST.cpp.o [10/441] Linking CXX static library lib64/libclangTesting.a [11/441] Generating code completion model runtime... [12/441] Building CXX object tools/extra/include-cleaner/unittests/CMakeFiles/ClangIncludeCleanerTests.dir/WalkASTTest.cpp.o [13/441] Building CXX object tools/extra/pseudo/unittests/CMakeFiles/ClangPseudoTests.dir/LRTableTest.cpp.o [14/441] Building CXX object tools/extra/pseudo/unittests/CMakeFiles/ClangPseudoTests.dir/TokenTest.cpp.o [15/441] Building CXX object tools/extra/pseudo/unittests/CMakeFiles/ClangPseudoTests.dir/GrammarTest.cpp.o [16/441] Building CXX object tools/extra/include-cleaner/unittests/CMakeFiles/ClangIncludeCleanerTests.dir/AnalysisTest.cpp.o [17/441] Building CXX object tools/extra/pseudo/unittests/CMakeFiles/ClangPseudoTests.dir/GLRTest.cpp.o [18/441] Building CXX object tools/extra/include-cleaner/unittests/CMakeFiles/ClangIncludeCleanerTests.dir/RecordTest.cpp.o [19/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/Annotations.cpp.o [20/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/CanonicalIncludesTests.cpp.o [21/441] Linking CXX executable tools/extra/pseudo/unittests/ClangPseudoTests [22/441] Building CXX object tools/extra/include-cleaner/unittests/CMakeFiles/ClangIncludeCleanerTests.dir/LocateSymbolTest.cpp.o [23/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ASTTests.cpp.o [24/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ASTSignalsTests.cpp.o [25/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/CallHierarchyTests.cpp.o [26/441] Building CXX object tools/extra/include-cleaner/unittests/CMakeFiles/ClangIncludeCleanerTests.dir/FindHeadersTest.cpp.o [27/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/CodeCompletionStringsTests.cpp.o [28/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/CompileCommandsTests.cpp.o [29/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ClangdLSPServerTests.cpp.o [30/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/DecisionForestTests.cpp.o [31/441] Linking CXX executable tools/extra/include-cleaner/unittests/ClangIncludeCleanerTests [32/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/CollectMacrosTests.cpp.o [33/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/BackgroundIndexTests.cpp.o [34/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ConfigProviderTests.cpp.o [35/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/DraftStoreTests.cpp.o [36/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ClangdTests.cpp.o [37/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/CompilerTests.cpp.o [38/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ConfigCompileTests.cpp.o [39/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ConfigYAMLTests.cpp.o [40/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/FileDistanceTests.cpp.o [41/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/FormatTests.cpp.o [42/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/DexTests.cpp.o [43/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/FSTests.cpp.o [44/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/DumpASTTests.cpp.o [45/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ExpectedTypeTest.cpp.o [46/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/FuzzyMatchTests.cpp.o [47/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/FeatureModulesTests.cpp.o [48/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/FindTargetTests.cpp.o /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/unittests/FindTargetTests.cpp:430:29: warning: ISO C++11 requires at least one argument for the "..." in a variadic macro 430 | EXPECT_DECLS("AutoTypeLoc"); | ^ /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/unittests/FindTargetTests.cpp:1212:32: warning: ISO C++11 requires at least one argument for the "..." in a variadic macro 1212 | EXPECT_DECLS("TypedefTypeLoc"); | ^ /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/unittests/FindTargetTests.cpp:1219:32: warning: ISO C++11 requires at least one argument for the "..." in a variadic macro 1219 | EXPECT_DECLS("TypedefTypeLoc"); | ^ [49/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/CodeCompleteTests.cpp.o [50/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/GlobalCompilationDatabaseTests.cpp.o [51/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/FindSymbolsTests.cpp.o [52/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/DiagnosticsTests.cpp.o [53/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/HeaderSourceSwitchTests.cpp.o [54/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/FileIndexTests.cpp.o [55/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/JSONTransportTests.cpp.o [56/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/LoggerTests.cpp.o [57/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/HeadersTests.cpp.o [58/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/LSPClient.cpp.o [59/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/IndexActionTests.cpp.o [60/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/IncludeCleanerTests.cpp.o [61/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/LSPBinderTests.cpp.o [62/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/PathMappingTests.cpp.o [63/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/HoverTests.cpp.o [64/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/InsertionPointTests.cpp.o [65/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/RIFFTests.cpp.o [66/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ProjectAwareIndexTests.cpp.o [67/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/InlayHintTests.cpp.o [68/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ModulesTests.cpp.o [69/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/IndexTests.cpp.o [70/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/QualityTests.cpp.o [71/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/SemanticHighlightingTests.cpp.o [72/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/SemanticSelectionTests.cpp.o [73/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/PreambleTests.cpp.o [74/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/SelectionTests.cpp.o [75/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/RenameTests.cpp.o [76/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ParsedASTTests.cpp.o [77/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/SerializationTests.cpp.o [78/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/PrintASTTests.cpp.o [79/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/TestFS.cpp.o [80/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/TestIndex.cpp.o [81/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ReplayPeambleTests.cpp.o [82/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ThreadCrashReporterTests.cpp.o [83/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/TidyProviderTests.cpp.o [84/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/SymbolInfoTests.cpp.o [85/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/StdLibTests.cpp.o [86/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/DecisionForestRuntimeTest.cpp.o [87/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/SyncAPI.cpp.o [88/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/URITests.cpp.o [89/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/ContextTests.cpp.o [90/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/SourceCodeTests.cpp.o [91/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/CancellationTests.cpp.o [92/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/TestWorkspace.cpp.o [93/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/FunctionTests.cpp.o [94/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/FileCacheTests.cpp.o [95/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/MarkupTests.cpp.o [96/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/TestTracer.cpp.o [97/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/PathTests.cpp.o [98/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/MemoryTreeTests.cpp.o [99/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/ThreadingTests.cpp.o [100/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/TraceTests.cpp.o [101/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/TestTU.cpp.o [102/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/SymbolCollectorTests.cpp.o /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/unittests/SymbolCollectorTests.cpp: In member function 'virtual void clang::clangd::{anonymous}::SymbolCollectorTest_SpelledReferences_Test::TestBody()': /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/unittests/SymbolCollectorTests.cpp:1059:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1059 | if (!SpelledRanges.empty()) | ^ /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/unittests/SymbolCollectorTests.cpp:1062:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1062 | if (!ImplicitRanges.empty()) | ^ [103/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/TypeHierarchyTests.cpp.o [104/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/TUSchedulerTests.cpp.o /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/unittests/TUSchedulerTests.cpp: In member function 'virtual void clang::clangd::{anonymous}::TUSchedulerTests_PublishWithStalePreamble_Test::TestBody()::BlockPreambleThread::onPreambleAST(clang::clangd::PathRef, llvm::StringRef, clang::clangd::CapturedASTCtx, std::shared_ptr)': /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/unittests/TUSchedulerTests.cpp:1220:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1220 | if (BuildBefore) | ^ [105/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/AnnotateHighlightingsTests.cpp.o [106/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/AddUsingTests.cpp.o [107/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/XRefsTests.cpp.o [108/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/DefineInlineTests.cpp.o [109/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/DefineOutlineTests.cpp.o [110/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/DumpASTTests.cpp.o [111/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/DumpRecordLayoutTests.cpp.o [112/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/DumpSymbolTests.cpp.o [113/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/ExpandDeducedTypeTests.cpp.o [114/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/ExpandMacroTests.cpp.o [115/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/ExtractFunctionTests.cpp.o [116/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/ExtractVariableTests.cpp.o [117/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/PopulateSwitchTests.cpp.o [118/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/MemberwiseConstructorTests.cpp.o [119/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/ObjCMemberwiseInitializerTests.cpp.o [120/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/ObjCLocalizeStringLiteralTests.cpp.o [121/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/RemoveUsingNamespaceTests.cpp.o [122/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/RawStringLiteralTests.cpp.o [123/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/ShowSelectionTreeTests.cpp.o [124/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/SpecialMembersTests.cpp.o [125/441] Building CXX object tools/extra/unittests/clang-apply-replacements/CMakeFiles/ClangApplyReplacementsTests.dir/ApplyReplacementsTest.cpp.o [126/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/TweakTesting.cpp.o [127/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/SwapIfBranchesTests.cpp.o [128/441] Linking CXX executable tools/extra/unittests/clang-apply-replacements/ClangApplyReplacementsTests [129/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/TweakTests.cpp.o [130/441] Building CXX object tools/extra/unittests/clang-doc/CMakeFiles/ClangDocTests.dir/ClangDocTest.cpp.o [131/441] Building CXX object tools/extra/unittests/clang-doc/CMakeFiles/ClangDocTests.dir/GeneratorTest.cpp.o [132/441] Building CXX object tools/extra/unittests/clang-doc/CMakeFiles/ClangDocTests.dir/BitcodeTest.cpp.o [133/441] Building CXX object tools/extra/unittests/clang-doc/CMakeFiles/ClangDocTests.dir/HTMLGeneratorTest.cpp.o [134/441] Building CXX object tools/extra/unittests/clang-include-fixer/CMakeFiles/ClangIncludeFixerTests.dir/FuzzySymbolIndexTests.cpp.o [135/441] Building CXX object tools/extra/unittests/clang-change-namespace/CMakeFiles/ClangChangeNamespaceTests.dir/ChangeNamespaceTests.cpp.o [136/441] Building CXX object tools/extra/unittests/clang-doc/CMakeFiles/ClangDocTests.dir/MDGeneratorTest.cpp.o [137/441] Building CXX object tools/extra/unittests/clang-doc/CMakeFiles/ClangDocTests.dir/MergeTest.cpp.o [138/441] Building CXX object tools/extra/unittests/clang-include-fixer/CMakeFiles/ClangIncludeFixerTests.dir/IncludeFixerTest.cpp.o [139/441] Building CXX object tools/extra/unittests/clang-doc/CMakeFiles/ClangDocTests.dir/YAMLGeneratorTest.cpp.o [140/441] Building CXX object tools/extra/unittests/clang-include-fixer/find-all-symbols/CMakeFiles/FindAllSymbolsTests.dir/FindAllSymbolsTests.cpp.o [141/441] Building CXX object tools/extra/unittests/clang-query/CMakeFiles/ClangQueryTests.dir/QueryParserTest.cpp.o [142/441] Building CXX object tools/extra/unittests/clang-doc/CMakeFiles/ClangDocTests.dir/SerializeTest.cpp.o [143/441] Building CXX object tools/extra/unittests/clang-query/CMakeFiles/ClangQueryTests.dir/QueryEngineTest.cpp.o [144/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/GlobListTest.cpp.o [145/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/ClangTidyDiagnosticConsumerTest.cpp.o [146/441] Building CXX object tools/extra/unittests/clang-move/CMakeFiles/ClangMoveTests.dir/ClangMoveTests.cpp.o [147/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/DeclRefExprUtilsTest.cpp.o [148/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/ClangTidyOptionsTest.cpp.o [149/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/OptionsProviderTest.cpp.o [150/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/AddConstTest.cpp.o [151/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/IncludeCleanerTest.cpp.o [152/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/GoogleModuleTest.cpp.o [153/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/IncludeInserterTest.cpp.o [154/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/LLVMModuleTest.cpp.o [155/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/ModernizeModuleTest.cpp.o [156/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/NamespaceAliaserTest.cpp.o [157/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/DarwinSDKInfoTest.cpp.o [158/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/CharInfoTest.cpp.o [159/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/ObjCModuleTest.cpp.o [160/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/DiagnosticTest.cpp.o /builddir/build/BUILD/clang-17.0.6.src/unittests/Basic/DiagnosticTest.cpp:19:6: warning: 'void clang::DiagnosticsTestHelper(DiagnosticsEngine&)' has not been declared within 'clang' 19 | void clang::DiagnosticsTestHelper(DiagnosticsEngine &diag) { | ^~~~~ In file included from /builddir/build/BUILD/clang-17.0.6.src/unittests/Basic/DiagnosticTest.cpp:9: /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.h:548:15: note: only here as a 'friend' 548 | friend void DiagnosticsTestHelper(DiagnosticsEngine &); | ^~~~~~~~~~~~~~~~~~~~~ [161/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/FileEntryTest.cpp.o [162/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/LineOffsetMappingTest.cpp.o [163/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/SanitizersTest.cpp.o [164/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/HeaderMapTest.cpp.o [165/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/FileManagerTest.cpp.o [166/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/UsingInserterTest.cpp.o [167/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/SarifTest.cpp.o [168/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/DependencyDirectivesScannerTest.cpp.o [169/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/SourceManagerTest.cpp.o [170/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/HeaderSearchTest.cpp.o [171/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/ReadabilityModuleTest.cpp.o [172/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/ModuleDeclStateTest.cpp.o [173/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/PPConditionalDirectiveRecordTest.cpp.o [174/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/LexerTest.cpp.o [175/441] Building CXX object unittests/Driver/CMakeFiles/ClangDriverTests.dir/DistroTest.cpp.o [176/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/PPMemoryAllocationsTest.cpp.o [177/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/OverlappingReplacementsTest.cpp.o [178/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/PPDependencyDirectivesTest.cpp.o [179/441] Building CXX object unittests/Driver/CMakeFiles/ClangDriverTests.dir/ModuleCacheTest.cpp.o [180/441] Building CXX object unittests/Driver/CMakeFiles/ClangDriverTests.dir/MultilibBuilderTest.cpp.o [181/441] Building CXX object unittests/Driver/CMakeFiles/ClangDriverTests.dir/MultilibTest.cpp.o [182/441] Building CXX object unittests/Driver/CMakeFiles/ClangDriverTests.dir/SanitizerArgsTest.cpp.o [183/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/PPCallbacksTest.cpp.o [184/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/TransformerClangTidyCheckTest.cpp.o [185/441] Building CXX object unittests/Driver/CMakeFiles/ClangDriverTests.dir/DXCModeTest.cpp.o [186/441] Building CXX object unittests/Driver/CMakeFiles/ClangDriverTests.dir/ToolChainTest.cpp.o [187/441] Building CXX object unittests/Analysis/CMakeFiles/ClangAnalysisTests.dir/UnsafeBufferUsageTest.cpp.o [188/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/ArenaTest.cpp.o [189/441] Building CXX object unittests/Analysis/CMakeFiles/ClangAnalysisTests.dir/CFGTest.cpp.o [190/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/DataflowAnalysisContextTest.cpp.o [191/441] Building CXX object unittests/Analysis/CMakeFiles/ClangAnalysisTests.dir/MacroExpansionContextTest.cpp.o [192/441] Building CXX object unittests/Analysis/CMakeFiles/ClangAnalysisTests.dir/CloneDetectionTest.cpp.o [193/441] Building CXX object unittests/Analysis/CMakeFiles/ClangAnalysisTests.dir/CFGDominatorTree.cpp.o [194/441] Building CXX object unittests/Analysis/CMakeFiles/ClangAnalysisTests.dir/IntervalPartitionTest.cpp.o [195/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/CFGMatchSwitchTest.cpp.o [196/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/ChromiumCheckModelTest.cpp.o [197/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/MapLatticeTest.cpp.o [198/441] Building CXX object unittests/Analysis/CMakeFiles/ClangAnalysisTests.dir/ExprMutationAnalyzerTest.cpp.o [199/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/DebugSupportTest.cpp.o [200/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/DeterminismTest.cpp.o [201/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/DataflowEnvironmentTest.cpp.o [202/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/LoggerTest.cpp.o [203/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/MatchSwitchTest.cpp.o [204/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/RecordOpsTest.cpp.o [205/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/MultiVarConstantPropagationTest.cpp.o [206/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/TestingSupport.cpp.o [207/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/SolverTest.cpp.o [208/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/SingleVarConstantPropagationTest.cpp.o [209/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/SignAnalysisTest.cpp.o [210/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/ValueTest.cpp.o [211/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/TransferBranchTest.cpp.o [212/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/TestingSupportTest.cpp.o [213/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/AnalyzerOptionsTest.cpp.o [214/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/APSIntTypeTest.cpp.o [215/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/ConflictingEvalCallsTest.cpp.o [216/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/CallEventTest.cpp.o [217/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/UncheckedOptionalAccessModelTest.cpp.o [218/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/BugReportInterestingnessTest.cpp.o [219/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/NoStateChangeFuncVisitorTest.cpp.o [220/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/TypeErasedDataflowAnalysisTest.cpp.o [221/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/TransferTest.cpp.o [222/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/CallDescriptionTest.cpp.o [223/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/FalsePositiveRefutationBRVisitorTest.cpp.o [224/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/RegisterCustomCheckersTest.cpp.o [225/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/ParamRegionTest.cpp.o [226/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/TestReturnValueUnderConstruction.cpp.o [227/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/SValTest.cpp.o [228/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/SymbolReaperTest.cpp.o [229/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/StoreTest.cpp.o [230/441] Building CXX object unittests/ASTMatchers/CMakeFiles/ASTMatchersTests.dir/ASTMatchersInternalTest.cpp.o [231/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/RangeSetTest.cpp.o [232/441] Building CXX object unittests/ASTMatchers/CMakeFiles/ASTMatchersTests.dir/GtestMatchersTest.cpp.o [233/441] Building CXX object unittests/ASTMatchers/Dynamic/CMakeFiles/DynamicASTMatchersTests.dir/VariantValueTest.cpp.o [234/441] Building CXX object unittests/ASTMatchers/Dynamic/CMakeFiles/DynamicASTMatchersTests.dir/ParserTest.cpp.o [235/441] Building CXX object unittests/ASTMatchers/Dynamic/CMakeFiles/DynamicASTMatchersTests.dir/RegistryTest.cpp.o [236/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTExprTest.cpp.o [237/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTContextParentMapTest.cpp.o [238/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterFixtures.cpp.o [239/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterObjCTest.cpp.o [240/441] Building CXX object unittests/ASTMatchers/CMakeFiles/ASTMatchersTests.dir/ASTMatchersNodeTest.cpp.o [241/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTVectorTest.cpp.o [242/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterVisibilityTest.cpp.o [243/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTTraverserTest.cpp.o [244/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTTypeTraitsTest.cpp.o [245/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterGenericRedeclTest.cpp.o [246/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/CommentTextTest.cpp.o [247/441] Building CXX object unittests/ASTMatchers/CMakeFiles/ASTMatchersTests.dir/ASTMatchersNarrowingTest.cpp.o [248/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterODRStrategiesTest.cpp.o [249/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/AttrTest.cpp.o [250/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/CommentParser.cpp.o [251/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/CommentLexer.cpp.o [252/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ExternalASTSourceTest.cpp.o [253/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/DataCollectionTest.cpp.o [254/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/NamedDeclPrinterTest.cpp.o [255/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/DeclTest.cpp.o [256/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/DeclPrinterTest.cpp.o [257/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/RandstructTest.cpp.o [258/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/SizelessTypesTest.cpp.o [259/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/EvaluateAsRValueTest.cpp.o [260/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/UnresolvedSetTest.cpp.o [261/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/RecursiveASTVisitorTest.cpp.o [262/441] Building CXX object unittests/ASTMatchers/CMakeFiles/ASTMatchersTests.dir/ASTMatchersTraversalTest.cpp.o [263/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/StmtPrinterTest.cpp.o [264/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/TemplateNameTest.cpp.o [265/441] Building CXX object unittests/CrossTU/CMakeFiles/CrossTUTests.dir/CrossTranslationUnitTest.cpp.o [266/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/TypePrinterTest.cpp.o [267/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/SourceLocationTest.cpp.o [268/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterTest.cpp.o [269/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/StructuralEquivalenceTest.cpp.o [270/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/CastExprTest.cpp.o [271/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/ASTSelectionTest.cpp.o [272/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/CompilationDatabaseTest.cpp.o [273/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/DiagnosticsYamlTest.cpp.o [274/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/DependencyScannerTest.cpp.o [275/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/CommentHandlerTest.cpp.o [276/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/HeaderIncludesTest.cpp.o [277/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/HeaderAnalysisTest.cpp.o [278/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/StandardLibraryTest.cpp.o [279/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/FixItTest.cpp.o [280/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/ExecutionTest.cpp.o [281/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/LookupTest.cpp.o [282/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/QualTypeNamesTest.cpp.o [283/441] Linking CXX executable tools/extra/clangd/unittests/ClangdTests /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobal.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:30: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobalBool': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | [284/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/Attr.cpp.o [285/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RangeSelectorTest.cpp.o [286/441] Linking CXX executable tools/extra/unittests/clang-change-namespace/ClangChangeNamespaceTests [287/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/LexicallyOrderedRecursiveASTVisitorTest.cpp.o [288/441] Linking CXX executable tools/extra/unittests/clang-doc/ClangDocTests [289/441] Linking CXX executable tools/extra/unittests/clang-include-fixer/ClangIncludeFixerTests [290/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/Class.cpp.o [291/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CallbacksLeaf.cpp.o [292/441] Linking CXX executable tools/extra/unittests/clang-include-fixer/find-all-symbols/FindAllSymbolsTests [293/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/ConstructExpr.cpp.o [294/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CallbacksUnaryOperator.cpp.o [295/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CallbacksBinaryOperator.cpp.o [296/441] Linking CXX executable tools/extra/unittests/clang-move/ClangMoveTests [297/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CXXBoolLiteralExpr.cpp.o [298/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/Concept.cpp.o [299/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CallbacksCompoundAssignOperator.cpp.o [300/441] Linking CXX executable tools/extra/unittests/clang-query/ClangQueryTests [301/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CallbacksCallExpr.cpp.o [302/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CXXMemberCall.cpp.o [303/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CXXMethodDecl.cpp.o [304/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CXXOperatorCallExprTraverser.cpp.o [305/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/DeclRefExpr.cpp.o [306/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/ImplicitCtorInitializer.cpp.o [307/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/ImplicitCtor.cpp.o [308/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/InitListExprPostOrder.cpp.o [309/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/InitListExprPostOrderNoQueue.cpp.o [310/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/InitListExprPreOrder.cpp.o [311/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/InitListExprPreOrderNoQueue.cpp.o [312/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/IntegerLiteral.cpp.o [313/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/LambdaDefaultCapture.cpp.o [314/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/LambdaTemplateParams.cpp.o [315/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/MemberPointerTypeLoc.cpp.o [316/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/LambdaExpr.cpp.o [317/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/NestedNameSpecifiers.cpp.o [318/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/ParenExpr.cpp.o [319/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/TemplateArgumentLocTraverser.cpp.o [320/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/ReplacementsYamlTest.cpp.o [321/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RewriterTest.cpp.o [322/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RefactoringActionRulesTest.cpp.o [323/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/TraversalScope.cpp.o [324/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTestPostOrderVisitor.cpp.o [325/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTestTypeLocVisitor.cpp.o [326/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RefactoringCallbacksTest.cpp.o [327/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTestDeclVisitor.cpp.o [328/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/ToolingTest.cpp.o [329/441] Linking CXX executable tools/extra/unittests/clang-tidy/ClangTidyTests /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobal.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:30: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobalBool': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | [330/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/SourceCodeBuildersTest.cpp.o [331/441] Linking CXX executable unittests/Basic/BasicTests [332/441] Building CXX object unittests/Tooling/Syntax/CMakeFiles/SyntaxTests.dir/TreeTestBase.cpp.o [333/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/StencilTest.cpp.o [334/441] Linking CXX executable unittests/Lex/LexTests [335/441] Building CXX object unittests/Tooling/Syntax/CMakeFiles/SyntaxTests.dir/MutationsTest.cpp.o [336/441] Building CXX object unittests/Tooling/Syntax/CMakeFiles/SyntaxTests.dir/SynthesisTest.cpp.o [337/441] Linking CXX executable unittests/Driver/ClangDriverTests [338/441] Building CXX object unittests/Tooling/Syntax/CMakeFiles/SyntaxTests.dir/BuildTreeTest.cpp.o [339/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/BracesInserterTest.cpp.o [340/441] Building CXX object unittests/Tooling/Syntax/CMakeFiles/SyntaxTests.dir/TreeTest.cpp.o [341/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/BracesRemoverTest.cpp.o [342/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/CleanupTest.cpp.o [343/441] Linking CXX executable unittests/Analysis/ClangAnalysisTests [344/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/DefinitionBlockSeparatorTest.cpp.o [345/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RefactoringTest.cpp.o [346/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/TransformerTest.cpp.o [347/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestCSharp.cpp.o [348/441] Building CXX object unittests/Tooling/Syntax/CMakeFiles/SyntaxTests.dir/TokensTest.cpp.o [349/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestJava.cpp.o [350/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestJson.cpp.o [351/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestJS.cpp.o [352/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestMacroExpansion.cpp.o [353/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestProto.cpp.o [354/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestComments.cpp.o [355/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestObjC.cpp.o [356/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestSelective.cpp.o [357/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestRawStrings.cpp.o [358/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestTableGen.cpp.o [359/441] Linking CXX executable unittests/Analysis/FlowSensitive/ClangAnalysisFlowSensitiveTests [360/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestTextProto.cpp.o [361/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestVerilog.cpp.o [362/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/IntegerLiteralSeparatorTest.cpp.o [363/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatReplacementTest.cpp.o [364/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTokenSourceTest.cpp.o [365/441] Building CXX object unittests/Introspection/CMakeFiles/IntrospectionTests.dir/IntrospectionTest.cpp.o [366/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/NamespaceEndCommentsFixerTest.cpp.o [367/441] Linking CXX executable unittests/StaticAnalyzer/StaticAnalysisTests [368/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/MacroExpanderTest.cpp.o [369/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/SortImportsTestJS.cpp.o [370/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/SortImportsTestJava.cpp.o [371/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/MacroCallReconstructorTest.cpp.o [372/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/UsingDeclarationsSorterTest.cpp.o [373/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/SortIncludesTest.cpp.o [374/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/FixedPointString.cpp.o [375/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/QualifierFixerTest.cpp.o [376/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/CompilerInstanceTest.cpp.o [377/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/ASTUnitTest.cpp.o [378/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/ParsedSourceLocationTest.cpp.o [379/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTest.cpp.o [380/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/CodeGenActionTest.cpp.o [381/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/CompilerInvocationTest.cpp.o [382/441] Linking CXX executable unittests/ASTMatchers/ASTMatchersTests [383/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/SourceCodeTest.cpp.o [384/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/TextDiagnosticTest.cpp.o [385/441] Building CXX object unittests/Rewrite/CMakeFiles/RewriteTests.dir/RewriteBufferTest.cpp.o [386/441] Linking CXX executable unittests/ASTMatchers/Dynamic/DynamicASTMatchersTests [387/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/PCHPreambleTest.cpp.o [388/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/ReparseWorkingDirTest.cpp.o [389/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/UtilsTest.cpp.o [390/441] Building CXX object unittests/Rewrite/CMakeFiles/RewriteTests.dir/RewriterTest.cpp.o [391/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/OutputStreamTest.cpp.o [392/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/FrontendActionTest.cpp.o [393/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/ConfigParseTest.cpp.o In file included from /usr/include/llvm-gtest/gtest/gtest-printers.h:114, from /usr/include/llvm-gtest/gtest/gtest-matchers.h:47, from /usr/include/llvm-gtest/gtest/internal/gtest-death-test-internal.h:43, from /usr/include/llvm-gtest/gtest/gtest-death-test.h:45, from /usr/include/llvm-gtest/gtest/gtest.h:61, from /builddir/build/BUILD/clang-17.0.6.src/unittests/Format/ConfigParseTest.cpp:12: /builddir/build/BUILD/clang-17.0.6.src/unittests/Format/ConfigParseTest.cpp: In member function 'clang::format::(anonymous namespace)::ConfigParseTest_ParsesConfiguration_Test::TestBody()': /builddir/build/BUILD/clang-17.0.6.src/unittests/Format/ConfigParseTest.cpp:233:6: note: variable tracking size limit exceeded with '-fvar-tracking-assignments', retrying without 233 | TEST(ConfigParseTest, ParsesConfiguration) { | ^~~~~~~~~~~~~~~ [394/441] Building CXX object unittests/Sema/CMakeFiles/SemaTests.dir/ExternalSemaSourceTest.cpp.o [395/441] Building CXX object unittests/CodeGen/CMakeFiles/ClangCodeGenTests.dir/CheckTargetFeaturesTest.cpp.o [396/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/TokenAnnotatorTest.cpp.o [397/441] Building CXX object unittests/Sema/CMakeFiles/SemaTests.dir/SemaLookupTest.cpp.o [398/441] Building CXX object unittests/Sema/CMakeFiles/SemaTests.dir/CodeCompleteTest.cpp.o [399/441] Building CXX object unittests/Sema/CMakeFiles/SemaTests.dir/GslOwnerPointerInference.cpp.o [400/441] Building CXX object unittests/CodeGen/CMakeFiles/ClangCodeGenTests.dir/BufferSourceTest.cpp.o [401/441] Building CXX object unittests/libclang/CrashTests/CMakeFiles/libclangCrashTests.dir/LibclangCrashTest.cpp.o [402/441] Building CXX object unittests/CodeGen/CMakeFiles/ClangCodeGenTests.dir/CodeGenExternalTest.cpp.o [403/441] Building CXX object unittests/CodeGen/CMakeFiles/ClangCodeGenTests.dir/TBAAMetadataTest.cpp.o [404/441] Building CXX object unittests/Sema/CMakeFiles/SemaTests.dir/SemaNoloadLookupTest.cpp.o [405/441] Building CXX object unittests/libclang/CMakeFiles/libclangTests.dir/LibclangTest.cpp.o [406/441] Building CXX object unittests/DirectoryWatcher/CMakeFiles/DirectoryWatcherTests.dir/DirectoryWatcherTest.cpp.o [407/441] Building CXX object unittests/Interpreter/CMakeFiles/ClangReplInterpreterTests.dir/IncrementalProcessingTest.cpp.o [408/441] Linking CXX executable unittests/AST/ASTTests [409/441] Building CXX object unittests/Serialization/CMakeFiles/SerializationTests.dir/InMemoryModuleCacheTest.cpp.o [410/441] Building CXX object unittests/Interpreter/ExceptionTests/CMakeFiles/ClangReplInterpreterExceptionTests.dir/InterpreterExceptionTest.cpp.o [411/441] Linking CXX executable unittests/CrossTU/CrossTUTests [412/441] Building CXX object unittests/Interpreter/CMakeFiles/ClangReplInterpreterTests.dir/InterpreterTest.cpp.o [413/441] Building CXX object unittests/Serialization/CMakeFiles/SerializationTests.dir/SourceLocationEncodingTest.cpp.o /builddir/build/BUILD/clang-17.0.6.src/unittests/Serialization/SourceLocationEncodingTest.cpp: In function 'void {anonymous}::roundTrip(clang::SourceLocation::UIntTy, std::optional)': /builddir/build/BUILD/clang-17.0.6.src/unittests/Serialization/SourceLocationEncodingTest.cpp:28:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 28 | if (ExpectedEncoded) | ^ /builddir/build/BUILD/clang-17.0.6.src/unittests/Serialization/SourceLocationEncodingTest.cpp: In function 'void {anonymous}::roundTrip(std::vector, std::vector)': /builddir/build/BUILD/clang-17.0.6.src/unittests/Serialization/SourceLocationEncodingTest.cpp:44:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 44 | if (!ExpectedEncoded.empty()) | ^ /builddir/build/BUILD/clang-17.0.6.src/unittests/Serialization/SourceLocationEncodingTest.cpp: In member function 'virtual void {anonymous}::SourceLocationEncoding_Individual_Test::TestBody()': /builddir/build/BUILD/clang-17.0.6.src/unittests/Serialization/SourceLocationEncodingTest.cpp:73:28: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 73 | roundTrip(MacroBit | Big + 1); | ~~~~^~~ [414/441] Building CXX object unittests/Index/CMakeFiles/IndexTests.dir/IndexTests.cpp.o [415/441] Building CXX object unittests/Serialization/CMakeFiles/SerializationTests.dir/ModuleCacheTest.cpp.o [416/441] Building CXX object unittests/Rename/CMakeFiles/ClangRenameTests.dir/RenameEnumTest.cpp.o [417/441] Building CXX object unittests/Rename/CMakeFiles/ClangRenameTests.dir/RenameClassTest.cpp.o [418/441] Building CXX object unittests/Rename/CMakeFiles/ClangRenameTests.dir/RenameFunctionTest.cpp.o [419/441] Building CXX object unittests/Rename/CMakeFiles/ClangRenameTests.dir/RenameMemberTest.cpp.o [420/441] Building CXX object unittests/Serialization/CMakeFiles/SerializationTests.dir/NoCommentsTest.cpp.o [421/441] Building CXX object unittests/Rename/CMakeFiles/ClangRenameTests.dir/RenameAliasTest.cpp.o [422/441] Building CXX object unittests/Support/CMakeFiles/ClangSupportTests.dir/TimeProfilerTest.cpp.o [423/441] Building CXX object unittests/Serialization/CMakeFiles/SerializationTests.dir/VarDeclConstantInitTest.cpp.o [424/441] Linking CXX executable unittests/Tooling/ToolingTests [425/441] Linking CXX executable unittests/Tooling/Syntax/SyntaxTests [426/441] Linking CXX executable unittests/Introspection/IntrospectionTests [427/441] Linking CXX executable unittests/Format/FormatTests /builddir/build/BUILD/clang-17.0.6.src/unittests/Format/ConfigParseTest.cpp: In member function 'TestBody': /builddir/build/BUILD/clang-17.0.6.src/unittests/Format/ConfigParseTest.cpp:233:1: note: variable tracking size limit exceeded with '-fvar-tracking-assignments', retrying without 233 | TEST(ConfigParseTest, ParsesConfiguration) { | ^ [428/441] Linking CXX executable unittests/Frontend/FrontendTests [429/441] Linking CXX executable unittests/Rewrite/RewriteTests [430/441] Linking CXX executable unittests/Sema/SemaTests [431/441] Linking CXX executable unittests/CodeGen/ClangCodeGenTests [432/441] Linking CXX executable unittests/Interpreter/ClangReplInterpreterTests /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:0, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:0, inlined from 'InitGlobal.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:0: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:0, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:0, inlined from 'InitGlobalTemp.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:0: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp: In member function 'setDecompositionBindings': /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp:317:63: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 317 | new DecompositionDeclarator::Binding[Bindings.size()]; | ^ /usr/include/c++/12/new:128: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp: In function 'getFunction': /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp:286:69: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 286 | I.Fun.DeclsInPrototype = new NamedDecl *[DeclsInPrototype.size()]; | ^ /usr/include/c++/12/new:128: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | In function 'InitGlobal', inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:30: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobalBool': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:32, inlined from 'emitInitGlobalFloat' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10663:30, inlined from 'emitInitGlobalFloat' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10660:0: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobalFloat': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | [433/441] Linking CXX executable unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:16, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:14, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:0, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:0, inlined from 'InitGlobal.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:0: /usr/include/c++/12/bits/unique_ptr.h:670: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:16, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:14, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:0, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:0, inlined from 'InitGlobalTemp.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:0: /usr/include/c++/12/bits/unique_ptr.h:670: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp: In function 'getFunction.isra': /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp:286: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 286 | I.Fun.DeclsInPrototype = new NamedDecl *[DeclsInPrototype.size()]; | /usr/include/c++/12/new:128:26: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APInt.h:168:3, inlined from '__dt_base ' at /usr/include/llvm/ADT/APSInt.h:23:0, inlined from 'checkOMPArraySectionConstantForReduction' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19108:0, inlined from 'actOnOMPReductionKindClause.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19485:0: /usr/include/llvm/ADT/APInt.h:170:18: warning: 'operator delete []' called on a pointer to an unallocated object '1B' [-Wfree-nonheap-object] 170 | delete[] U.pVal; | ^ In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APInt.h:168:3, inlined from '__dt_base ' at /usr/include/llvm/ADT/APSInt.h:23:0, inlined from 'checkOMPArraySectionConstantForReduction' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19127:0, inlined from 'actOnOMPReductionKindClause.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19485:0: /usr/include/llvm/ADT/APInt.h:170:18: warning: 'operator delete []' called on a pointer to an unallocated object '1B' [-Wfree-nonheap-object] 170 | delete[] U.pVal; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:0, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:0, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:0, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:0, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:0, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:0, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:0, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:0, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:0, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:0, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:0, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:0, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:0, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:0, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:0, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:0, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:0, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:0, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:0, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:0, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:0, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:0, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:0, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:0, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:0, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:0, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:0, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:0, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:0, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:0, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ [434/441] Linking CXX executable unittests/libclang/libclangTests [435/441] Linking CXX executable unittests/libclang/CrashTests/libclangCrashTests [436/441] Linking CXX executable unittests/DirectoryWatcher/DirectoryWatcherTests [437/441] Linking CXX executable unittests/Rename/ClangRenameTests [438/441] Linking CXX executable unittests/Index/IndexTests [439/441] Linking CXX executable unittests/Serialization/SerializationTests [440/441] Linking CXX executable unittests/Support/ClangSupportTests [440/441] Running all regression tests lit: /usr/lib/python3.11/site-packages/lit/llvm/config.py:459: note: using clang: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang lit: /usr/lib/python3.11/site-packages/lit/llvm/config.py:459: note: using clang: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang lit: /usr/lib/python3.11/site-packages/lit/llvm/config.py:459: note: using clang: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -- Testing: 18966 tests, 8 workers -- Testing: 0 FAIL: Clang :: Analysis/CheckThatArraySubsciptNodeIsNotCollected.cpp (393 of 18966) ******************** TEST 'Clang :: Analysis/CheckThatArraySubsciptNodeIsNotCollected.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CheckThatArraySubsciptNodeIsNotCollected.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CheckThatArraySubsciptNodeIsNotCollected.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CheckThatArraySubsciptNodeIsNotCollected.cpp:25:19: Error evaluating branch #0 0x0000ffff8fe0acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8fe09100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8fe0b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff98d85800 (linux-vdso.so.1+0x800) #4 0x0000ffff980829e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff980829e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff980829e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff980829e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff980829e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff980829e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff980829e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff980829e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff97d30048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff97d30048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff97d30048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff97d30048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff97d30f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff97d30f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff97d30f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff97d30f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff97d43b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff97d43b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff97d43b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff97d45060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff97d45060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff97d45060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff97d44530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff97d44530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff97d44530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff97d50b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff97d50b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff97d50b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff97d5a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff97d5a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff97d5a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff97cbeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff97cbeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff97cbeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff97cbeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff981ac8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff981ac8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff981ac8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff97cd4c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff97cd4c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff97cd4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff97cd4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff97cd4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff97cd4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff97cd4c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff97cd4c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff97cd4c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff97cd4c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff97cd5200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff97cecb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff97cecb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff97cecb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff97cecb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff97cecb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff97fb6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff97fb6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff97fb6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff97fb6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff97fb6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff97fb7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff97fb7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff97fb7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff97fbc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff97fbc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff97fbc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff97fbc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff97fbc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff96412058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff96412058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff96412058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff96412058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff97ad7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff97a8f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff97a8f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff97a8f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff97b1551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaacc1559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaacc1594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaacc15aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaacc151fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8f06098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff8f060a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaacc1520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/CheckThatArraySubsciptNodeIsNotCollected.cpp.script: line 1: 2534792 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CheckThatArraySubsciptNodeIsNotCollected.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/CFRetainRelease_NSAssertionHandler.m (394 of 18966) ******************** TEST 'Clang :: Analysis/CFRetainRelease_NSAssertionHandler.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFRetainRelease_NSAssertionHandler.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFRetainRelease_NSAssertionHandler.m 1. parser at end of file 2. While analyzing stack: #0 Calling pointerFunction 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFRetainRelease_NSAssertionHandler.m:70:15: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFRetainRelease_NSAssertionHandler.m:70:15: Error evaluating statement #0 0x0000ffffae17acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffae179100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffae17b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb70ff800 (linux-vdso.so.1+0x800) #4 0x0000ffffb63f29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb63f29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb63f29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb63f29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb63f29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb63f29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb63f29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb63f29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb60a0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb60a0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb60a0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb60a0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb60a0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb60a0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb60a0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb60a0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb60b3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb60b3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb60b3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb60b5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb60b5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb60b5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb60b4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb60b4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb60b4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb60c0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb60c0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb60c0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb60ca414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb60ca414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb60ca414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb602eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb602eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb602eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb602eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb651c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb651c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb651c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb6041ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb6041ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb6041ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffb605c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffb605c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffb605c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffb605c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffb605c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffb605c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffffb605c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffffb605c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffffb605cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb605cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb605cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb605cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb605cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb6326bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb6326bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb6326bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb6326bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb6326bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb6327b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb6327b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb6327b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb632c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb632c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb632c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb632c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb632c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb4782058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb4782058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb4782058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb4782058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb5e47450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb5dff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb5dff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb5dff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb5e8551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaabdb859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaabdb894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaabdb8aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaabdb81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffad3d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffad3d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaabdb820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/CFRetainRelease_NSAssertionHandler.m.script: line 1: 2534786 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFRetainRelease_NSAssertionHandler.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m (395 of 18966) ******************** TEST 'Clang :: Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fobjc-arc -triple x86_64-darwin -analyzer-checker=core,osx.cocoa.RunLoopAutoreleaseLeak -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DEXTRA=1 -DAP1=1 -fobjc-arc -triple x86_64-darwin -analyzer-checker=core,osx.cocoa.RunLoopAutoreleaseLeak -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DEXTRA=1 -DAP2=1 -fobjc-arc -triple x86_64-darwin -analyzer-checker=core,osx.cocoa.RunLoopAutoreleaseLeak -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DEXTRA=1 -DAP3=1 -fobjc-arc -triple x86_64-darwin -analyzer-checker=core,osx.cocoa.RunLoopAutoreleaseLeak -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DEXTRA=1 -DAP4=1 -fobjc-arc -triple x86_64-darwin -analyzer-checker=core,osx.cocoa.RunLoopAutoreleaseLeak -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m : 'RUN: at line 11'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DEXTRA=1 -DAP5=1 -fobjc-arc -triple x86_64-darwin -analyzer-checker=core,osx.cocoa.RunLoopAutoreleaseLeak -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fobjc-arc -triple x86_64-darwin -analyzer-checker=core,osx.cocoa.RunLoopAutoreleaseLeak -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m 1. parser at end of file 2. While analyzing stack: #0 Calling runloop_init_after 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m:75:5: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m:75:5: Error evaluating statement #0 0x0000ffffa5e6acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa5e69100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa5e6b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaede3800 (linux-vdso.so.1+0x800) #4 0x0000ffffae0e29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffae0e29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffae0e29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffae0e29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffae0e29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffae0e29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffae0e29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffae0e29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffadd90048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffadd90048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffadd90048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffadd90048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffadd90f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffadd90f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffadd90f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffadd90f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffadda3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffadda3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffadda3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffadda5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffadda5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffadda5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffadda4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffadda4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffadda4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffaddb0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffaddb0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffaddb0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffaddba414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffaddba414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffaddba414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffadd1eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffadd1eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffadd1eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffadd1eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffae20c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffae20c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffae20c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffadd80afc std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffffadd80afc std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffffadd80afc std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffffadd80afc std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffffadd80afc std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffffadd80afc clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #48 0x0000ffffadd4ae08 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #49 0x0000ffffadd4ae08 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #50 0x0000ffffadd4c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffffadd4c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffffadd4c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffffadd4cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffadd4cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffadd4cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffadd4cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffadd4cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffae016bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffae016bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffae016bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffae016bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffae016bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffae017b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffae017b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffae017b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffae01c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffae01c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffae01c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffae01c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffae01c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffac472058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffac472058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffac472058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffac472058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffadb37450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffadaef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffadaef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffadaef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffadb7551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaaac859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaaac894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaaac8aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaaac81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa50c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa50c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaaac820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Checkers/Output/RunLoopAutoreleaseLeakChecker.m.script: line 6: 2534797 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fobjc-arc -triple x86_64-darwin -analyzer-checker=core,osx.cocoa.RunLoopAutoreleaseLeak -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/CFNumber.c (396 of 18966) ******************** TEST 'Clang :: Analysis/CFNumber.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.coreFoundation.CFNumber,osx.cocoa.RetainCount -verify -triple x86_64-apple-darwin9 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFNumber.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.coreFoundation.CFNumber,osx.cocoa.RetainCount -verify -triple x86_64-apple-darwin9 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFNumber.c 1. parser at end of file 2. While analyzing stack: #0 Calling f3 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFNumber.c:34:3: Error evaluating statement #0 0x0000ffffb51dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb51d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb51db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbe156800 (linux-vdso.so.1+0x800) #4 0x0000ffffbd2d9d48 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffbd2d9d48 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffbd2d9d48 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffbd2d9d48 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffbd2d9d48 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffbd2d9d48 clang::ento::ProgramStatePartialTrait>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffbd2d9d48 get<(anonymous namespace)::RefBindings> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffbd2d9d48 clang::ento::retaincountchecker::RetainCountChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp:1417:47 #12 0x0000ffffbd08cbd4 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffffbd0a73b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffffbd0a73b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffffbd0a73b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffffbd0a73b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffffbd0a73b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffffbd0a73b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffffbd0a73b8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffffbd0bc264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffffbd0bc264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffffbd0bc264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffffbd0bc264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffffbd0bc264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffffbd0bc264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffffbd0bc264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffffbd0bc264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffffbd0bc264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffffbd0bc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #30 0x0000ffffbd0bc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #31 0x0000ffffbd0bcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffffbd0bcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffffbd0bcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffffbd0bcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffffbd0bcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffffbd386bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffbd386bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffbd386bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffffbd386bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffffbd386bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffffbd387b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffffbd387b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffffbd387b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffffbd38c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffffbd38c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffffbd38c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffffbd38c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffffbd38c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffffbb7e2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffffbb7e2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffffbb7e2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffffbb7e2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffffbcea7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffffbce5f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffffbce5f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffffbce5f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffffbcee551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaad65859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaad65894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaad658aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaad6581fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffffb443098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffffb4430a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaad65820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/CFNumber.c.script: line 1: 2534779 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.coreFoundation.CFNumber,osx.cocoa.RetainCount -verify -triple x86_64-apple-darwin9 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFNumber.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/CFContainers.mm (397 of 18966) ******************** TEST 'Clang :: Analysis/CFContainers.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin -analyzer-output=text -analyzer-checker=osx.coreFoundation.containers.PointerSizedValues -analyzer-checker=osx.coreFoundation.containers.OutOfBounds -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFContainers.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin -analyzer-output=text -analyzer-checker=osx.coreFoundation.containers.PointerSizedValues -analyzer-checker=osx.coreFoundation.containers.OutOfBounds -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFContainers.mm 1. parser at end of file 2. While analyzing stack: #0 Calling TestCFMutableArrayRefEscapeViaImmutableArgument(CFMutableArrayRef) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFContainers.mm:241:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFContainers.mm:241:3: Error evaluating statement #0 0x0000ffff8082acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff80829100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8082b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff897a4800 (linux-vdso.so.1+0x800) #4 0x0000ffff88a86990 llvm::ImutKeyValueInfo::isEqual(clang::ento::SymExpr const* const&, clang::ento::SymExpr const* const&) /usr/include/llvm/ADT/ImmutableMap.h:45:0 #5 0x0000ffff88a86990 llvm::ImutAVLFactory>::remove_internal(clang::ento::SymExpr const* const&, llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:558:0 #6 0x0000ffff88a86990 llvm::ImutAVLFactory>::remove(llvm::ImutAVLTree>*, clang::ento::SymExpr const* const&) /usr/include/llvm/ADT/ImmutableSet.h:403:0 #7 0x0000ffff88a86990 llvm::ImmutableMap>::Factory::remove(llvm::ImmutableMap>, clang::ento::SymExpr const* const&) /usr/include/llvm/ADT/ImmutableMap.h:105:0 #8 0x0000ffff88a86990 clang::ento::ProgramStatePartialTrait>, void>::Remove(llvm::ImmutableMap>, clang::ento::SymExpr const*, llvm::ImmutableMap>::Factory&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:175:0 #9 0x0000ffff88a86990 remove<(anonymous namespace)::ArraySizeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:669:0 #10 0x0000ffff88a86990 remove<(anonymous namespace)::ArraySizeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:854:0 #11 0x0000ffff88a86990 (anonymous namespace)::ObjCContainersChecker::checkPointerEscape(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const&, clang::ento::CallEvent const*, clang::ento::PointerEscapeKind) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ObjCContainersChecker.cpp:167:0 #12 0x0000ffff888dccf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffff888dccf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffff888dccf0 llvm::IntrusiveRefCntPtr clang::ento::check::PointerEscape::_checkPointerEscape<(anonymous namespace)::ObjCContainersChecker>(void*, llvm::IntrusiveRefCntPtr, llvm::DenseSet> const&, clang::ento::CallEvent const*, clang::ento::PointerEscapeKind, clang::ento::RegionAndSymbolInvalidationTraits*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:386:0 #15 0x0000ffff886ab604 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff886ab604 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff886ab604 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, llvm::DenseSet> const&, clang::ento::CallEvent const*, clang::ento::PointerEscapeKind, clang::ento::RegionAndSymbolInvalidationTraits*)>::operator()(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const&, clang::ento::CallEvent const*, clang::ento::PointerEscapeKind, clang::ento::RegionAndSymbolInvalidationTraits*) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff886ab604 clang::ento::CheckerManager::runCheckersForPointerEscape(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const&, clang::ento::CallEvent const*, clang::ento::PointerEscapeKind, clang::ento::RegionAndSymbolInvalidationTraits*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:630:0 #19 0x0000ffff886f2d4c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #20 0x0000ffff886f2d4c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #21 0x0000ffff886f2d4c clang::ento::ExprEngine::notifyCheckersOfPointerEscape(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, clang::ento::CallEvent const*, clang::ento::RegionAndSymbolInvalidationTraits&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3553:79 #22 0x0000ffff8873c804 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #23 0x0000ffff8873c804 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #24 0x0000ffff8873c804 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff8873c804 clang::ento::ProgramState::invalidateRegionsImpl(llvm::ArrayRef, clang::Expr const*, unsigned int, clang::LocationContext const*, bool, llvm::DenseSet>*, clang::ento::RegionAndSymbolInvalidationTraits*, clang::ento::CallEvent const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:208:0 #26 0x0000ffff886bfbf4 std::_Rb_tree, std::less, std::allocator>::~_Rb_tree() /usr/include/c++/12/bits/stl_tree.h:986:0 #27 0x0000ffff886bfbf4 std::set, std::allocator>::~set() /usr/include/c++/12/bits/stl_set.h:281:0 #28 0x0000ffff886bfbf4 llvm::SmallSet>::~SmallSet() /usr/include/llvm/ADT/SmallSet.h:135:0 #29 0x0000ffff886bfbf4 clang::ento::CallEvent::invalidateRegions(unsigned int, llvm::IntrusiveRefCntPtr) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:286:0 #30 0x0000ffff8873fcb0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #31 0x0000ffff8873fcb0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #32 0x0000ffff8873fcb0 clang::ento::ExprEngine::conservativeEvalCall(clang::ento::CallEvent const&, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:833:0 #33 0x0000ffff887406c4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x0000ffff887406c4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x0000ffff887406c4 clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1266:0 #36 0x0000ffff886c9458 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #37 0x0000ffff88728bec llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #38 0x0000ffff88728bec llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #39 0x0000ffff88728bec clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #40 0x0000ffff88728bec clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #41 0x0000ffff88729514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #42 0x0000ffff8870b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #43 0x0000ffff8870b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #44 0x0000ffff8870c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #45 0x0000ffff8870c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #46 0x0000ffff8870c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #47 0x0000ffff8870cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #48 0x0000ffff8870cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #49 0x0000ffff8870cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #50 0x0000ffff8870cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #51 0x0000ffff8870cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #52 0x0000ffff889d6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #53 0x0000ffff889d6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #54 0x0000ffff889d6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #55 0x0000ffff889d6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #56 0x0000ffff889d6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #57 0x0000ffff889d7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #58 0x0000ffff889d7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #59 0x0000ffff889d7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #60 0x0000ffff889dc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #61 0x0000ffff889dc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #62 0x0000ffff889dc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #63 0x0000ffff889dc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #64 0x0000ffff889dc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #65 0x0000ffff86e32058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #66 0x0000ffff86e32058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #67 0x0000ffff86e32058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #68 0x0000ffff86e32058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #69 0x0000ffff884f7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #70 0x0000ffff884af104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #71 0x0000ffff884af104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #72 0x0000ffff884af104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #73 0x0000ffff8853551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #74 0x0000aaaac0df59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #75 0x0000aaaac0df94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #76 0x0000aaaac0dfaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #77 0x0000aaaac0df1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #78 0x0000ffff7fa8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #79 0x0000ffff7fa80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #80 0x0000aaaac0df20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/CFContainers.mm.script: line 1: 2534780 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin -analyzer-output=text -analyzer-checker=osx.coreFoundation.containers.PointerSizedValues -analyzer-checker=osx.coreFoundation.containers.OutOfBounds -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFContainers.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/DeallocMissingRelease.m (398 of 18966) ******************** TEST 'Clang :: Analysis/DeallocMissingRelease.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.Dealloc -fblocks -triple x86_64-apple-ios4.0 -DMACOS=0 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DeallocMissingRelease.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.Dealloc -fblocks -triple x86_64-apple-macosx10.6.0 -DMACOS=1 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DeallocMissingRelease.m : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.Dealloc -fblocks -triple x86_64-apple-darwin10 -fobjc-arc -fobjc-runtime-has-weak -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DeallocMissingRelease.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.Dealloc -fblocks -triple x86_64-apple-ios4.0 -DMACOS=0 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DeallocMissingRelease.m 1. parser at end of file #0 0x0000ffffabf8acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffabf89100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffabf8b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb4f08800 (linux-vdso.so.1+0x800) #4 0x0000ffffb42029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb42029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb42029e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb42029e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb42029e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb42029e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb42029e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb42029e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb3eb0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb3eb0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb3eb0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb3eb0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb3eb0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb3eb0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb3eb0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb3eb0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb3ec3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb3ec3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb3ec3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb3ec5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb3ec5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb3ec5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb3ec4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb3ec4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb3ec4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb3ed0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb3ed0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb3ed0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb3eda414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb3eda414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb3eda414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb3e3eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb3e3eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb3e3eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb3e3eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb3e3efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb3e3efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb3e3efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb3e12620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffb3e12620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffb3e12620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffb3e4ef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffb3e4ef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffb3e4ef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffb3e6ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffb3e6ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffb3e6ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffb4136bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffb4136bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffb4136bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffb4136bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffb4136bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffb4137b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffb4137b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffb4137b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffb413c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb413c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb413c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffb413c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffb413c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffb2592058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffb2592058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffb2592058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffb2592058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffb3c57450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffb3c0f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffb3c0f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffb3c0f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffb3c9551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaac71759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaac71794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaac717aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaac7171fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffab1e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffab1e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaac71720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/DeallocMissingRelease.m.script: line 3: 2534822 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.Dealloc -fblocks -triple x86_64-apple-ios4.0 -DMACOS=0 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DeallocMissingRelease.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/CheckNSError.m (399 of 18966) ******************** TEST 'Clang :: Analysis/CheckNSError.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CheckNSError.m -analyzer-checker=core -analyzer-checker=nullability -analyzer-checker=osx.cocoa.NSError -analyzer-checker=osx.coreFoundation.CFError -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CheckNSError.m -analyzer-checker=core -analyzer-checker=nullability -analyzer-checker=osx.cocoa.NSError -analyzer-checker=osx.coreFoundation.CFError 1. parser at end of file #0 0x0000ffffacb7acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffacb79100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffacb7b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb5af0800 (linux-vdso.so.1+0x800) #4 0x0000ffffb4df29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb4df29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb4df29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb4df29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb4df29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb4df29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb4df29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb4df29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb4aa0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb4aa0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb4aa0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb4aa0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb4aa0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb4aa0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb4aa0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb4aa0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb4ab3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb4ab3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb4ab3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb4ab5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb4ab5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb4ab5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb4ab4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb4ab4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb4ab4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb4ac0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb4ac0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb4ac0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb4aca414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb4aca414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb4aca414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb4a2eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb4a2eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb4a2eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb4a2eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb4a2efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb4a2efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb4a2efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb4c10a00 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffb4c10a00 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffb4c10a00 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffb4c10a00 checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/NonNullParamChecker.cpp:269:0 #46 0x0000ffffb4c10a00 void clang::ento::check::BeginFunction::_checkBeginFunction<(anonymous namespace)::NonNullParamChecker>(void*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:244:0 #47 0x0000ffffb4a17808 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #48 0x0000ffffb4a17808 clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:441:0 #49 0x0000ffffb4a5cdf4 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #50 0x0000ffffb4a5cdf4 clang::ento::ExprEngine::processBeginOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::BlockEdge const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2884:1 #51 0x0000ffffb4a5cdf4 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:124:0 #52 0x0000ffffb4d26bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #53 0x0000ffffb4d26bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #54 0x0000ffffb4d26bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #55 0x0000ffffb4d26bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #56 0x0000ffffb4d26bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #57 0x0000ffffb4d27b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #58 0x0000ffffb4d27b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #59 0x0000ffffb4d27b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #60 0x0000ffffb4d2c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #61 0x0000ffffb4d2c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #62 0x0000ffffb4d2c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #63 0x0000ffffb4d2c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #64 0x0000ffffb4d2c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #65 0x0000ffffb3182058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #66 0x0000ffffb3182058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #67 0x0000ffffb3182058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #68 0x0000ffffb3182058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #69 0x0000ffffb4847450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #70 0x0000ffffb47ff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #71 0x0000ffffb47ff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #72 0x0000ffffb47ff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #73 0x0000ffffb488551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #74 0x0000aaaaae4359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #75 0x0000aaaaae4394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #76 0x0000aaaaae43aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #77 0x0000aaaaae431fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #78 0x0000ffffabdd098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #79 0x0000ffffabdd0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #80 0x0000aaaaae4320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/CheckNSError.m.script: line 1: 2534790 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CheckNSError.m -analyzer-checker=core -analyzer-checker=nullability -analyzer-checker=osx.cocoa.NSError -analyzer-checker=osx.coreFoundation.CFError -- ******************** Testing: 0 FAIL: Clang :: Analysis/CGColorSpace.c (400 of 18966) ******************** TEST 'Clang :: Analysis/CGColorSpace.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CGColorSpace.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CGColorSpace.c 1. parser at end of file 2. While analyzing stack: #0 Calling fb 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CGColorSpace.c:14:3: Error evaluating statement #0 0x0000ffff96b9acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff96b99100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff96b9b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9fb19800 (linux-vdso.so.1+0x800) #4 0x0000ffff9ec99d48 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff9ec99d48 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9ec99d48 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9ec99d48 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9ec99d48 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9ec99d48 clang::ento::ProgramStatePartialTrait>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9ec99d48 get<(anonymous namespace)::RefBindings> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9ec99d48 clang::ento::retaincountchecker::RetainCountChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp:1417:47 #12 0x0000ffff9ea4cbd4 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffff9ea673b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffff9ea673b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffff9ea673b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffff9ea673b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffff9ea673b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffff9ea673b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffff9ea673b8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffff9ea7c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffff9ea7c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffff9ea7c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffff9ea7c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffff9ea7c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffff9ea7c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffff9ea7c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffff9ea7c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffff9ea7c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffff9ea7c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #30 0x0000ffff9ea7c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #31 0x0000ffff9ea7cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffff9ea7cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffff9ea7cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffff9ea7cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffff9ea7cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffff9ed46bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff9ed46bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff9ed46bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffff9ed46bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffff9ed46bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffff9ed47b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffff9ed47b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffff9ed47b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffff9ed4c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffff9ed4c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffff9ed4c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffff9ed4c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffff9ed4c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffff9d1a2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffff9d1a2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffff9d1a2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffff9d1a2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffff9e867450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffff9e81f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffff9e81f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffff9e81f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffff9e8a551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaaab5759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaaab5794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaaab57aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaaab571fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffff95df098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffff95df0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaaab5720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/CGColorSpace.c.script: line 1: 2534788 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CGColorSpace.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/DeallocUseAfterFreeErrors.m (401 of 18966) ******************** TEST 'Clang :: Analysis/DeallocUseAfterFreeErrors.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.SuperDealloc,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DeallocUseAfterFreeErrors.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.SuperDealloc,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DeallocUseAfterFreeErrors.m 1. parser at end of file #0 0x0000ffff98d6acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff98d69100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff98d6b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa1ce1800 (linux-vdso.so.1+0x800) #4 0x0000ffffa0fe29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa0fe29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa0fe29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa0fe29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa0fe29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa0fe29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa0fe29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa0fe29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa0c90048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa0c90048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa0c90048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa0c90048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa0c90f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa0c90f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa0c90f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa0c90f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa0ca3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa0ca3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa0ca3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa0ca5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa0ca5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa0ca5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa0ca4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa0ca4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa0ca4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa0cb0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa0cb0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa0cb0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa0cba414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa0cba414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa0cba414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa0c1eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa0c1eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa0c1eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa0c1eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa0c1efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa0c1efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa0c1efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa0bf2620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa0bf2620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa0bf2620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa0c2ef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa0c2ef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa0c2ef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffa0c4ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa0c4ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa0c4ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa0f16bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa0f16bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa0f16bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa0f16bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa0f16bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa0f17b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffa0f17b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa0f17b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa0f1c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa0f1c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa0f1c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa0f1c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa0f1c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff9f372058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff9f372058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff9f372058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff9f372058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa0a37450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa09ef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa09ef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa09ef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa0a7551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaacbe759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaacbe794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaacbe7aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaacbe71fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff97fc098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff97fc0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaacbe720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/DeallocUseAfterFreeErrors.m.script: line 1: 2534853 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.SuperDealloc,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DeallocUseAfterFreeErrors.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/DynamicTypePropagation.m (402 of 18966) ******************** TEST 'Clang :: Analysis/DynamicTypePropagation.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.ObjCGenerics -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DynamicTypePropagation.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.ObjCGenerics -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DynamicTypePropagation.m 1. parser at end of file 2. While analyzing stack: #0 Calling testArgument 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DynamicTypePropagation.m:56:3: Error evaluating statement #0 0x0000ffff95e7acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff95e79100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff95e7b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9edfa800 (linux-vdso.so.1+0x800) #4 0x0000ffff9dd38214 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff9dd38214 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9dd38214 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9dd38214 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9dd38214 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9dd38214 clang::ento::ProgramStatePartialTrait>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9dd38214 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9dd38214 llvm::IntrusiveRefCntPtr clang::ento::removeDeadImpl<(anonymous namespace)::DynamicTypeMap>(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:166:15 #12 0x0000ffff9e0e1c58 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffff9e0e1c58 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffff9e0e1c58 clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x0000ffff9e0e1c58 (anonymous namespace)::DynamicTypePropagation::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp:232:0 #16 0x0000ffff9dd2cbd4 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #17 0x0000ffff9dd473b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x0000ffff9dd473b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x0000ffff9dd473b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x0000ffff9dd473b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x0000ffff9dd473b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x0000ffff9dd473b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x0000ffff9dd473b8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #24 0x0000ffff9dd5c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #25 0x0000ffff9dd5c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #26 0x0000ffff9dd5c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #27 0x0000ffff9dd5c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #28 0x0000ffff9dd5c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #29 0x0000ffff9dd5c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #30 0x0000ffff9dd5c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #31 0x0000ffff9dd5c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #32 0x0000ffff9dd5c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #33 0x0000ffff9dd5c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #34 0x0000ffff9dd5c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #35 0x0000ffff9dd5cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff9dd5cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff9dd5cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffff9dd5cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffff9dd5cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffff9e026bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffff9e026bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffff9e026bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffff9e026bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffff9e026bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffff9e027b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffff9e027b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffff9e027b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffff9e02c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffff9e02c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffff9e02c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffff9e02c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffff9e02c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffff9c482058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffff9c482058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffff9c482058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffff9c482058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffff9db47450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffff9daff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffff9daff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffff9daff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffff9db8551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaaae5759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaaae5794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaaae57aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaaae571fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff950d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff950d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaaae5720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/DynamicTypePropagation.m.script: line 1: 2534880 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.ObjCGenerics -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DynamicTypePropagation.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/Issue56873.cpp (403 of 18966) ******************** TEST 'Clang :: Analysis/Issue56873.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Issue56873.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Issue56873.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling Issue56873_2() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Issue56873.cpp:21:16: Error evaluating New Allocator Call #0 0x0000ffff8c2aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8c2a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8c2ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff95225800 (linux-vdso.so.1+0x800) #4 0x0000ffff945229e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff945229e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff945229e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff945229e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff945229e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff945229e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff945229e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff945229e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff941d0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff941d0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff941d0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff941d0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff941d0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff941d0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff941d0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff941d0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff941e3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff941e3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff941e3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff941e5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff941e5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff941e5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff941e4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff941e4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff941e4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff941f0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff941f0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff941f0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff941fa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff941fa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff941fa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9415eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9415eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9415eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9415eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9415efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9415efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9415efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff94188f68 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff94188f68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff94188f68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff94188f68 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff94188f68 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff9418937c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff9418937c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff9418937c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff9418937c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff9418937c clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffff9418c5fc clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffff9418c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #54 0x0000ffff9418cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffff9418cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffff9418cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffff9418cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffff9418cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #59 0x0000ffff94456bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffff94456bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffff94456bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffff94456bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffff94456bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffff94457b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #65 0x0000ffff94457b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffff94457b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffff9445c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffff9445c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffff9445c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffff9445c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffff9445c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffff928b2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #73 0x0000ffff928b2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffff928b2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #75 0x0000ffff928b2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffff93f77450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffff93f2f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffff93f2f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffff93f2f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffff93fb551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaad22159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaad22194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaad221aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaad2211fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffff8b50098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffff8b500a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaad22120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/Issue56873.cpp.script: line 1: 2534877 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Issue56873.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/DeleteWithNonVirtualDtor.cpp (404 of 18966) ******************** TEST 'Clang :: Analysis/DeleteWithNonVirtualDtor.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=alpha.cplusplus.DeleteWithNonVirtualDtor -std=c++11 -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DeleteWithNonVirtualDtor.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=alpha.cplusplus.DeleteWithNonVirtualDtor -std=c++11 -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DeleteWithNonVirtualDtor.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling privateDtor() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DeleteWithNonVirtualDtor.cpp:185:14: Error evaluating New Allocator Call #0 0x0000ffff9f44acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9f449100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9f44b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa83c2800 (linux-vdso.so.1+0x800) #4 0x0000ffffa76c29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa76c29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa76c29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa76c29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa76c29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa76c29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa76c29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa76c29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa7370048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa7370048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa7370048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa7370048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa7370f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa7370f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa7370f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa7370f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa7383b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa7383b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa7383b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa7385060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa7385060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa7385060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa7384530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa7384530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa7384530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa7390b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa7390b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa7390b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa739a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa739a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa739a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa72feaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa72feaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa72feaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa72feaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa72fefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa72fefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa72fefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa7328f68 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffa7328f68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffa7328f68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffa7328f68 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffa7328f68 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffa732937c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffa732937c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffa732937c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffa732937c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffa732937c clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffffa732c5fc clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffffa732c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #54 0x0000ffffa732c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffffa732cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffffa732cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffffa732cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffffa732cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffffa732cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #60 0x0000ffffa75f6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffffa75f6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffffa75f6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffffa75f6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffffa75f6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffffa75f7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #66 0x0000ffffa75f7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffffa75f7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffffa75fc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffffa75fc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffffa75fc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffffa75fc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffffa75fc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffffa5a52058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #74 0x0000ffffa5a52058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffffa5a52058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #76 0x0000ffffa5a52058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffffa7117450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffffa70cf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffffa70cf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffffa70cf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffffa715551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaadb0659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaadb0694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaadb06aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaadb061fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffff9e6a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffff9e6a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaadb0620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/DeleteWithNonVirtualDtor.cpp.script: line 1: 2534865 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=alpha.cplusplus.DeleteWithNonVirtualDtor -std=c++11 -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DeleteWithNonVirtualDtor.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/MemRegion.cpp (405 of 18966) ******************** TEST 'Clang :: Analysis/MemRegion.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=optin.mpi.MPI-Checker -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MemRegion.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=optin.mpi.MPI-Checker -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MemRegion.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testGetDescriptiveName5()::(anonymous struct)::ReqStruct() at line 44 #1 Calling testGetDescriptiveName5() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MemRegion.cpp:43:11: Error evaluating statement #0 0x0000ffff7ecdacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7ecd9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7ecdb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff87c50800 (linux-vdso.so.1+0x800) #4 0x0000ffff86ba7188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff86ba7188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff86ba7188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff86ba7188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff86ba7188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff86ba7188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff86ba7188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff86ba7188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff86bbc264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff86bbc264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff86bbc264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff86bbc264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff86bbc264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff86bbc264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff86bbc264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff86bbc264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff86bbc264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffff86bbc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #22 0x0000ffff86bbc6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffff86bbc9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffff86bbcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff86bbcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff86bbcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff86bbcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff86bbcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #29 0x0000ffff86e86bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff86e86bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff86e86bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff86e86bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff86e86bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff86e87b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #35 0x0000ffff86e87b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff86e87b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff86e8c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff86e8c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff86e8c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff86e8c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff86e8c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff852e2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #43 0x0000ffff852e2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff852e2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #45 0x0000ffff852e2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff869a7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff8695f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff8695f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff8695f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff869e551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaadf8e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaadf8e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaadf8eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaadf8e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff7df3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff7df30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaadf8e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/MemRegion.cpp.script: line 1: 2534885 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=optin.mpi.MPI-Checker -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MemRegion.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp (406 of 18966) ******************** TEST 'Clang :: Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,unix.MismatchedDeallocator,cplusplus.NewDelete -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,unix.MismatchedDeallocator,cplusplus.NewDelete,cplusplus.NewDeleteLeaks -DLEAKS -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,unix.MismatchedDeallocator,cplusplus.NewDelete -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling allocIntArray(unsigned int) at line 104 #1 Calling testMismatchedChangePointeeThroughAssignment() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp:101:10: Error evaluating New Allocator Call #0 0x0000ffff7b7eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7b7e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7b7eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff84766800 (linux-vdso.so.1+0x800) #4 0x0000ffff83a629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff83a629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff83a629e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff83a629e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff83a629e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff83a629e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff83a629e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff83a629e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff83710048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff83710048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff83710048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff83710048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff83710f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff83710f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff83710f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff83710f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff83723b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff83723b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff83723b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff83725060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff83725060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff83725060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff83724530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff83724530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff83724530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff83730b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff83730b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff83730b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8373a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8373a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8373a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8369eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8369eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8369eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8369eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8369efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8369efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8369efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff836c8f68 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff836c8f68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff836c8f68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff836c8f68 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff836c8f68 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff836c937c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff836c937c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff836c937c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff836c937c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff836c937c clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffff836cc5fc clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffff836cc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #54 0x0000ffff836ccb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffff836ccb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffff836ccb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffff836ccb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffff836ccb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #59 0x0000ffff83996bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffff83996bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffff83996bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffff83996bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffff83996bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffff83997b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #65 0x0000ffff83997b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffff83997b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffff8399c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffff8399c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffff8399c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffff8399c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffff8399c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffff81df2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #73 0x0000ffff81df2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffff81df2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #75 0x0000ffff81df2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffff834b7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffff8346f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffff8346f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffff8346f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffff834f551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaae56e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaae56e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaae56eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaae56e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffff7aa4098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffff7aa40a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaae56e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/Malloc+MismatchedDeallocator+NewDelete.cpp.script: line 2: 2534875 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,unix.MismatchedDeallocator,cplusplus.NewDelete -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/MismatchedDeallocator-checker-test.mm (407 of 18966) ******************** TEST 'Clang :: Analysis/MismatchedDeallocator-checker-test.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.MismatchedDeallocator -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MismatchedDeallocator-checker-test.mm : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.MismatchedDeallocator -fblocks -DTEST_INLINABLE_ALLOCATORS -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MismatchedDeallocator-checker-test.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.MismatchedDeallocator -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MismatchedDeallocator-checker-test.mm 1. parser at end of file 2. While analyzing stack: #0 Calling testSimpleSmartPointerMalloc() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MismatchedDeallocator-checker-test.mm:227:31: Error evaluating New Allocator Call #0 0x0000ffff792bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff792b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff792bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff82234800 (linux-vdso.so.1+0x800) #4 0x0000ffff815329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff815329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff815329e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff815329e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff815329e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff815329e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff815329e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff815329e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff811e0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff811e0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff811e0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff811e0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff811e0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff811e0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff811e0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff811e0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff811f3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff811f3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff811f3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff811f5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff811f5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff811f5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff811f4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff811f4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff811f4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff81200b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff81200b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff81200b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8120a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8120a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8120a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8116eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8116eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8116eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8116eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8116efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8116efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8116efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff81198f68 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff81198f68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff81198f68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff81198f68 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff81198f68 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff8119937c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff8119937c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff8119937c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff8119937c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff8119937c clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffff8119c5fc clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffff8119c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #54 0x0000ffff8119c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffff8119cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffff8119cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffff8119cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffff8119cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffff8119cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #60 0x0000ffff81466bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffff81466bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffff81466bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffff81466bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffff81466bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffff81467b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #66 0x0000ffff81467b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffff81467b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffff8146c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffff8146c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffff8146c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffff8146c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffff8146c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffff7f8c2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #74 0x0000ffff7f8c2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffff7f8c2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #76 0x0000ffff7f8c2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffff80f87450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffff80f3f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffff80f3f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffff80f3f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffff80fc551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaacdd259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaacdd294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaacdd2aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaacdd21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffff7851098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffff78510a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaacdd220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/MismatchedDeallocator-checker-test.mm.script: line 2: 2534893 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.MismatchedDeallocator -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MismatchedDeallocator-checker-test.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/Malloc+MismatchedDeallocator_intersections.cpp (408 of 18966) ******************** TEST 'Clang :: Analysis/Malloc+MismatchedDeallocator_intersections.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,unix.MismatchedDeallocator -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Malloc+MismatchedDeallocator_intersections.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,unix.MismatchedDeallocator -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Malloc+MismatchedDeallocator_intersections.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testUseZeroAllocNoWarn() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Malloc+MismatchedDeallocator_intersections.cpp:31:20: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Malloc+MismatchedDeallocator_intersections.cpp:31:20: Error evaluating statement #0 0x0000ffffabb2acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffabb29100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffabb2b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb4aac800 (linux-vdso.so.1+0x800) #4 0x0000ffffb3d89250 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb3d89250 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb3d89250 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb3d89250 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb3d89250 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb3d89250 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb3d89250 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb3d89250 (anonymous namespace)::MallocChecker::evalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:3069:0 #12 0x0000ffffb3b97760 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffffb3b97760 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffffb3b97760 llvm::IntrusiveRefCntPtr clang::ento::eval::Assume::_evalAssume<(anonymous namespace)::MallocChecker>(void*, llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:463:74 #15 0x0000ffffb39ab758 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffffb39ab758 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffffb39ab758 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffffb39ab758 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffffb3a70be4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffb3a70be4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffb3a70be4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffffb3a70be4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffffb3a7a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffffb3a7a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffb3a7a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #26 0x0000ffffb39dea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb39dea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb39dea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffffb39dea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffffb3ecc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffb3ecc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffb3ecc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #33 0x0000ffffb3ba3840 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffffb3ba3840 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffffb3ba3840 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffffb3ba3840 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffffb3ba3840 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffffb3ba3840 (anonymous namespace)::MallocChecker::ProcessZeroAllocCheck(clang::ento::CallEvent const&, unsigned int, llvm::IntrusiveRefCntPtr, std::optional) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1529:0 #39 0x0000ffffb3bb0378 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffffb3bb0378 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffffb3bb0378 checkCXXNewOrCXXDelete /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1361:0 #42 0x0000ffffb3bb0378 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1484:0 #43 0x0000ffffb3bb0378 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffffb39c89a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffffb39c89a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffb39c89a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffffb39c89a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffffb39c89a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffffb3a28c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffffb3a28c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffffb3a28c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffffb3a28c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffffb3a28c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffffb3a28c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffffb3a29514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffffb3a0b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffffb3a0b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffffb3a0c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffffb3a0c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffffb3a0c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffffb3a0cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffffb3a0cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffffb3a0cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffffb3a0cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffffb3a0cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #66 0x0000ffffb3cd6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffffb3cd6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffffb3cd6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffffb3cd6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffffb3cd6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffffb3cd7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #72 0x0000ffffb3cd7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffffb3cd7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffffb3cdc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffffb3cdc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffffb3cdc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffffb3cdc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffffb3cdc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffffb2132058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #80 0x0000ffffb2132058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffffb2132058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #82 0x0000ffffb2132058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffffb37f7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffffb37af104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffffb37af104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffffb37af104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffffb383551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaab5c059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaab5c094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaab5c0aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaab5c01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffffaad8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffffaad80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaab5c020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/Malloc+MismatchedDeallocator_intersections.cpp.script: line 1: 2534882 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,unix.MismatchedDeallocator -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Malloc+MismatchedDeallocator_intersections.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/NSContainers.m (409 of 18966) ******************** TEST 'Clang :: Analysis/NSContainers.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-objc-literal-conversion -Wno-objc-root-class -fobjc-arc -analyzer-checker=core,osx.cocoa,nullability -analyzer-config eagerly-assume=false -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSContainers.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-objc-literal-conversion -Wno-objc-root-class -fobjc-arc -analyzer-checker=core,osx.cocoa,nullability -analyzer-config eagerly-assume=false -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSContainers.m 1. parser at end of file 2. While analyzing stack: #0 Calling testCreateArrayLiteralWithNullableArg 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSContainers.m:355:3: Error evaluating statement #0 0x0000ffff8397acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff83979100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8397b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8c8fa800 (linux-vdso.so.1+0x800) #4 0x0000ffff8bbe0764 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8bbe0764 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8bbe0764 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8bbe0764 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8bbe0764 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8bbe0764 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8bbe0764 get<(anonymous namespace)::NullabilityMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8bbe0764 (anonymous namespace)::NullabilityChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp:501:0 #12 0x0000ffff8b82cbd4 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffff8b8473b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffff8b8473b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffff8b8473b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffff8b8473b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffff8b8473b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffff8b8473b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffff8b8473b8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffff8b85c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffff8b85c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffff8b85c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffff8b85c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffff8b85c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffff8b85c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffff8b85c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffff8b85c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffff8b85c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffff8b85c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #30 0x0000ffff8b85c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #31 0x0000ffff8b85cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffff8b85cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffff8b85cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffff8b85cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffff8b85cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffff8bb26bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff8bb26bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff8bb26bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffff8bb26bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffff8bb26bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffff8bb27b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffff8bb27b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffff8bb27b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffff8bb2c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffff8bb2c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffff8bb2c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffff8bb2c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffff8bb2c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffff89f82058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffff89f82058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffff89f82058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffff89f82058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffff8b647450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffff8b5ff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffff8b5ff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffff8b5ff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffff8b68551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaabd6a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaabd6a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaabd6aaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaabd6a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffff82bd098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffff82bd0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaabd6a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NSContainers.m.script: line 1: 2534926 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-objc-literal-conversion -Wno-objc-root-class -fobjc-arc -analyzer-checker=core,osx.cocoa,nullability -analyzer-config eagerly-assume=false -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSContainers.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/NSWindow.m (410 of 18966) ******************** TEST 'Clang :: Analysis/NSWindow.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core,deadcode.DeadStores -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSWindow.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core,deadcode.DeadStores -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSWindow.m 1. parser at end of file 2. While analyzing stack: #0 Calling f3 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSWindow.m:85:3: Error evaluating statement #0 0x0000ffff8d43acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8d439100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8d43b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff963bf800 (linux-vdso.so.1+0x800) #4 0x0000ffff952f8214 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff952f8214 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff952f8214 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff952f8214 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff952f8214 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff952f8214 clang::ento::ProgramStatePartialTrait>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff952f8214 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff952f8214 llvm::IntrusiveRefCntPtr clang::ento::removeDeadImpl<(anonymous namespace)::DynamicTypeMap>(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:166:15 #12 0x0000ffff956a1c58 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffff956a1c58 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffff956a1c58 clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x0000ffff956a1c58 (anonymous namespace)::DynamicTypePropagation::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp:232:0 #16 0x0000ffff952ecbd4 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #17 0x0000ffff953073b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x0000ffff953073b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x0000ffff953073b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x0000ffff953073b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x0000ffff953073b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x0000ffff953073b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x0000ffff953073b8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #24 0x0000ffff9531c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #25 0x0000ffff9531c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #26 0x0000ffff9531c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #27 0x0000ffff9531c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #28 0x0000ffff9531c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #29 0x0000ffff9531c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #30 0x0000ffff9531c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #31 0x0000ffff9531c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #32 0x0000ffff9531c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #33 0x0000ffff9531c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #34 0x0000ffff9531c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #35 0x0000ffff9531cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff9531cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff9531cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffff9531cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffff9531cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffff955e6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffff955e6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffff955e6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffff955e6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffff955e6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffff955e7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffff955e7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffff955e7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffff955ec130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffff955ec130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffff955ec130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffff955ec130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffff955ec130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffff93a42058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffff93a42058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffff93a42058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffff93a42058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffff95107450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffff950bf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffff950bf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffff950bf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffff9514551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaae9fb59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaae9fb94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaae9fbaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaae9fb1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff8c69098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff8c690a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaae9fb20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NSWindow.m.script: line 1: 2534937 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core,deadcode.DeadStores -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSWindow.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/MismatchedDeallocator-path-notes.cpp (411 of 18966) ******************** TEST 'Clang :: Analysis/MismatchedDeallocator-path-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.MismatchedDeallocator -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MismatchedDeallocator-path-notes.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.MismatchedDeallocator -analyzer-output=plist /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MismatchedDeallocator-path-notes.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/MismatchedDeallocator-path-notes.cpp.tmp.plist : 'RUN: at line 3'; tail -n +11 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/MismatchedDeallocator-path-notes.cpp.tmp.plist | grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' | diff -ub /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/Inputs/expected-plists/MismatchedDeallocator-path-notes.cpp.plist - -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.MismatchedDeallocator -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MismatchedDeallocator-path-notes.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling allocIntArray(unsigned int) at line 10 #1 Calling test() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MismatchedDeallocator-path-notes.cpp:7:10: Error evaluating New Allocator Call #0 0x0000ffffa5b4acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa5b49100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa5b4b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaeac5800 (linux-vdso.so.1+0x800) #4 0x0000ffffaddc29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaddc29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaddc29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaddc29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaddc29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaddc29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffaddc29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffaddc29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffada70048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffada70048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffada70048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffada70048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffada70f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffada70f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffada70f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffada70f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffada83b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffada83b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffada83b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffada85060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffada85060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffada85060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffada84530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffada84530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffada84530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffada90b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffada90b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffada90b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffada9a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffada9a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffada9a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffad9feaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffad9feaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffad9feaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffad9feaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffad9fefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffad9fefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffad9fefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffada28f68 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffada28f68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffada28f68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffada28f68 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffada28f68 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffada2937c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffada2937c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffada2937c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffada2937c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffada2937c clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffffada2c5fc clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffffada2c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #54 0x0000ffffada2cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffffada2cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffffada2cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffffada2cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffffada2cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #59 0x0000ffffadcf6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffffadcf6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffffadcf6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffffadcf6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffffadcf6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffffadcf7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #65 0x0000ffffadcf7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffffadcf7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffffadcfc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffffadcfc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffffadcfc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffffadcfc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffffadcfc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffffac152058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #73 0x0000ffffac152058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffffac152058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #75 0x0000ffffac152058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffffad817450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffffad7cf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffffad7cf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffffad7cf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffffad85551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaaabac59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaaabac94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaaabacaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaaabac1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffffa4da098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffffa4da0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaaabac20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/MismatchedDeallocator-path-notes.cpp.script: line 3: 2534921 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.MismatchedDeallocator -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MismatchedDeallocator-path-notes.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/MissingDealloc.m (412 of 18966) ******************** TEST 'Clang :: Analysis/MissingDealloc.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.Dealloc -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MissingDealloc.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.Dealloc -fblocks -verify -triple x86_64-apple-darwin10 -fobjc-arc /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MissingDealloc.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.Dealloc -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MissingDealloc.m 1. parser at end of file #0 0x0000ffff883facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff883f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff883fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9137d800 (linux-vdso.so.1+0x800) #4 0x0000ffff906729e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff906729e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff906729e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff906729e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff906729e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff906729e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff906729e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff906729e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff90320048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff90320048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff90320048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff90320048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff90320f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff90320f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff90320f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff90320f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff90333b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff90333b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff90333b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff90335060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff90335060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff90335060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff90334530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff90334530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff90334530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff90340b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff90340b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff90340b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9034a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9034a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9034a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff902aeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff902aeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff902aeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff902aeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff902aefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff902aefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff902aefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff90282620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff90282620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff90282620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff902bef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff902bef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff902bef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff902dce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff902dce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff902dce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff905a6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff905a6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff905a6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff905a6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff905a6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff905a7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff905a7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff905a7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff905ac130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff905ac130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff905ac130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff905ac130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff905ac130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff8ea02058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff8ea02058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff8ea02058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff8ea02058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff900c7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff9007f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff9007f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff9007f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff9010551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaae33c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaae33c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaae33caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaae33c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff8765098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff87650a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaae33c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/MissingDealloc.m.script: line 2: 2534923 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.Dealloc -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MissingDealloc.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/NSString.m (413 of 18966) ******************** TEST 'Clang :: Analysis/NSString.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -analyzer-checker=core,osx.cocoa.NilArg,osx.cocoa.RetainCount,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSString.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -analyzer-checker=core,osx.cocoa.NilArg,osx.cocoa.RetainCount,alpha.core -analyzer-config mode=shallow -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSString.m : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DTEST_64 -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.cocoa.NilArg,osx.cocoa.RetainCount,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSString.m : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DOSATOMIC_USE_INLINED -triple i386-apple-darwin10 -analyzer-checker=core,osx.cocoa.NilArg,osx.cocoa.RetainCount,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSString.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -analyzer-checker=core,osx.cocoa.NilArg,osx.cocoa.RetainCount,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSString.m 1. parser at end of file #0 0x0000ffffa994acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa9949100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa994b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb28c6800 (linux-vdso.so.1+0x800) #4 0x0000ffffb1bc29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb1bc29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb1bc29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb1bc29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb1bc29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb1bc29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb1bc29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb1bc29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb1870048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb1870048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb1870048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb1870048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb1870f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb1870f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb1870f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb1870f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb1883b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb1883b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb1883b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb1885060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb1885060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb1885060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb1884530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb1884530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb1884530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb1890b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb1890b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb1890b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb189a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb189a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb189a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb17feaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb17feaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb17feaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb17feaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb17fefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb17fefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb17fefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb17d2620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffb17d2620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffb17d2620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffb180ef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffb180ef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffb180ef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffb182ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffb182ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffb182ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffb1af6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffb1af6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffb1af6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffb1af6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffb1af6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffb1af7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffb1af7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffb1af7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffb1afc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb1afc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb1afc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffb1afc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffb1afc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffaff52058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffaff52058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffaff52058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffaff52058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffb1617450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffb15cf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffb15cf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffb15cf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffb165551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaae80559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaae80594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaae805aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaae8051fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffa8ba098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffa8ba0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaae80520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NSString.m.script: line 4: 2534934 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -analyzer-checker=core,osx.cocoa.NilArg,osx.cocoa.RetainCount,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSString.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/NSPanel.m (414 of 18966) ******************** TEST 'Clang :: Analysis/NSPanel.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSPanel.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSPanel.m 1. parser at end of file #0 0x0000ffffb13aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb13a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb13ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffba32e800 (linux-vdso.so.1+0x800) #4 0x0000ffffb96229e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb96229e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb96229e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb96229e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb96229e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb96229e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb96229e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb96229e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb92d0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb92d0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb92d0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb92d0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb92d0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb92d0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb92d0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb92d0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb92e3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb92e3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb92e3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb92e5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb92e5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb92e5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb92e4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb92e4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb92e4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb92f0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb92f0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb92f0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb92fa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb92fa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb92fa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb925eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb925eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb925eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb925eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb925efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb925efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb925efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb9232620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffb9232620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffb9232620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffb926ef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffb926ef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffb926ef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffb928ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffb928ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffb928ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffb9556bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffb9556bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffb9556bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffb9556bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffb9556bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffb9557b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffb9557b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffb9557b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffb955c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb955c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb955c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffb955c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffb955c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffb79b2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffb79b2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffb79b2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffb79b2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffb9077450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffb902f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffb902f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffb902f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffb90b551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaab56259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaab56294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaab562aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaab5621fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffb060098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffb0600a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaab56220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NSPanel.m.script: line 1: 2534930 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSPanel.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/NewDelete+MismatchedDeallocator_intersections.cpp (415 of 18966) ******************** TEST 'Clang :: Analysis/NewDelete+MismatchedDeallocator_intersections.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete+MismatchedDeallocator_intersections.cpp -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-checker=unix.MismatchedDeallocator : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete+MismatchedDeallocator_intersections.cpp -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-checker=cplusplus.NewDeleteLeaks -analyzer-checker=unix.MismatchedDeallocator -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete+MismatchedDeallocator_intersections.cpp -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-checker=unix.MismatchedDeallocator 1. parser at end of file 2. While analyzing stack: #0 Calling testMallocFreeNoWarn() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete+MismatchedDeallocator_intersections.cpp:26:20: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete+MismatchedDeallocator_intersections.cpp:26:20: Error evaluating statement #0 0x0000ffffaed0acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaed09100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaed0b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb7c86800 (linux-vdso.so.1+0x800) #4 0x0000ffffb6f69250 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb6f69250 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb6f69250 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb6f69250 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb6f69250 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb6f69250 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb6f69250 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb6f69250 (anonymous namespace)::MallocChecker::evalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:3069:0 #12 0x0000ffffb6d77760 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffffb6d77760 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffffb6d77760 llvm::IntrusiveRefCntPtr clang::ento::eval::Assume::_evalAssume<(anonymous namespace)::MallocChecker>(void*, llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:463:74 #15 0x0000ffffb6b8b758 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffffb6b8b758 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffffb6b8b758 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffffb6b8b758 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffffb6c50be4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffb6c50be4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffb6c50be4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffffb6c50be4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffffb6c5a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffffb6c5a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffb6c5a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #26 0x0000ffffb6bbebd8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb6bbebd8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb6bbebd8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffffb6bbebd8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffffb70ac8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffb70ac8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffb70ac8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #33 0x0000ffffb6d83840 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffffb6d83840 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffffb6d83840 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffffb6d83840 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffffb6d83840 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffffb6d83840 (anonymous namespace)::MallocChecker::ProcessZeroAllocCheck(clang::ento::CallEvent const&, unsigned int, llvm::IntrusiveRefCntPtr, std::optional) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1529:0 #39 0x0000ffffb6d83c90 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffffb6d83c90 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffffb6d83c90 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #42 0x0000ffffb6d90180 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffffb6d90180 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffffb6ba89a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffffb6ba89a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffb6ba89a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffffb6ba89a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffffb6ba89a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffffb6c08c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffffb6c08c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffffb6c08c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffffb6c08c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffffb6c08c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffffb6c08c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffffb6c09514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffffb6beb270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffffb6beb270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffffb6bec2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffffb6bec5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffffb6bec7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffffb6becb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffffb6becb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffffb6becb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffffb6becb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffffb6becb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #66 0x0000ffffb6eb6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffffb6eb6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffffb6eb6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffffb6eb6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffffb6eb6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffffb6eb7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #72 0x0000ffffb6eb7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffffb6eb7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffffb6ebc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffffb6ebc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffffb6ebc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffffb6ebc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffffb6ebc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffffb5312058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #80 0x0000ffffb5312058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffffb5312058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #82 0x0000ffffb5312058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffffb69d7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffffb698f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffffb698f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffffb698f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffffb6a1551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaab36559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaab36594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaab365aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaab3651fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffffadf6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffffadf60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaab36520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete+MismatchedDeallocator_intersections.cpp.script: line 2: 2534965 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete+MismatchedDeallocator_intersections.cpp -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-checker=unix.MismatchedDeallocator -- ******************** Testing: 0 FAIL: Clang :: Analysis/NewDelete-atomics.cpp (416 of 18966) ******************** TEST 'Clang :: Analysis/NewDelete-atomics.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDelete -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-atomics.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDeleteLeaks -DLEAKS -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-atomics.cpp : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDelete -std=c++11 -DTEST_INLINABLE_ALLOCATORS -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-atomics.cpp : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDeleteLeaks -DLEAKS -std=c++11 -DTEST_INLINABLE_ALLOCATORS -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-atomics.cpp : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-inline-max-stack-depth 2 -analyzer-config ipa-always-inline-size=2 -analyzer-checker=core,cplusplus.NewDelete -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-atomics.cpp : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-inline-max-stack-depth 2 -analyzer-config ipa-always-inline-size=2 -analyzer-checker=core,cplusplus.NewDeleteLeaks -DLEAKS -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-atomics.cpp : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-inline-max-stack-depth 2 -analyzer-config ipa-always-inline-size=2 -analyzer-checker=core,cplusplus.NewDelete -std=c++11 -DTEST_INLINABLE_ALLOCATORS -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-atomics.cpp : 'RUN: at line 8'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-inline-max-stack-depth 2 -analyzer-config ipa-always-inline-size=2 -analyzer-checker=core,cplusplus.NewDeleteLeaks -DLEAKS -std=c++11 -DTEST_INLINABLE_ALLOCATORS -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-atomics.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDelete -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-atomics.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testDestroySymbolicRefPtr(const IntrusivePtr &) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-atomics.cpp:73:18: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-atomics.cpp:73:18: Error evaluating statement #0 0x0000ffff9eb3acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9eb39100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9eb3b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa7ab5800 (linux-vdso.so.1+0x800) #4 0x0000ffffa6a07804 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa6a07804 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa6a07804 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa6a07804 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa6a07804 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa6a07804 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa6a07804 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffffa6a07804 clang::ento::ExprEngine::getObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:607:55 #12 0x0000ffffa69d03fc std::_Optional_base_impl>::_M_is_engaged() const /usr/include/c++/12/optional:471:0 #13 0x0000ffffa69d03fc std::optional::has_value() const /usr/include/c++/12/optional:988:0 #14 0x0000ffffa69d03fc clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:431:0 #15 0x0000ffffa69d03fc addParameterValuesToBindings(clang::StackFrameContext const*, llvm::SmallVectorImpl>&, clang::ento::SValBuilder&, clang::ento::CallEvent const&, llvm::ArrayRef) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:478:0 #16 0x0000ffffa69d13fc clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x0000ffffa69d13fc clang::ento::AnyCXXConstructorCall::getInitialStackFrameContents(clang::StackFrameContext const*, llvm::SmallVectorImpl>&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:915:0 #18 0x0000ffffa6a92050 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #19 0x0000ffffa6a92050 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #20 0x0000ffffa6a4d2d8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #21 0x0000ffffa6a4d2d8 clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #22 0x0000ffffa6a4d488 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #23 0x0000ffffa6a4d488 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffffa6a4d488 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #25 0x0000ffffa6a4ff20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x0000ffffa6a4ff20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x0000ffffa6a4ff20 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #28 0x0000ffffa6a5094c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #29 0x0000ffffa6a5094c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffffa6a5094c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffffa6a5094c clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #32 0x0000ffffa69d9458 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #33 0x0000ffffa6a153f8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #34 0x0000ffffa6a153f8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #35 0x0000ffffa6a153f8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #36 0x0000ffffa6a153f8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #37 0x0000ffffa6a153f8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #38 0x0000ffffa6a153f8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #39 0x0000ffffa6a153f8 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #40 0x0000ffffa6a1b22c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #41 0x0000ffffa6a1b22c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #42 0x0000ffffa6a1c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #43 0x0000ffffa6a1c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #44 0x0000ffffa6a1c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #45 0x0000ffffa6a1cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffffa6a1cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffffa6a1cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #48 0x0000ffffa6a1cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #49 0x0000ffffa6a1cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #50 0x0000ffffa6ce6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffffa6ce6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffa6ce6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #53 0x0000ffffa6ce6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #54 0x0000ffffa6ce6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #55 0x0000ffffa6ce7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #56 0x0000ffffa6ce7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x0000ffffa6ce7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #58 0x0000ffffa6cec130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffffa6cec130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffffa6cec130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x0000ffffa6cec130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x0000ffffa6cec130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x0000ffffa5142058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #64 0x0000ffffa5142058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x0000ffffa5142058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #66 0x0000ffffa5142058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x0000ffffa6807450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #68 0x0000ffffa67bf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #69 0x0000ffffa67bf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #70 0x0000ffffa67bf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #71 0x0000ffffa684551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #72 0x0000aaaadbc359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #73 0x0000aaaadbc394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #74 0x0000aaaadbc3aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #75 0x0000aaaadbc31fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #76 0x0000ffff9dd9098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #77 0x0000ffff9dd90a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #78 0x0000aaaadbc320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete-atomics.cpp.script: line 8: 2534972 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDelete -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-atomics.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/NewDelete-variadic.cpp (417 of 18966) ******************** TEST 'Clang :: Analysis/NewDelete-variadic.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDelete,cplusplus.NewDeleteLeaks,unix.Malloc -std=c++11 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-variadic.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDelete,cplusplus.NewDeleteLeaks,unix.Malloc -std=c++11 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-variadic.cpp 1. parser at end of file #0 0x0000ffff8941acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff89419100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8941b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9239a800 (linux-vdso.so.1+0x800) #4 0x0000ffff912ec024 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff912ec024 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff912ec024 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff912ec024 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff912ec024 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff912ec024 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff912ec024 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff912ec024 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2911:0 #12 0x0000ffff912ec948 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #13 0x0000ffff912fc974 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #14 0x0000ffff912fcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff912fcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff912fcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff912fcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff912fcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffff915c6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff915c6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff915c6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff915c6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff915c6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff915c7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffff915c7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff915c7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff915cc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff915cc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff915cc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff915cc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff915cc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff8fa22058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffff8fa22058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff8fa22058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffff8fa22058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff910e7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff9109f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff9109f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff9109f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff9112551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaac71c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaac71c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaac71caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaac71c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff8867098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff88670a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaac71c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete-variadic.cpp.script: line 1: 2535018 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDelete,cplusplus.NewDeleteLeaks,unix.Malloc -std=c++11 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-variadic.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/NewDelete-intersections.mm (418 of 18966) ******************** TEST 'Clang :: Analysis/NewDelete-intersections.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-intersections.mm -verify=newdelete -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -DLEAKS -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-intersections.mm -verify=leak -analyzer-checker=core -analyzer-checker=cplusplus.NewDeleteLeaks : 'RUN: at line 13'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -DLEAKS -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-intersections.mm -verify=mismatch -analyzer-checker=core -analyzer-checker=unix.MismatchedDeallocator -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-intersections.mm -verify=newdelete -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete 1. parser at end of file 2. While analyzing stack: #0 Calling testStandardPlacementNewAfterDelete() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-intersections.mm:85:12: Error evaluating New Allocator Call #0 0x0000ffffa8b9acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa8b99100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa8b9b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb1b1e800 (linux-vdso.so.1+0x800) #4 0x0000ffffb0e129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb0e129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb0e129e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb0e129e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb0e129e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb0e129e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb0e129e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb0e129e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb0ac0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb0ac0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb0ac0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb0ac0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb0ac0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb0ac0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb0ac0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb0ac0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb0ad3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb0ad3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb0ad3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb0ad5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb0ad5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb0ad5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb0ad4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb0ad4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb0ad4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb0ae0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb0ae0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb0ae0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb0aea414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb0aea414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb0aea414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb0a4eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb0a4eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb0a4eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb0a4eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb0a4efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb0a4efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb0a4efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb0a78f68 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffb0a78f68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffb0a78f68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffb0a78f68 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffb0a78f68 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffb0a7937c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffb0a7937c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffb0a7937c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffb0a7937c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffb0a7937c clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffffb0a7c5fc clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffffb0a7c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #54 0x0000ffffb0a7c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffffb0a7cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffffb0a7cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffffb0a7cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffffb0a7cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffffb0a7cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #60 0x0000ffffb0d46bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffffb0d46bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffffb0d46bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffffb0d46bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffffb0d46bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffffb0d47b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #66 0x0000ffffb0d47b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffffb0d47b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffffb0d4c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffffb0d4c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffffb0d4c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffffb0d4c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffffb0d4c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffffaf1a2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #74 0x0000ffffaf1a2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffffaf1a2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #76 0x0000ffffaf1a2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffffb0867450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffffb081f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffffb081f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffffb081f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffffb08a551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaac09c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaac09c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaac09caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaac09c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffffa7df098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffffa7df0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaac09c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete-intersections.mm.script: line 3: 2535019 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-intersections.mm -verify=newdelete -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -- ******************** Testing: 0 FAIL: Clang :: Analysis/NewDelete-custom.cpp (419 of 18966) ******************** TEST 'Clang :: Analysis/NewDelete-custom.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDelete,cplusplus.NewDeleteLeaks,unix.Malloc -std=c++11 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-custom.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDelete,cplusplus.NewDeleteLeaks,unix.Malloc -std=c++11 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-custom.cpp -analyzer-config c++-allocator-inlining=false -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDelete,cplusplus.NewDeleteLeaks,unix.Malloc -std=c++11 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-custom.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testNewExprPlacement() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-custom.cpp:61:12: Error evaluating New Allocator Call #0 0x0000ffffae80acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffae809100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffae80b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb778b800 (linux-vdso.so.1+0x800) #4 0x0000ffffb6a829e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb6a829e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb6a829e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb6a829e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb6a829e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb6a829e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb6a829e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb6a829e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb6730048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb6730048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb6730048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb6730048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb6730f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb6730f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb6730f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb6730f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb6743b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb6743b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb6743b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb6745060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb6745060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb6745060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb6744530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb6744530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb6744530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb6750b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb6750b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb6750b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb675a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb675a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb675a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb66beaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb66beaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb66beaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb66beaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb66befb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb66befb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb66befb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb66e8f68 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffb66e8f68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffb66e8f68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffb66e8f68 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffb66e8f68 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffb66e937c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffb66e937c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffb66e937c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffb66e937c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffb66e937c clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffffb66ec5fc clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffffb66ec7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #54 0x0000ffffb66ecb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffffb66ecb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffffb66ecb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffffb66ecb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffffb66ecb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #59 0x0000ffffb69b6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffffb69b6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffffb69b6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffffb69b6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffffb69b6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffffb69b7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #65 0x0000ffffb69b7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffffb69b7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffffb69bc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffffb69bc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffffb69bc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffffb69bc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffffb69bc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffffb4e12058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #73 0x0000ffffb4e12058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffffb4e12058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #75 0x0000ffffb4e12058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffffb64d7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffffb648f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffffb648f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffffb648f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffffb651551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaab61859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaab61894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaab618aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaab6181fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffffada6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffffada60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaab61820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete-custom.cpp.script: line 2: 2534997 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDelete,cplusplus.NewDeleteLeaks,unix.Malloc -std=c++11 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-custom.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/NewDelete-sized-deallocation.cpp (420 of 18966) ******************** TEST 'Clang :: Analysis/NewDelete-sized-deallocation.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -fsized-deallocation : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -DINCLUDE_INCLUDES : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -DINCLUDE_INCLUDES -fsized-deallocation : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -DINCLUDE_INCLUDES -DTEST_INLINABLE_ALLOCATORS : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -DINCLUDE_INCLUDES -DTEST_INLINABLE_ALLOCATORS -fsized-deallocation : 'RUN: at line 8'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -std=c++14 : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -std=c++14 -fsized-deallocation : 'RUN: at line 10'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -std=c++14 -DINCLUDE_INCLUDES : 'RUN: at line 11'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -std=c++14 -DINCLUDE_INCLUDES -fsized-deallocation : 'RUN: at line 12'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -std=c++14 -DINCLUDE_INCLUDES -DTEST_INLINABLE_ALLOCATORS : 'RUN: at line 13'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -std=c++14 -DINCLUDE_INCLUDES -DTEST_INLINABLE_ALLOCATORS -fsized-deallocation : 'RUN: at line 15'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -std=c++17 : 'RUN: at line 16'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -std=c++17 -fsized-deallocation : 'RUN: at line 17'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -std=c++17 -DINCLUDE_INCLUDES : 'RUN: at line 18'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -std=c++17 -DINCLUDE_INCLUDES -fsized-deallocation : 'RUN: at line 19'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -std=c++17 -DINCLUDE_INCLUDES -DTEST_INLINABLE_ALLOCATORS : 'RUN: at line 20'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -std=c++17 -DINCLUDE_INCLUDES -DTEST_INLINABLE_ALLOCATORS -fsized-deallocation -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling no_leak() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp:37:12: Error evaluating New Allocator Call #0 0x0000ffff7b98acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7b989100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7b98b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff84909800 (linux-vdso.so.1+0x800) #4 0x0000ffff83c029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff83c029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff83c029e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff83c029e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff83c029e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff83c029e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff83c029e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff83c029e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff838b0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff838b0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff838b0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff838b0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff838b0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff838b0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff838b0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff838b0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff838c3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff838c3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff838c3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff838c5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff838c5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff838c5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff838c4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff838c4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff838c4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff838d0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff838d0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff838d0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff838da414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff838da414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff838da414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8383eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8383eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8383eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8383eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8383efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8383efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8383efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff83868f68 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff83868f68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff83868f68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff83868f68 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff83868f68 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff8386937c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff8386937c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff8386937c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff8386937c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff8386937c clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffff8386c5fc clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffff8386c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #54 0x0000ffff8386c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffff8386cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffff8386cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffff8386cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffff8386cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffff8386cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #60 0x0000ffff83b36bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffff83b36bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffff83b36bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffff83b36bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffff83b36bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffff83b37b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #66 0x0000ffff83b37b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffff83b37b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffff83b3c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffff83b3c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffff83b3c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffff83b3c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffff83b3c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffff81f92058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #74 0x0000ffff81f92058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffff81f92058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #76 0x0000ffff81f92058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffff83657450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffff8360f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffff8360f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffff8360f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffff8369551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaabbfe59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaabbfe94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaabbfeaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaabbfe1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffff7abe098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffff7abe0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaabbfe20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete-sized-deallocation.cpp.script: line 18: 2535024 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/NewDelete-checker-test.cpp (422 of 18966) ******************** TEST 'Clang :: Analysis/NewDelete-checker-test.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-checker-test.cpp -verify=expected,newdelete -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DLEAKS -std=c++11 -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-checker-test.cpp -verify=expected,newdelete,leak -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-checker=cplusplus.NewDeleteLeaks : 'RUN: at line 12'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-checker-test.cpp -verify=expected,leak -analyzer-checker=core -analyzer-checker=cplusplus.NewDeleteLeaks : 'RUN: at line 17'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-checker-test.cpp -verify=expected,newdelete -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete : 'RUN: at line 22'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DLEAKS -std=c++17 -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-checker-test.cpp -verify=expected,newdelete,leak -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-checker=cplusplus.NewDeleteLeaks : 'RUN: at line 28'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-checker-test.cpp -verify=expected,leak -analyzer-checker=core -analyzer-checker=cplusplus.NewDeleteLeaks -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-checker-test.cpp -verify=expected,newdelete -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete 1. parser at end of file 2. While analyzing stack: #0 Calling testLeakBecauseNTTPIsNotDeallocation() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-checker-test.cpp:458:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-checker-test.cpp:458:13: Error evaluating statement #0 0x0000ffffa4b0acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa4b09100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa4b0b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffada81800 (linux-vdso.so.1+0x800) #4 0x0000ffffacd69250 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffacd69250 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffacd69250 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffacd69250 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffacd69250 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffacd69250 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffacd69250 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffacd69250 (anonymous namespace)::MallocChecker::evalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:3069:0 #12 0x0000ffffacb77760 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffffacb77760 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffffacb77760 llvm::IntrusiveRefCntPtr clang::ento::eval::Assume::_evalAssume<(anonymous namespace)::MallocChecker>(void*, llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:463:74 #15 0x0000ffffac98b758 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffffac98b758 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffffac98b758 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffffac98b758 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffffaca50be4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffaca50be4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffaca50be4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffffaca50be4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffffaca5a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffffaca5a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffaca5a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #26 0x0000ffffac9bebd8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffac9bebd8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffac9bebd8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffffac9bebd8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffffaceac8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffaceac8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffaceac8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #33 0x0000ffffacb83840 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffffacb83840 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffffacb83840 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffffacb83840 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffffacb83840 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffffacb83840 (anonymous namespace)::MallocChecker::ProcessZeroAllocCheck(clang::ento::CallEvent const&, unsigned int, llvm::IntrusiveRefCntPtr, std::optional) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1529:0 #39 0x0000ffffacb90378 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffffacb90378 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffffacb90378 checkCXXNewOrCXXDelete /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1361:0 #42 0x0000ffffacb90378 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1484:0 #43 0x0000ffffacb90378 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffffac9a89a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffffac9a89a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffac9a89a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffffac9a89a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffffac9a89a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffffaca08c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffffaca08c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffffaca08c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffffaca08c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffffaca08c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffffaca08c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffffaca09514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffffac9eb270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffffac9eb270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffffac9ec2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffffac9ec5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffffac9ec7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffffac9ecb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffffac9ecb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffffac9ecb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffffac9ecb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffffac9ecb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #66 0x0000ffffaccb6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffffaccb6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffffaccb6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffffaccb6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffffaccb6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffffaccb7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #72 0x0000ffffaccb7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffffaccb7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffffaccbc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffffaccbc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffffaccbc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffffaccbc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffffaccbc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffffab112058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #80 0x0000ffffab112058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffffab112058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #82 0x0000ffffab112058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffffac7d7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffffac78f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffffac78f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffffac78f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffffac81551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaac3d059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaac3d094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaac3d0aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaac3d01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffffa3d6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffffa3d60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaac3d020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete-checker-test.cpp.script: line 6: 2534999 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-checker-test.cpp -verify=expected,newdelete -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -- ******************** Testing: 0 FAIL: Clang :: Analysis/NewDelete-path-notes.cpp (424 of 18966) ******************** TEST 'Clang :: Analysis/NewDelete-path-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.NewDelete,unix.Malloc -analyzer-config add-pop-up-notes=false -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-path-notes.cpp : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.NewDelete,unix.Malloc -analyzer-config add-pop-up-notes=false -analyzer-output=plist /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-path-notes.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete-path-notes.cpp.tmp.plist : 'RUN: at line 9'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling Odd::kill() at line 30 #1 Calling test(Odd *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-path-notes.cpp:25:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-path-notes.cpp:25:3: Error evaluating statement #0 0x0000ffff9100acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff91009100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9100b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff99f84800 (linux-vdso.so.1+0x800) #4 0x0000ffff992829e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff992829e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff992829e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff992829e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff992829e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff992829e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff992829e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff992829e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff98f30048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff98f30048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff98f30048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff98f30048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff98f30f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff98f30f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff98f30f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff98f30f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff98f43b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff98f43b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff98f43b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff98f45060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff98f45060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff98f45060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff98f44530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff98f44530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff98f44530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff98f50b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff98f50b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff98f50b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff98f5a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff98f5a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff98f5a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff98ebeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff98ebeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff98ebeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff98ebeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff993ac8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff993ac8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff993ac8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff99087fe4 (anonymous namespace)::MallocChecker::FreeMemAux(clang::ento::CheckerContext&, clang::Expr const*, clang::ento::CallEvent const&, llvm::IntrusiveRefCntPtr, bool, bool&, (anonymous namespace)::AllocationFamily, bool) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1909:0 #43 0x0000ffff9908fa44 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #44 0x0000ffff9908fa44 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #45 0x0000ffff9908fa44 checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:2867:0 #46 0x0000ffff9908fa44 void clang::ento::check::PreCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:168:0 #47 0x0000ffff98ea89a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #48 0x0000ffff98ea89a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #49 0x0000ffff98ea89a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #50 0x0000ffff98ea89a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #51 0x0000ffff98ea89a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #52 0x0000ffff98ee651c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #53 0x0000ffff98ee651c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #54 0x0000ffff98ee651c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #55 0x0000ffff98ee651c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #56 0x0000ffff98ee651c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #57 0x0000ffff98ee651c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #58 0x0000ffff98ee651c clang::ento::ExprEngine::VisitCXXDeleteExpr(clang::CXXDeleteExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:1135:0 #59 0x0000ffff98eeb7cc clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2184:0 #60 0x0000ffff98eec2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #61 0x0000ffff98eec5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #62 0x0000ffff98eec7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #63 0x0000ffff98eecb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x0000ffff98eecb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x0000ffff98eecb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #66 0x0000ffff98eecb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #67 0x0000ffff98eecb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #68 0x0000ffff991b6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #69 0x0000ffff991b6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #70 0x0000ffff991b6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #71 0x0000ffff991b6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #72 0x0000ffff991b6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #73 0x0000ffff991b7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #74 0x0000ffff991b7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #75 0x0000ffff991b7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #76 0x0000ffff991bc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #77 0x0000ffff991bc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #78 0x0000ffff991bc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #79 0x0000ffff991bc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #80 0x0000ffff991bc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #81 0x0000ffff97612058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #82 0x0000ffff97612058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #83 0x0000ffff97612058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #84 0x0000ffff97612058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #85 0x0000ffff98cd7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #86 0x0000ffff98c8f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #87 0x0000ffff98c8f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #88 0x0000ffff98c8f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #89 0x0000ffff98d1551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #90 0x0000aaaade2859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #91 0x0000aaaade2894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #92 0x0000aaaade28aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #93 0x0000aaaade281fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #94 0x0000ffff9026098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #95 0x0000ffff90260a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #96 0x0000aaaade2820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete-path-notes.cpp.script: line 3: 2535025 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.NewDelete,unix.Malloc -analyzer-config add-pop-up-notes=false -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-path-notes.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/NewDeleteLeaks-PR18394.cpp (426 of 18966) ******************** TEST 'Clang :: Analysis/NewDeleteLeaks-PR18394.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-config graph-trim-interval=1 -analyzer-max-loop 1 -analyzer-checker=core,cplusplus.NewDeleteLeaks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDeleteLeaks-PR18394.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-config graph-trim-interval=1 -analyzer-max-loop 1 -analyzer-checker=core,cplusplus.NewDeleteLeaks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDeleteLeaks-PR18394.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling error() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDeleteLeaks-PR18394.cpp:14:10: Error evaluating New Allocator Call #0 0x0000ffff9e61acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9e619100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9e61b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa759a800 (linux-vdso.so.1+0x800) #4 0x0000ffffa68929e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa68929e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa68929e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa68929e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa68929e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa68929e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa68929e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa68929e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa6540048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa6540048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa6540048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa6540048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa6540f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa6540f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa6540f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa6540f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa6553b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa6553b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa6553b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa6555060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa6555060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa6555060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa6554530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa6554530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa6554530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa6560b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa6560b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa6560b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa656a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa656a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa656a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa64ceaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa64ceaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa64ceaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa64ceaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa64cefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa64cefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa64cefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa64f8f68 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffa64f8f68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffa64f8f68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffa64f8f68 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffa64f8f68 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffa64f937c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffa64f937c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffa64f937c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffa64f937c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffa64f937c clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffffa64fc5fc clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffffa64fc6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #54 0x0000ffffa64fc9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffffa64fcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffffa64fcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffffa64fcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffffa64fcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffffa64fcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #60 0x0000ffffa67c6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffffa67c6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffffa67c6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffffa67c6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffffa67c6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffffa67c7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #66 0x0000ffffa67c7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffffa67c7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffffa67cc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffffa67cc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffffa67cc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffffa67cc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffffa67cc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffffa4c22058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #74 0x0000ffffa4c22058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffffa4c22058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #76 0x0000ffffa4c22058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffffa62e7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffffa629f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffffa629f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffffa629f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffffa632551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaabbb859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaabbb894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaabbb8aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaabbb81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffff9d87098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffff9d870a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaabbb820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDeleteLeaks-PR18394.cpp.script: line 1: 2535044 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-config graph-trim-interval=1 -analyzer-max-loop 1 -analyzer-checker=core,cplusplus.NewDeleteLeaks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDeleteLeaks-PR18394.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/NewDeleteLeaks-PR19102.cpp (427 of 18966) ******************** TEST 'Clang :: Analysis/NewDeleteLeaks-PR19102.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDeleteLeaks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDeleteLeaks-PR19102.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDeleteLeaks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDeleteLeaks-PR19102.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDeleteLeaks-PR19102.cpp:25:3: Error evaluating New Allocator Call #0 0x0000ffffa88aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa88a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa88ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb1823800 (linux-vdso.so.1+0x800) #4 0x0000ffffb0b229e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb0b229e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb0b229e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb0b229e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb0b229e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb0b229e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb0b229e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb0b229e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb07d0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb07d0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb07d0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb07d0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb07d0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb07d0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb07d0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb07d0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb07e3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb07e3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb07e3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb07e5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb07e5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb07e5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb07e4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb07e4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb07e4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb07f0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb07f0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb07f0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb07fa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb07fa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb07fa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb075eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb075eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb075eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb075eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb075efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb075efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb075efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb0788f68 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffb0788f68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffb0788f68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffb0788f68 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffb0788f68 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffb078937c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffb078937c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffb078937c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffb078937c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffb078937c clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffffb078c5fc clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffffb078c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #54 0x0000ffffb078c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffffb078cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffffb078cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffffb078cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffffb078cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffffb078cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #60 0x0000ffffb0a56bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffffb0a56bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffffb0a56bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffffb0a56bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffffb0a56bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffffb0a57b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #66 0x0000ffffb0a57b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffffb0a57b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffffb0a5c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffffb0a5c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffffb0a5c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffffb0a5c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffffb0a5c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffffaeeb2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #74 0x0000ffffaeeb2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffffaeeb2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #76 0x0000ffffaeeb2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffffb0577450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffffb052f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffffb052f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffffb052f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffffb05b551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaae93559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaae93594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaae935aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaae9351fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffffa7b0098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffffa7b00a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaae93520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDeleteLeaks-PR19102.cpp.script: line 1: 2535046 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDeleteLeaks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDeleteLeaks-PR19102.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/NoReturn.m (428 of 18966) ******************** TEST 'Clang :: Analysis/NoReturn.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NoReturn.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NoReturn.m 1. parser at end of file 2. While analyzing stack: #0 Calling PR11959 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NoReturn.m:123:8: Error evaluating statement #0 0x0000ffff8fffacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8fff9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8fffb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff98f7b800 (linux-vdso.so.1+0x800) #4 0x0000ffff97f1c134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff97f1c134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff97f1c134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff97f1c134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff97f1c134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff97f1c134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff97ec748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff97ec748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff97ec748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff97edc264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff97edc264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff97edc264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff97edc264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff97edc264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff97edc264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff97edc264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff97edc264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff97edc264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff97edc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #23 0x0000ffff97edc6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff97edc9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff97edcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff97edcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff97edcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff97edcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff97edcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #30 0x0000ffff981a6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff981a6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff981a6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff981a6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff981a6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff981a7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #36 0x0000ffff981a7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff981a7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff981ac130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff981ac130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff981ac130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff981ac130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff981ac130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff96602058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #44 0x0000ffff96602058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff96602058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #46 0x0000ffff96602058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff97cc7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff97c7f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff97c7f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff97c7f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff97d0551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaad67a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaad67a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaad67aaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaad67a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff8f25098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff8f250a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaad67a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NoReturn.m.script: line 1: 2535082 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NoReturn.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/NewDeleteLeaks.cpp (430 of 18966) ******************** TEST 'Clang :: Analysis/NewDeleteLeaks.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDeleteLeaks.cpp -analyzer-checker=core -analyzer-checker=cplusplus -analyzer-checker=unix -analyzer-config unix.DynamicMemoryModeling:AddNoOwnershipChangeNotes=false : 'RUN: at line 8'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify=expected,ownership -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDeleteLeaks.cpp -analyzer-checker=core -analyzer-checker=cplusplus -analyzer-checker=unix -analyzer-config unix.DynamicMemoryModeling:AddNoOwnershipChangeNotes=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDeleteLeaks.cpp -analyzer-checker=core -analyzer-checker=cplusplus -analyzer-checker=unix -analyzer-config unix.DynamicMemoryModeling:AddNoOwnershipChangeNotes=false 1. parser at end of file 2. While analyzing stack: #0 Calling symbol_reaper_lifetime::allocateWrappingAndReturnNested() at line 217 #1 Calling symbol_reaper_lifetime::caller() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDeleteLeaks.cpp:209:23: Error evaluating New Allocator Call #0 0x0000ffff854facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff854f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff854fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8e47e800 (linux-vdso.so.1+0x800) #4 0x0000ffff8d7729e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8d7729e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8d7729e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8d7729e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8d7729e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8d7729e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8d7729e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8d7729e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8d420048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8d420048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8d420048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8d420048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8d420f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8d420f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8d420f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8d420f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8d433b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8d433b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8d433b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8d435060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8d435060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8d435060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8d434530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8d434530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8d434530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8d440b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8d440b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8d440b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8d44a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8d44a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8d44a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8d3aeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8d3aeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8d3aeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8d3aeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8d3aefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8d3aefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8d3aefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff8d3d8f68 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff8d3d8f68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff8d3d8f68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff8d3d8f68 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff8d3d8f68 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff8d3d937c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff8d3d937c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff8d3d937c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff8d3d937c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff8d3d937c clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffff8d3dc5fc clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffff8d3dc6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #54 0x0000ffff8d3dc9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffff8d3dcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffff8d3dcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffff8d3dcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffff8d3dcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffff8d3dcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #60 0x0000ffff8d6a6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffff8d6a6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffff8d6a6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffff8d6a6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffff8d6a6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffff8d6a7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #66 0x0000ffff8d6a7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffff8d6a7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffff8d6ac130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffff8d6ac130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffff8d6ac130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffff8d6ac130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffff8d6ac130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffff8bb02058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #74 0x0000ffff8bb02058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffff8bb02058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #76 0x0000ffff8bb02058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffff8d1c7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffff8d17f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffff8d17f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffff8d17f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffff8d20551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaab84159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaab84194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaab841aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaab8411fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffff8475098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffff84750a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaab84120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDeleteLeaks.cpp.script: line 2: 2535063 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDeleteLeaks.cpp -analyzer-checker=core -analyzer-checker=cplusplus -analyzer-checker=unix -analyzer-config unix.DynamicMemoryModeling:AddNoOwnershipChangeNotes=false -- ******************** Testing: 0 FAIL: Clang :: Analysis/OSAtomic_mac.cpp (432 of 18966) ******************** TEST 'Clang :: Analysis/OSAtomic_mac.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -analyzer-checker=core,osx -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/OSAtomic_mac.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -analyzer-checker=core,osx -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/OSAtomic_mac.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling rdar9339920_test() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/OSAtomic_mac.cpp:14:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/OSAtomic_mac.cpp:14:7: Error evaluating statement #0 0x0000ffffa112acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa1129100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa112b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaa0a8800 (linux-vdso.so.1+0x800) #4 0x0000ffffa9050444 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa9050444 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa9050444 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa9050444 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa9050444 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa9050444 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa9050444 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa9050444 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2507:0 #12 0x0000ffffa9050444 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2494:0 #13 0x0000ffffa9050444 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2487:0 #14 0x0000ffffa9050444 trackDisequality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2155:0 #15 0x0000ffffa9050444 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2241:0 #16 0x0000ffffa9050444 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #17 0x0000ffffa9050444 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #18 0x0000ffffa9050444 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:0 #19 0x0000ffffa9050444 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:0 #20 0x0000ffffa9050444 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #21 0x0000ffffa9050444 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #22 0x0000ffffa9050d10 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #23 0x0000ffffa9050d10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #24 0x0000ffffa9050d10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffa9050d10 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #26 0x0000ffffa9064cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa9064cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa9064cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #29 0x0000ffffa9064530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffa9064530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffa9064530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #32 0x0000ffffa9070b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #33 0x0000ffffa9070b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #34 0x0000ffffa9070b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #35 0x0000ffffa907a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #36 0x0000ffffa907a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #37 0x0000ffffa907a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #38 0x0000ffffa8fdea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #39 0x0000ffffa8fdea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #40 0x0000ffffa8fdea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #41 0x0000ffffa8fdea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #42 0x0000ffffa94cc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #43 0x0000ffffa94cc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #44 0x0000ffffa94cc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #45 0x0000ffffa8ff1ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #46 0x0000ffffa8ff1ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #47 0x0000ffffa8ff1ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #48 0x0000ffffa900c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #49 0x0000ffffa900c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #50 0x0000ffffa900c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #51 0x0000ffffa900c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #52 0x0000ffffa900c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #53 0x0000ffffa900c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #54 0x0000ffffa900c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #55 0x0000ffffa900c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #56 0x0000ffffa900cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x0000ffffa900cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x0000ffffa900cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #59 0x0000ffffa900cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #60 0x0000ffffa900cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #61 0x0000ffffa92d6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #62 0x0000ffffa92d6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #63 0x0000ffffa92d6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #64 0x0000ffffa92d6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #65 0x0000ffffa92d6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #66 0x0000ffffa92d7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #67 0x0000ffffa92d7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #68 0x0000ffffa92d7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #69 0x0000ffffa92dc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #70 0x0000ffffa92dc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #71 0x0000ffffa92dc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #72 0x0000ffffa92dc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #73 0x0000ffffa92dc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #74 0x0000ffffa7732058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #75 0x0000ffffa7732058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #76 0x0000ffffa7732058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #77 0x0000ffffa7732058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #78 0x0000ffffa8df7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #79 0x0000ffffa8daf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #80 0x0000ffffa8daf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #81 0x0000ffffa8daf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #82 0x0000ffffa8e3551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #83 0x0000aaaabf5c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #84 0x0000aaaabf5c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #85 0x0000aaaabf5caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #86 0x0000aaaabf5c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #87 0x0000ffffa038098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #88 0x0000ffffa0380a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #89 0x0000aaaabf5c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/OSAtomic_mac.cpp.script: line 1: 2535086 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -analyzer-checker=core,osx -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/OSAtomic_mac.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/ObjCProperties.m (434 of 18966) ******************** TEST 'Clang :: Analysis/ObjCProperties.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -Wno-int-conversion /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ObjCProperties.m -verify -analyzer-checker=core,alpha.core,debug.ExprInspection -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -Wno-int-conversion /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ObjCProperties.m -verify -analyzer-checker=core,alpha.core,debug.ExprInspection 1. parser at end of file #0 0x0000ffff8bdeacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8bde9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8bdeb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff94d64800 (linux-vdso.so.1+0x800) #4 0x0000ffff940629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff940629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff940629e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff940629e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff940629e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff940629e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff940629e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff940629e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff93d10048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff93d10048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff93d10048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff93d10048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff93d10f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff93d10f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff93d10f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff93d10f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff93d23b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff93d23b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff93d23b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff93d25060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff93d25060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff93d25060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff93d24530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff93d24530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff93d24530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff93d30b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff93d30b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff93d30b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff93d3a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff93d3a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff93d3a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff93c9eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff93c9eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff93c9eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff93c9eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff93c9efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff93c9efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff93c9efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff93c72620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff93c72620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff93c72620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff93caef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff93caef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff93caef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff93ccce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff93ccce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff93ccce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff93f96bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff93f96bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff93f96bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff93f96bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff93f96bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff93f97b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff93f97b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff93f97b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff93f9c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff93f9c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff93f9c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff93f9c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff93f9c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff923f2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff923f2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff923f2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff923f2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff93ab7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff93a6f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff93a6f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff93a6f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff93af551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaaea9659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaaea9694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaaea96aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaaea961fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff8b04098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff8b040a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaaea9620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ObjCProperties.m.script: line 1: 2535089 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -Wno-int-conversion /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ObjCProperties.m -verify -analyzer-checker=core,alpha.core,debug.ExprInspection -- ******************** Testing: 0 FAIL: Clang :: Analysis/ObjCRetSigs.m (435 of 18966) ******************** TEST 'Clang :: Analysis/ObjCRetSigs.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=osx.cocoa.IncompatibleMethodTypes -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ObjCRetSigs.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=osx.cocoa.IncompatibleMethodTypes -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ObjCRetSigs.m 1. parser at end of file #0 0x0000ffff97f4acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff97f49100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff97f4b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa0ecf800 (linux-vdso.so.1+0x800) #4 0x0000ffffa01c29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa01c29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa01c29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa01c29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa01c29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa01c29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa01c29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa01c29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9fe70048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9fe70048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9fe70048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9fe70048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9fe70f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9fe70f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9fe70f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9fe70f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9fe83b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9fe83b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9fe83b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9fe85060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9fe85060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9fe85060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9fe84530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9fe84530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9fe84530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9fe90b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9fe90b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9fe90b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9fe9a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9fe9a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9fe9a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9fdfeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9fdfeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9fdfeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9fdfeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9fdfefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9fdfefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9fdfefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff9fdd2620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff9fdd2620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff9fdd2620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff9fe0ef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff9fe0ef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff9fe0ef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff9fe2ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff9fe2ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff9fe2ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa00f6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa00f6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa00f6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa00f6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa00f6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa00f7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffa00f7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa00f7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa00fc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa00fc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa00fc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa00fc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa00fc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff9e552058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff9e552058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff9e552058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff9e552058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff9fc17450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff9fbcf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff9fbcf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff9fbcf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff9fc5551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaacfc059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaacfc094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaacfc0aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaacfc01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff971a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff971a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaacfc020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ObjCRetSigs.m.script: line 1: 2535103 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=osx.cocoa.IncompatibleMethodTypes -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ObjCRetSigs.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/PR35418.cpp (436 of 18966) ******************** TEST 'Clang :: Analysis/PR35418.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR35418.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR35418.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling decode(unsigned int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR35418.cpp:12:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR35418.cpp:12:10: Error evaluating statement #0 0x0000ffff96c1acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff96c19100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff96c1b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9fb92800 (linux-vdso.so.1+0x800) #4 0x0000ffff9ee929e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9ee929e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9ee929e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9ee929e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9ee929e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9ee929e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9ee929e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9ee929e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9eb40048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9eb40048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9eb40048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9eb40048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9eb40974 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9eb40974 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9eb40974 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9eb40974 (anonymous namespace)::RangeConstraintManager::assumeSymLE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3214:0 #20 0x0000ffff9eb53b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9eb53b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9eb53b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9eb55060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9eb55060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9eb55060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9eb54530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9eb54530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9eb54530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9eb60b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9eb60b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9eb60b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9eb6a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9eb6a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9eb6a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9eaceaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9eaceaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9eaceaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9eaceaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9efbc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9efbc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9efbc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9eae1ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff9eae1ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff9eae1ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff9eafc07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff9eafc07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff9eafc07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff9eafc07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff9eafc07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff9eafc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffff9eafc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffff9eafc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffff9eafcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9eafcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9eafcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9eafcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9eafcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff9edc6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9edc6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9edc6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9edc6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9edc6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff9edc7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff9edc7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff9edc7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9edcc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9edcc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9edcc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9edcc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9edcc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff9d222058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff9d222058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff9d222058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff9d222058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff9e8e7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9e89f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9e89f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9e89f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9e92551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad67759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad67794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad677aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad6771fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff95e7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff95e70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad67720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR35418.cpp.script: line 1: 2535127 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR35418.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/PR2978.m (437 of 18966) ******************** TEST 'Clang :: Analysis/PR2978.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,osx.cocoa.Dealloc /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR2978.m -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,osx.cocoa.Dealloc /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR2978.m -verify 1. parser at end of file #0 0x0000ffffa313acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa3139100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa313b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffac0b0800 (linux-vdso.so.1+0x800) #4 0x0000ffffab3b29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffab3b29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffab3b29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffab3b29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffab3b29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffab3b29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffab3b29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffab3b29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffab060048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffab060048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffab060048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffab060048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffab060f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffab060f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffab060f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffab060f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffab073b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffab073b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffab073b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffab075060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffab075060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffab075060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffab074530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffab074530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffab074530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffab080b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffab080b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffab080b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffab08a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffab08a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffab08a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffaafeeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffaafeeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffaafeeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffaafeeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffaafeefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffaafeefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffaafeefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffaafc2620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffaafc2620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffaafc2620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffaaffef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffaaffef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffaaffef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffab01ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffab01ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffab01ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffab2e6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffab2e6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffab2e6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffab2e6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffab2e6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffab2e7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffab2e7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffab2e7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffab2ec130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffab2ec130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffab2ec130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffab2ec130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffab2ec130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa9742058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffa9742058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa9742058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffa9742058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffaae07450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffaadbf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffaadbf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffaadbf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffaae4551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaace8b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaace8b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaace8baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaace8b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffa239098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffa2390a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaace8b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR2978.m.script: line 1: 2535125 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,osx.cocoa.Dealloc /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR2978.m -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/PR24184.cpp (438 of 18966) ******************** TEST 'Clang :: Analysis/PR24184.cpp' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -fcxx-exceptions -analyzer-checker=core -analyzer-checker=alpha.core.PointerArithm,alpha.core.CastToStruct -analyzer-max-loop 64 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR24184.cpp : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -analyzer-checker=cplusplus -fcxx-exceptions -analyzer-checker alpha.core.PointerArithm,alpha.core.CastToStruct -analyzer-max-loop 63 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR24184.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -fcxx-exceptions -analyzer-checker=core -analyzer-checker=alpha.core.PointerArithm,alpha.core.CastToStruct -analyzer-max-loop 64 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR24184.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo2() at line 95 #1 Calling foo3(int *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR24184.cpp:90:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR24184.cpp:90:10: Error evaluating statement #0 0x0000ffff828aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff828a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff828ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8b820800 (linux-vdso.so.1+0x800) #4 0x0000ffff8ab229e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8ab229e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8ab229e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8ab229e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8ab229e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8ab229e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8ab229e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8ab229e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8a7d0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8a7d0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8a7d0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8a7d0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8a7d0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8a7d0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8a7d0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8a7d0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8a7e3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8a7e3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8a7e3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8a7e5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8a7e5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8a7e5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8a7e4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8a7e4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8a7e4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8a7f0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8a7f0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8a7f0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8a7fa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8a7fa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8a7fa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8a75eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8a75eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8a75eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8a75eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8ac4c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8ac4c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8ac4c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8a87e270 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff8a87e270 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff8a87e270 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffff8a87e270 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffff8a748e38 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffff8a771640 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffff8a771640 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffff8a77187c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffff8a77187c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffff8a77187c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff8a77187c clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffff8a781540 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffff8a781540 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffff8a781540 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffff8a78ac54 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffff8a78ac54 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffff8a78ac54 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffff8a78c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #60 0x0000ffff8a78c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #61 0x0000ffff8a78c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #62 0x0000ffff8a78cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffff8a78cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffff8a78cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffff8a78cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffff8a78cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #67 0x0000ffff8aa56bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffff8aa56bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffff8aa56bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffff8aa56bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffff8aa56bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffff8aa57b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #73 0x0000ffff8aa57b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffff8aa57b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffff8aa5c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffff8aa5c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffff8aa5c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffff8aa5c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffff8aa5c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffff88eb2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #81 0x0000ffff88eb2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffff88eb2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #83 0x0000ffff88eb2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffff8a577450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffff8a52f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffff8a52f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffff8a52f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffff8a5b551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaaccd759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaaccd794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaaccd7aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaaccd71fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffff81b0098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffff81b00a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaaccd720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR24184.cpp.script: line 2: 2535111 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -fcxx-exceptions -analyzer-checker=core -analyzer-checker=alpha.core.PointerArithm,alpha.core.CastToStruct -analyzer-max-loop 64 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR24184.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/PR49490.cpp (441 of 18966) ******************** TEST 'Clang :: Analysis/PR49490.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR49490.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR49490.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling get_global_toggle() at line 29 #1 Calling bar() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR49490.cpp:10:37: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR49490.cpp:10:37: Error evaluating statement #0 0x0000ffff892bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff892b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff892bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9223f800 (linux-vdso.so.1+0x800) #4 0x0000ffff91187804 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff91187804 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff91187804 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff91187804 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff91187804 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff91187804 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff91187804 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff91187804 clang::ento::ExprEngine::getObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:607:55 #12 0x0000ffff911b8680 clang::ento::ExprEngine::finishArgumentConstruction(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:640:59 #13 0x0000ffff911b8824 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #14 0x0000ffff911b8824 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x0000ffff911b8824 clang::ento::ExprEngine::finishArgumentConstruction(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:657:72 #16 0x0000ffff91195534 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:832:0 #17 0x0000ffff9119b22c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #18 0x0000ffff9119b22c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #19 0x0000ffff9119c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #20 0x0000ffff9119c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #21 0x0000ffff9119c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #22 0x0000ffff9119cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #23 0x0000ffff9119cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #24 0x0000ffff9119cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #25 0x0000ffff9119cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #26 0x0000ffff9119cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #27 0x0000ffff91466bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x0000ffff91466bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x0000ffff91466bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #30 0x0000ffff91466bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #31 0x0000ffff91466bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #32 0x0000ffff91467b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #33 0x0000ffff91467b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x0000ffff91467b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #35 0x0000ffff9146c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff9146c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff9146c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x0000ffff9146c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x0000ffff9146c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x0000ffff8f8c2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #41 0x0000ffff8f8c2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x0000ffff8f8c2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #43 0x0000ffff8f8c2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x0000ffff90f87450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #45 0x0000ffff90f3f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #46 0x0000ffff90f3f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #47 0x0000ffff90f3f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #48 0x0000ffff90fc551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #49 0x0000aaaacbbb59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x0000aaaacbbb94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x0000aaaacbbbaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x0000aaaacbbb1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x0000ffff8851098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #54 0x0000ffff88510a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #55 0x0000aaaacbbb20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR49490.cpp.script: line 1: 2535167 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR49490.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/PR46264.cpp (442 of 18966) ******************** TEST 'Clang :: Analysis/PR46264.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR46264.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR46264.cpp 1. parser at end of file #0 0x0000ffffac08acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffac089100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffac08b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb5001800 (linux-vdso.so.1+0x800) #4 0x0000ffffb43029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb43029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb43029e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb43029e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb43029e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb43029e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb43029e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb43029e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb3fb0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb3fb0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb3fb0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb3fb0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb3fb0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb3fb0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb3fb0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb3fb0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb3fc3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb3fc3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb3fc3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb3fc5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb3fc5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb3fc5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb3fc4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb3fc4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb3fc4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb3fd0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb3fd0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb3fd0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb3fda414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb3fda414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb3fda414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb3f3eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb3f3eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb3f3eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb3f3eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb3f3efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb3f3efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb3f3efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb3f12620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffb3f12620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffb3f12620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffb3f4ef2c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffb3f4ef2c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffb3f4ef2c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffb3f6ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffb3f6ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffb3f6ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffb4236bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffb4236bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffb4236bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffb4236bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffb4236bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffb4237b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffb4237b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffb4237b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffb423c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb423c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb423c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffb423c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffb423c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffb2692058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffb2692058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffb2692058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffb2692058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffb3d57450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffb3d0f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffb3d0f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffb3d0f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffb3d9551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaab25459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaab25494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaab254aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaab2541fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffab2e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffab2e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaab25420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR46264.cpp.script: line 1: 2535159 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR46264.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/PR3991.m (443 of 18966) ******************** TEST 'Clang :: Analysis/PR3991.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify -triple x86_64-apple-darwin9 -Wno-incomplete-implementation /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR3991.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify -triple x86_64-apple-darwin9 -Wno-incomplete-implementation /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR3991.m 1. parser at end of file #0 0x0000ffff8508acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff85089100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8508b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8e000800 (linux-vdso.so.1+0x800) #4 0x0000ffff8d3029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8d3029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8d3029e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8d3029e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8d3029e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8d3029e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8d3029e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8d3029e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8cfb0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8cfb0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8cfb0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8cfb0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8cfb0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8cfb0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8cfb0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8cfb0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8cfc3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8cfc3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8cfc3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8cfc5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8cfc5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8cfc5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8cfc4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8cfc4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8cfc4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8cfd0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8cfd0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8cfd0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8cfda414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8cfda414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8cfda414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8cf3eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8cf3eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8cf3eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8cf3eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8cf3efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8cf3efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8cf3efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff8cf12620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff8cf12620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff8cf12620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8cf4ef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff8cf4ef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff8cf4ef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff8cf6ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff8cf6ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8cf6ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff8d236bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff8d236bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff8d236bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff8d236bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff8d236bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff8d237b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff8d237b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff8d237b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff8d23c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8d23c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8d23c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff8d23c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff8d23c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff8b692058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff8b692058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff8b692058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff8b692058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff8cd57450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff8cd0f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff8cd0f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff8cd0f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff8cd9551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaab8bd59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaab8bd94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaab8bdaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaab8bd1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff842e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff842e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaab8bd20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR3991.m.script: line 1: 2535149 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify -triple x86_64-apple-darwin9 -Wno-incomplete-implementation /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR3991.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/PR47511.cpp (444 of 18966) ******************** TEST 'Clang :: Analysis/PR47511.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++20 -w -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR47511.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++20 -w -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR47511.cpp 1. parser at end of file #0 0x0000ffffa64bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa64b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa64bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaf43e800 (linux-vdso.so.1+0x800) #4 0x0000ffffae7329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffae7329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffae7329e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffae7329e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffae7329e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffae7329e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffae7329e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffae7329e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffae3e0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffae3e0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffae3e0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffae3e0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffae3e0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffae3e0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffae3e0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffae3e0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffae3f3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffae3f3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffae3f3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffae3f5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffae3f5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffae3f5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffae3f4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffae3f4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffae3f4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffae400b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffae400b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffae400b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffae40a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffae40a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffae40a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffae36eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffae36eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffae36eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffae36eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffae36efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffae36efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffae36efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffae342620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffae342620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffae342620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffae37ef2c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffae37ef2c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffae37ef2c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffae39ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffae39ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffae39ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffae666bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffae666bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffae666bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffae666bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffae666bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffae667b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffae667b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffae667b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffae66c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffae66c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffae66c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffae66c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffae66c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffacac2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffacac2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffacac2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffacac2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffae187450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffae13f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffae13f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffae13f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffae1c551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaabd2f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaabd2f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaabd2faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaabd2f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffa571098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffa5710a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaabd2f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR47511.cpp.script: line 1: 2535162 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++20 -w -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR47511.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/PR60412.cpp (446 of 18966) ******************** TEST 'Clang :: Analysis/PR60412.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.deadcode.UnreachableCode -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR60412.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.deadcode.UnreachableCode -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR60412.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo()::a::a() at line 12 #1 Calling foo() at line 17 #2 Calling main() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR60412.cpp:10:10: Error evaluating statement #0 0x0000ffff9d62acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9d629100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9d62b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa65a4800 (linux-vdso.so.1+0x800) #4 0x0000ffffa54f7188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa54f7188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa54f7188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa54f7188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa54f7188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa54f7188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa54f7188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa54f7188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffffa550c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffa550c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffa550c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffa550c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffa550c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffa550c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffa550c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffa550c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffa550c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffffa550c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #22 0x0000ffffa550c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffffa550c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffffa550cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffa550cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffa550cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffa550cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffa550cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #29 0x0000ffffa57d6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffa57d6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffa57d6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffa57d6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffa57d6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffa57d7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #35 0x0000ffffa57d7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffa57d7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffa57dc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffa57dc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffa57dc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffa57dc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffa57dc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffa3c32058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #43 0x0000ffffa3c32058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffa3c32058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #45 0x0000ffffa3c32058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffa52f7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffa52af104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffa52af104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffa52af104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffa533551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaab11359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaab11394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaab113aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaab1131fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff9c88098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff9c880a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaab11320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR60412.cpp.script: line 1: 2535196 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.deadcode.UnreachableCode -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR60412.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/PR50268.c (447 of 18966) ******************** TEST 'Clang :: Analysis/PR50268.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR50268.c -analyzer-config eagerly-assume=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR50268.c -analyzer-config eagerly-assume=true 1. parser at end of file 2. While analyzing stack: #0 Calling test 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR50268.c:10:3: Error evaluating statement #0 0x0000ffffae65acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffae659100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffae65b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb75d8800 (linux-vdso.so.1+0x800) #4 0x0000ffffb657c134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb657c134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb657c134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb657c134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffb657c134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffb657c134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffb652748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffb652748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffb652748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffb653c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffb653c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffb653c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffb653c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffb653c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffb653c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffb653c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffb653c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffb653c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffb653c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #23 0x0000ffffb653c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffb653c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffb653cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffb653cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffb653cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffb653cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffb653cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #30 0x0000ffffb6806bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffb6806bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffb6806bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffb6806bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffb6806bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffb6807b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #36 0x0000ffffb6807b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffb6807b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffb680c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffb680c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffb680c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffb680c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffb680c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffb4c62058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #44 0x0000ffffb4c62058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffb4c62058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #46 0x0000ffffb4c62058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffb6327450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffb62df104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffb62df104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffb62df104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffb636551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaadde059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaadde094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaadde0aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaadde01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffffad8b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffffad8b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaadde020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR50268.c.script: line 1: 2535190 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR50268.c -analyzer-config eagerly-assume=true -- ******************** Testing: 0 FAIL: Clang :: Analysis/PR49642.c (448 of 18966) ******************** TEST 'Clang :: Analysis/PR49642.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-implicit-function-declaration -Wno-implicit-int -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR49642.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-implicit-function-declaration -Wno-implicit-int -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR49642.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions 1. parser at end of file 2. While analyzing stack: #0 Calling a 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR49642.c:15:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR49642.c:15:10: Error evaluating statement #0 0x0000ffff93e7acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff93e79100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff93e7b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9cdf0800 (linux-vdso.so.1+0x800) #4 0x0000ffff9c0f29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9c0f29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9c0f29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9c0f29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9c0f29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9c0f29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9c0f29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9c0f29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9bda0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9bda0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9bda0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9bda0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9bda0974 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9bda0974 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9bda0974 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9bda0974 (anonymous namespace)::RangeConstraintManager::assumeSymLE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3214:0 #20 0x0000ffff9bdb3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9bdb3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9bdb3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9bdb5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9bdb5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9bdb5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9bdb4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9bdb4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9bdb4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9bdc0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9bdc0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9bdc0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9bdca414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9bdca414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9bdca414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9bd2eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9bd2eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9bd2eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9bd2eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9c21c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9c21c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9c21c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9bd41ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff9bd41ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff9bd41ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff9bd5c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff9bd5c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff9bd5c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff9bd5c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff9bd5c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff9bd5c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffff9bd5c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffff9bd5c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffff9bd5cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9bd5cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9bd5cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9bd5cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9bd5cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff9c026bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9c026bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9c026bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9c026bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9c026bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff9c027b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff9c027b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff9c027b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9c02c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9c02c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9c02c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9c02c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9c02c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff9a482058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff9a482058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff9a482058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff9a482058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff9bb47450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9baff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9baff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9baff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9bb8551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac8de59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac8de94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac8deaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac8de1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff930d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff930d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac8de20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR49642.c.script: line 1: 2535183 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-implicit-function-declaration -Wno-implicit-int -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR49642.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -- ******************** Testing: 0 FAIL: Clang :: Analysis/SpecialFunctionsCFError.cpp (453 of 18966) ******************** TEST 'Clang :: Analysis/SpecialFunctionsCFError.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.coreFoundation.CFError -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/SpecialFunctionsCFError.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.coreFoundation.CFError -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/SpecialFunctionsCFError.cpp 1. parser at end of file #0 0x0000ffffb2acacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb2ac9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb2acb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbba42800 (linux-vdso.so.1+0x800) #4 0x0000ffffbad429e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbad429e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbad429e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbad429e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbad429e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbad429e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbad429e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbad429e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffba9f0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffba9f0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffba9f0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffba9f0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffba9f0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffba9f0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffba9f0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffba9f0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbaa03b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbaa03b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbaa03b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbaa05060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbaa05060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbaa05060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbaa04530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbaa04530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbaa04530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbaa10b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbaa10b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbaa10b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbaa1a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbaa1a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbaa1a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffba97eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffba97eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffba97eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffba97eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffba97efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffba97efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffba97efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffba952620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffba952620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffba952620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffba98ef2c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffba98ef2c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffba98ef2c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffba9ace78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffba9ace78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffba9ace78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffbac76bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffbac76bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffbac76bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffbac76bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffbac76bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffbac77b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffbac77b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffbac77b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffbac7c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffbac7c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffbac7c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffbac7c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffbac7c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffb90d2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffb90d2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffb90d2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffb90d2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffba797450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffba74f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffba74f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffba74f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffba7d551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaaca0f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaaca0f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaaca0faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaaca0f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffb1d2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffb1d20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaaca0f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/SpecialFunctionsCFError.cpp.script: line 1: 2535208 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.coreFoundation.CFError -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/SpecialFunctionsCFError.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/a_flaky_crash.cpp (461 of 18966) ******************** TEST 'Clang :: Analysis/a_flaky_crash.cpp' FAILED ******************** Script: -- : 'RUN: at line 22'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 23'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 24'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 25'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 26'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 27'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 28'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 29'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 30'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 31'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 32'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 33'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 34'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 35'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 36'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 37'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 38'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 39'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 40'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 41'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 42'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 43'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 44'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 45'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 46'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 47'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 48'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 49'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 50'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 51'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 52'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 53'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 54'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 55'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 56'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 57'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 58'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 59'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 60'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 61'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 62'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 63'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 64'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 65'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 66'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 67'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 68'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 69'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 70'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 71'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 72'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 73'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 74'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 75'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 76'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 77'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 78'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 79'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 80'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 81'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 82'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 83'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 84'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 85'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 86'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 87'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 88'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 89'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 90'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 91'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 92'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 93'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 94'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 95'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 96'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 97'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 98'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 99'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 100'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 101'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 102'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 103'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 104'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 105'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 106'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 107'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 108'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 109'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 110'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 111'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 112'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 113'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 114'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 115'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 116'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 117'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 118'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 119'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 120'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 121'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 122'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 123'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 124'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 125'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 126'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 127'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 128'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 129'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 130'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 131'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 132'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 133'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 134'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 135'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 136'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 137'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 138'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 139'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 140'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 141'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 142'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 143'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 144'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 145'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 146'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 147'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 148'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 149'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 150'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 151'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 152'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 153'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 154'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 155'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 156'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 157'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 158'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 159'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 160'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 161'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 162'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 163'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 164'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 165'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 166'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 167'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 168'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 169'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 170'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 171'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 172'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 173'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 174'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 175'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 176'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 177'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 178'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 179'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 180'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 181'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 182'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 183'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 184'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 185'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 186'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 187'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 188'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 189'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 190'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 191'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 192'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 193'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 194'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 195'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 196'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 197'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 198'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 199'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 200'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 201'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 202'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 203'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 204'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 205'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 206'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 207'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 208'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 209'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 210'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 211'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 212'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 213'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 214'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 215'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 216'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 217'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 218'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 219'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 220'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 221'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 222'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 223'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 224'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 225'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 226'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 227'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 228'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 229'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 230'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 231'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 232'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 233'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 234'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 235'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 236'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 237'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 238'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 239'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 240'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 241'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 242'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 243'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 244'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 245'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 246'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 247'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 248'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 249'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 250'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 251'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 252'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 253'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 254'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 255'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 256'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 257'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 258'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 259'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 260'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 261'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 262'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 263'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 264'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 265'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 266'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 267'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 268'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 269'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 270'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 271'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 272'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 273'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 274'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 275'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 276'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 277'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp:16:19: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp:16:19: Error evaluating statement #0 0x0000ffff7b66acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7b669100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7b66b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff845e5800 (linux-vdso.so.1+0x800) #4 0x0000ffff8353da74 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff8353da74 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8353da74 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8353da74 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8353da74 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8353da74 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8353da74 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8353da74 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffff8353de64 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #13 0x0000ffff8353de64 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffff8353de64 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff8353de64 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffff8353de64 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffff8353e298 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #18 0x0000ffff8353e298 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #19 0x0000ffff8353e298 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x0000ffff8353e298 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:507:0 #21 0x0000ffff83545dd0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #22 0x0000ffff83545dd0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #23 0x0000ffff83545dd0 clang::ento::ExprEngine::handleConstructionContext(clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::ento::NodeBuilderContext const*, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions&, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:753:0 #24 0x0000ffff83545dd0 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:665:0 #25 0x0000ffff8354b22c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #26 0x0000ffff8354b22c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #27 0x0000ffff8354c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #28 0x0000ffff8354c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #29 0x0000ffff8354c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #30 0x0000ffff8354cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #31 0x0000ffff8354cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #32 0x0000ffff8354cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #33 0x0000ffff8354cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #34 0x0000ffff8354cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #35 0x0000ffff83816bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff83816bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff83816bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #38 0x0000ffff83816bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #39 0x0000ffff83816bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #40 0x0000ffff83817b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #41 0x0000ffff83817b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #42 0x0000ffff83817b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #43 0x0000ffff8381c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #44 0x0000ffff8381c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #45 0x0000ffff8381c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #46 0x0000ffff8381c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #47 0x0000ffff8381c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #48 0x0000ffff81c72058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #49 0x0000ffff81c72058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #50 0x0000ffff81c72058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #51 0x0000ffff81c72058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #52 0x0000ffff83337450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #53 0x0000ffff832ef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #54 0x0000ffff832ef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #55 0x0000ffff832ef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #56 0x0000ffff8337551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #57 0x0000aaaac36959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #58 0x0000aaaac36994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #59 0x0000aaaac369aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #60 0x0000aaaac3691fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #61 0x0000ffff7a8c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #62 0x0000ffff7a8c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #63 0x0000aaaac36920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/a_flaky_crash.cpp.script: line 256: 2535251 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/additive-folding-range-constraints.c (462 of 18966) ******************** TEST 'Clang :: Analysis/additive-folding-range-constraints.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/additive-folding-range-constraints.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/additive-folding-range-constraints.c 1. parser at end of file 2. While analyzing stack: #0 Calling mixedSignedness18 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/additive-folding-range-constraints.c:301:3: Error evaluating statement #0 0x0000ffff8bb9acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8bb99100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8bb9b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff94b17800 (linux-vdso.so.1+0x800) #4 0x0000ffff93abc134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff93abc134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff93abc134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff93abc134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff93abc134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff93abc134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff93a6748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff93a6748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff93a6748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff93a7c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff93a7c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff93a7c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff93a7c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff93a7c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff93a7c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff93a7c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff93a7c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff93a7c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff93a7c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #23 0x0000ffff93a7c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff93a7c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff93a7cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff93a7cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff93a7cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff93a7cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff93a7cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #30 0x0000ffff93d46bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff93d46bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff93d46bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff93d46bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff93d46bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff93d47b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #36 0x0000ffff93d47b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff93d47b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff93d4c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff93d4c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff93d4c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff93d4c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff93d4c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff921a2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #44 0x0000ffff921a2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff921a2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #46 0x0000ffff921a2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff93867450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff9381f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff9381f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff9381f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff938a551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaadda459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaadda494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaadda4aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaadda41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff8adf098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff8adf0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaadda420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/additive-folding-range-constraints.c.script: line 1: 2535245 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/additive-folding-range-constraints.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/additive-folding.cpp (464 of 18966) ******************** TEST 'Clang :: Analysis/additive-folding.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -Wno-tautological-compare -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/additive-folding.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -Wno-tautological-compare -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/additive-folding.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling additiveSymSymFolding(int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/additive-folding.cpp:213:7: Error evaluating branch #0 0x0000ffff90deacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff90de9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff90deb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff99d6e800 (linux-vdso.so.1+0x800) #4 0x0000ffff990629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff990629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff990629e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff990629e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff990629e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff990629e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff990629e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff990629e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff98d10048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff98d10048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff98d10048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff98d10048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff98d10f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff98d10f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff98d10f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff98d10f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff98d23b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff98d23b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff98d23b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff98d25060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff98d25060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff98d25060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff98d24530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff98d24530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff98d24530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff98d30b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff98d30b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff98d30b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff98d3a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff98d3a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff98d3a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff98c9ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff98c9ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff98c9ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff98c9ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff9918c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9918c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9918c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff98cb4c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff98cb4c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff98cb4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff98cb4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff98cb4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff98cb4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff98cb4c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff98cb4c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff98cb4c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff98cb4c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff98cb5200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff98cccb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff98cccb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff98cccb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff98cccb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff98cccb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff98f96bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff98f96bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff98f96bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff98f96bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff98f96bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff98f97b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff98f97b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff98f97b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff98f9c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff98f9c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff98f9c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff98f9c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff98f9c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff973f2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff973f2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff973f2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff973f2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff98ab7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff98a6f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff98a6f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff98a6f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff98af551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac8fd59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac8fd94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac8fdaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac8fd1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9004098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff90040a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac8fd20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/additive-folding.cpp.script: line 1: 2535248 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -Wno-tautological-compare -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/additive-folding.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/UserNullabilityAnnotations.m (465 of 18966) ******************** TEST 'Clang :: Analysis/UserNullabilityAnnotations.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/UserNullabilityAnnotations.m -Wno-tautological-pointer-compare -analyzer-checker=core -analyzer-checker=nullability -analyzer-checker=debug.ExprInspection -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/UserNullabilityAnnotations.m -Wno-tautological-pointer-compare -analyzer-checker=core -analyzer-checker=nullability -analyzer-checker=debug.ExprInspection 1. parser at end of file #0 0x0000ffff8403acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff84039100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8403b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8cfb7800 (linux-vdso.so.1+0x800) #4 0x0000ffff8c2b29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8c2b29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8c2b29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8c2b29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8c2b29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8c2b29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8c2b29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8c2b29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8bf60048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8bf60048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8bf60048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8bf60048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8bf60f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8bf60f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8bf60f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8bf60f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8bf73b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8bf73b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8bf73b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8bf75060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8bf75060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8bf75060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8bf74530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8bf74530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8bf74530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8bf80b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8bf80b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8bf80b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8bf8a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8bf8a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8bf8a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8beeeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8beeeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8beeeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8beeeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8beeefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8beeefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8beeefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff8c0d0a00 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff8c0d0a00 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff8c0d0a00 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8c0d0a00 checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/NonNullParamChecker.cpp:269:0 #46 0x0000ffff8c0d0a00 void clang::ento::check::BeginFunction::_checkBeginFunction<(anonymous namespace)::NonNullParamChecker>(void*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:244:0 #47 0x0000ffff8bed7808 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #48 0x0000ffff8bed7808 clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:441:0 #49 0x0000ffff8bf1cdf4 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #50 0x0000ffff8bf1cdf4 clang::ento::ExprEngine::processBeginOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::BlockEdge const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2884:1 #51 0x0000ffff8bf1cdf4 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:124:0 #52 0x0000ffff8c1e6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #53 0x0000ffff8c1e6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #54 0x0000ffff8c1e6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #55 0x0000ffff8c1e6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #56 0x0000ffff8c1e6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #57 0x0000ffff8c1e7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #58 0x0000ffff8c1e7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #59 0x0000ffff8c1e7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #60 0x0000ffff8c1ec130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #61 0x0000ffff8c1ec130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #62 0x0000ffff8c1ec130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #63 0x0000ffff8c1ec130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #64 0x0000ffff8c1ec130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #65 0x0000ffff8a642058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #66 0x0000ffff8a642058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #67 0x0000ffff8a642058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #68 0x0000ffff8a642058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #69 0x0000ffff8bd07450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #70 0x0000ffff8bcbf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #71 0x0000ffff8bcbf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #72 0x0000ffff8bcbf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #73 0x0000ffff8bd4551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #74 0x0000aaaad0a859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #75 0x0000aaaad0a894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #76 0x0000aaaad0a8aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #77 0x0000aaaad0a81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #78 0x0000ffff8329098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #79 0x0000ffff83290a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #80 0x0000aaaad0a820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/UserNullabilityAnnotations.m.script: line 1: 2535225 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/UserNullabilityAnnotations.m -Wno-tautological-pointer-compare -analyzer-checker=core -analyzer-checker=nullability -analyzer-checker=debug.ExprInspection -- ******************** Testing: 0 FAIL: Clang :: Analysis/analysis-after-multiple-dtors.cpp (466 of 18966) ******************** TEST 'Clang :: Analysis/analysis-after-multiple-dtors.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/analysis-after-multiple-dtors.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/analysis-after-multiple-dtors.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo()::a::a() at line 16 #1 Calling foo() at line 21 #2 Calling main() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/analysis-after-multiple-dtors.cpp:11:10: Error evaluating statement #0 0x0000ffff7c3eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7c3e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7c3eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8536c800 (linux-vdso.so.1+0x800) #4 0x0000ffff842b7188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff842b7188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff842b7188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff842b7188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff842b7188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff842b7188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff842b7188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff842b7188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff842cc264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff842cc264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff842cc264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff842cc264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff842cc264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff842cc264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff842cc264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff842cc264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff842cc264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffff842cc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #22 0x0000ffff842cc6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffff842cc9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffff842ccb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff842ccb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff842ccb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff842ccb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff842ccb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #29 0x0000ffff84596bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff84596bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff84596bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff84596bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff84596bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff84597b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #35 0x0000ffff84597b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff84597b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff8459c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff8459c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff8459c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff8459c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff8459c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff829f2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #43 0x0000ffff829f2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff829f2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #45 0x0000ffff829f2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff840b7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff8406f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff8406f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff8406f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff840f551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaac52d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaac52d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaac52daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaac52d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff7b64098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff7b640a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaac52d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/analysis-after-multiple-dtors.cpp.script: line 1: 2535276 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/analysis-after-multiple-dtors.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/additive-op-on-sym-int-expr.c (467 of 18966) ******************** TEST 'Clang :: Analysis/additive-op-on-sym-int-expr.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple=x86_64-unknown-linux-gnu -analyzer-checker=core,apiModeling,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/additive-op-on-sym-int-expr.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple=x86_64-unknown-linux-gnu -analyzer-checker=core,apiModeling,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/additive-op-on-sym-int-expr.c 1. parser at end of file 2. While analyzing stack: #0 Calling crashTest 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/additive-op-on-sym-int-expr.c:163:7: Error evaluating branch #0 0x0000ffffa815acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa8159100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa815b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb10d1800 (linux-vdso.so.1+0x800) #4 0x0000ffffb03d29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb03d29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb03d29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb03d29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb03d29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb03d29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb03d29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb03d29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb0080048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb0080048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb0080048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb0080048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb0080f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb0080f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb0080f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb0080f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb0094cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb0094cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb0094cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffb0094f90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb0094f90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb0094f90 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffb0094530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb0094530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb0094530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb00a0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb00a0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb00a0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb00aa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb00aa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb00aa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb000eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb000eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb000eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb000eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb04fc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb04fc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb04fc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb0024c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffb0024c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffb0024c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffb0024c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffb0024c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffb0024c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffb0024c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffb0024c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffb0024c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffb0024c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffb0025200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffb003cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb003cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb003cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb003cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb003cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb0306bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb0306bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb0306bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb0306bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb0306bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb0307b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb0307b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb0307b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb030c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb030c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb030c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb030c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb030c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffae762058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffae762058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffae762058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffae762058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffafe27450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffafddf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffafddf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffafddf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffafe6551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab8c259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab8c294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab8c2aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab8c21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa73b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa73b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab8c220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/additive-op-on-sym-int-expr.c.script: line 1: 2535260 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple=x86_64-unknown-linux-gnu -analyzer-checker=core,apiModeling,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/additive-op-on-sym-int-expr.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/analyzeOneFunction.m (468 of 18966) ******************** TEST 'Clang :: Analysis/analyzeOneFunction.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze-function="-[Test1 myMethodWithY:withX:]" -analyzer-checker=core,osx.cocoa.RetainCount -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/analyzeOneFunction.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer "-analyze-function=-[Test1 myMethodWithY:withX:]" -analyzer-checker=core,osx.cocoa.RetainCount -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/analyzeOneFunction.m 1. parser at end of file #0 0x0000ffff78ffacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff78ff9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff78ffb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff81f72800 (linux-vdso.so.1+0x800) #4 0x0000ffff812729e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff812729e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff812729e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff812729e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff812729e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff812729e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff812729e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff812729e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff80f20048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff80f20048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff80f20048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff80f20048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff80f20f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff80f20f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff80f20f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff80f20f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff80f33b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff80f33b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff80f33b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff80f35060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff80f35060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff80f35060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff80f34530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff80f34530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff80f34530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff80f40b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff80f40b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff80f40b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff80f4a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff80f4a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff80f4a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff80eaeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff80eaeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff80eaeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff80eaeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff80eaefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff80eaefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff80eaefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff80e82620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff80e82620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff80e82620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff80ebef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff80ebef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff80ebef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff80edce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff80edce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff80edce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff811a6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff811a6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff811a6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff811a6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff811a6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff811a7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff811a7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff811a7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff811ac130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff811ac130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff811ac130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff811ac130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff811ac130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff7f602058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff7f602058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff7f602058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff7f602058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff80cc7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff80c7f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff80c7f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff80c7f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff80d0551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaac3ff59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaac3ff94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaac3ffaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaac3ff1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff7825098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff78250a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaac3ff20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/analyzeOneFunction.m.script: line 1: 2535297 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze-function="-[Test1 myMethodWithY:withX:]" -analyzer-checker=core,osx.cocoa.RetainCount -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/analyzeOneFunction.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/analyzer-stats.c (471 of 18966) ******************** TEST 'Clang :: Analysis/analyzer-stats.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,deadcode.DeadStores,debug.Stats -verify -Wno-unreachable-code -analyzer-max-loop 4 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/analyzer-stats.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,deadcode.DeadStores,debug.Stats -verify -Wno-unreachable-code -analyzer-max-loop 4 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/analyzer-stats.c 1. parser at end of file 2. While analyzing stack: #0 Calling test 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/analyzer-stats.c:9:7: Error evaluating branch #0 0x0000ffff832facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff832f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff832fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8c275800 (linux-vdso.so.1+0x800) #4 0x0000ffff8b5729e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8b5729e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8b5729e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8b5729e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8b5729e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8b5729e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8b5729e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8b5729e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8b220048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8b220048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8b220048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8b220048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8b220f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8b220f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8b220f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8b220f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8b234cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8b234cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8b234cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff8b234f90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8b234f90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8b234f90 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff8b234530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8b234530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8b234530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8b240b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8b240b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8b240b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8b24a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8b24a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8b24a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8b1aeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8b1aeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8b1aeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8b1aeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8b69c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8b69c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8b69c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8b1c4c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff8b1c4c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff8b1c4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff8b1c4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff8b1c4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff8b1c4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff8b1c4c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff8b1c4c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff8b1c4c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff8b1c4c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff8b1c5200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff8b1dcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8b1dcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8b1dcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8b1dcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8b1dcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff8b4a6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8b4a6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8b4a6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8b4a6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8b4a6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff8b4a7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff8b4a7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff8b4a7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8b4ac130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8b4ac130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8b4ac130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8b4ac130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8b4ac130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff89902058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff89902058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff89902058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff89902058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff8afc7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8af7f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8af7f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8af7f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8b00551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaacced59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaacced94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaccedaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaacced1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8255098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff82550a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaacced20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/analyzer-stats.c.script: line 1: 2535356 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,deadcode.DeadStores,debug.Stats -verify -Wno-unreachable-code -analyzer-max-loop 4 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/analyzer-stats.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/array-punned-region.c (472 of 18966) ******************** TEST 'Clang :: Analysis/array-punned-region.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false -triple x86_64-pc-linux-gnu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-punned-region.c : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false -triple i386-pc-linux-gnu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-punned-region.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false -triple x86_64-pc-linux-gnu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-punned-region.c 1. parser at end of file 2. While analyzing stack: #0 Calling array_struct_bitfield_3 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-punned-region.c:38:25: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-punned-region.c:38:25: Error evaluating statement #0 0x0000ffff8a20acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8a209100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8a20b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9318f800 (linux-vdso.so.1+0x800) #4 0x0000ffff922d0508 isEqual /usr/include/llvm/ADT/ImmutableMap.h:45:41 #5 0x0000ffff922d0508 add_internal /usr/include/llvm/ADT/ImmutableSet.h:538:26 #6 0x0000ffff922d0508 add /usr/include/llvm/ADT/ImmutableSet.h:396:0 #7 0x0000ffff922d0508 add /usr/include/llvm/ADT/ImmutableMap.h:100:0 #8 0x0000ffff922d0508 Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:0 #9 0x0000ffff922d0508 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::RegionState>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::RegionState>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::RegionState>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::RegionState>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #10 0x0000ffff922d136c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #11 0x0000ffff922d136c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x0000ffff922d136c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x0000ffff922d136c set<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #14 0x0000ffff922d136c checkPostStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PointerArithChecker.cpp:270:0 #15 0x0000ffff922d136c void clang::ento::check::PostStmt::_checkStmt<(anonymous namespace)::PointerArithChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:104:0 #16 0x0000ffff920a74f8 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #17 0x0000ffff920a74f8 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #18 0x0000ffff920eac78 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #19 0x0000ffff920eac78 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2259:0 #20 0x0000ffff920ec2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #21 0x0000ffff920ec5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #22 0x0000ffff920ec7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #23 0x0000ffff920ecb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #24 0x0000ffff920ecb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #25 0x0000ffff920ecb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #26 0x0000ffff920ecb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #27 0x0000ffff920ecb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #28 0x0000ffff923b6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #29 0x0000ffff923b6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #30 0x0000ffff923b6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #31 0x0000ffff923b6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #32 0x0000ffff923b6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #33 0x0000ffff923b7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #34 0x0000ffff923b7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x0000ffff923b7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #36 0x0000ffff923bc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x0000ffff923bc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x0000ffff923bc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x0000ffff923bc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x0000ffff923bc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x0000ffff90812058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #42 0x0000ffff90812058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x0000ffff90812058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #44 0x0000ffff90812058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x0000ffff91ed7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #46 0x0000ffff91e8f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #47 0x0000ffff91e8f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #48 0x0000ffff91e8f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #49 0x0000ffff91f1551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #50 0x0000aaaabb6f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x0000aaaabb6f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x0000aaaabb6faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x0000aaaabb6f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x0000ffff8946098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #55 0x0000ffff89460a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #56 0x0000aaaabb6f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/array-punned-region.c.script: line 2: 2535387 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false -triple x86_64-pc-linux-gnu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-punned-region.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/array-struct-region.c (473 of 18966) ******************** TEST 'Clang :: Analysis/array-struct-region.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.c 1. parser at end of file 2. While analyzing stack: #0 Calling testFieldChainIsNotEnough 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.c:349:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.c:349:3: Error evaluating statement #0 0x0000ffff9b87acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9b879100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9b87b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa47f7800 (linux-vdso.so.1+0x800) #4 0x0000ffffa395b10c retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa395b10c retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa395b10c retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa395b10c IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa395b10c ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa395b10c MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa395b10c get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffffa395b10c getArrayRegion /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PointerArithChecker.cpp:130:0 #12 0x0000ffffa395b10c (anonymous namespace)::PointerArithChecker::reportPointerArithMisuse(clang::Expr const*, clang::ento::CheckerContext&, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PointerArithChecker.cpp:166:0 #13 0x0000ffffa395b890 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PointerArithChecker.cpp:313:0 #14 0x0000ffffa395b890 void clang::ento::check::PreStmt::_checkStmt<(anonymous namespace)::PointerArithChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:85:0 #15 0x0000ffffa37174f8 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #16 0x0000ffffa37174f8 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #17 0x0000ffffa37435bc llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x0000ffffa37435bc llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x0000ffffa37435bc llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x0000ffffa37435bc llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x0000ffffa37435bc llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x0000ffffa37435bc clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x0000ffffa37435bc clang::ento::ExprEngine::VisitArraySubscriptExpr(clang::ArraySubscriptExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3290:44 #24 0x0000ffffa375ba80 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #25 0x0000ffffa375ba80 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2041:0 #26 0x0000ffffa375c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #27 0x0000ffffa375c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #28 0x0000ffffa375c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #29 0x0000ffffa375cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #30 0x0000ffffa375cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #31 0x0000ffffa375cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #32 0x0000ffffa375cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #33 0x0000ffffa375cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #34 0x0000ffffa3a26bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x0000ffffa3a26bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x0000ffffa3a26bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #37 0x0000ffffa3a26bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #38 0x0000ffffa3a26bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #39 0x0000ffffa3a27b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #40 0x0000ffffa3a27b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x0000ffffa3a27b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #42 0x0000ffffa3a2c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x0000ffffa3a2c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x0000ffffa3a2c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x0000ffffa3a2c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x0000ffffa3a2c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x0000ffffa1e82058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #48 0x0000ffffa1e82058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #49 0x0000ffffa1e82058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #50 0x0000ffffa1e82058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #51 0x0000ffffa3547450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #52 0x0000ffffa34ff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #53 0x0000ffffa34ff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #54 0x0000ffffa34ff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #55 0x0000ffffa358551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #56 0x0000aaaac4c059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #57 0x0000aaaac4c094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #58 0x0000aaaac4c0aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #59 0x0000aaaac4c01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #60 0x0000ffff9aad098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #61 0x0000ffff9aad0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #62 0x0000aaaac4c020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/array-struct-region.c.script: line 1: 2535389 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/array-bound-v2-constraint-check.c (474 of 18966) ******************** TEST 'Clang :: Analysis/array-bound-v2-constraint-check.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.security.ArrayBoundV2,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-bound-v2-constraint-check.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.security.ArrayBoundV2,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-bound-v2-constraint-check.c 1. parser at end of file 2. While analyzing stack: #0 Calling symbolic_longlong_and_int2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-bound-v2-constraint-check.c:95:9: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-bound-v2-constraint-check.c:95:9: Error evaluating statement #0 0x0000ffff7706acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff77069100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7706b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff7ffec800 (linux-vdso.so.1+0x800) #4 0x0000ffff7ef69cd0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff7ef69cd0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff7ef69cd0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff7ef69cd0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff7ef69cd0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff7ef69cd0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff7ef69cd0 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffff7ef69cd0 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffff7ef69cd0 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x0000ffff7ef69dac (anonymous namespace)::RangeConstraintManager::getSymVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2862:36 #14 0x0000ffff7efbd3d8 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #15 0x0000ffff7efbd3d8 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier::getConstOrVisit(clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1246:0 #16 0x0000ffff7efbcc14 VisitSymIntExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1270:0 #17 0x0000ffff7efbcc14 clang::ento::SymExprVisitor<(anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier, clang::ento::SVal>::Visit(clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:0 #18 0x0000ffff7f3c9dd4 VisitNonLocSymbolVal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1365:0 #19 0x0000ffff7f3c9dd4 Visit /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def:67:0 #20 0x0000ffff7f3c9dd4 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1371:0 #21 0x0000ffff7efa4824 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #22 0x0000ffff7efa4824 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #23 0x0000ffff7efbb6a8 (anonymous namespace)::SimpleSValBuilder::evalBinOpNN(llvm::IntrusiveRefCntPtr, clang::BinaryOperatorKind, clang::ento::NonLoc, clang::ento::NonLoc, clang::QualType) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:416:0 #24 0x0000ffff7efb8ce0 compareValueToThreshold(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, clang::ento::NonLoc, clang::ento::SValBuilder&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ArrayBoundCheckerV2.cpp:135:0 #25 0x0000ffff7f2e03a0 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #26 0x0000ffff7f2e03a0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #27 0x0000ffff7f2e03a0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x0000ffff7f2e03a0 (anonymous namespace)::ArrayBoundCheckerV2::checkLocation(clang::ento::SVal, bool, clang::Stmt const*, clang::ento::CheckerContext&) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ArrayBoundCheckerV2.cpp:201:0 #29 0x0000ffff7ef08e38 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #30 0x0000ffff7ef31640 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #31 0x0000ffff7ef31640 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #32 0x0000ffff7ef3187c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #33 0x0000ffff7ef3187c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #34 0x0000ffff7ef3187c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #35 0x0000ffff7ef3187c clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #36 0x0000ffff7ef41540 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x0000ffff7ef41540 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x0000ffff7ef41540 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #39 0x0000ffff7ef4ac54 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #40 0x0000ffff7ef4ac54 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #41 0x0000ffff7ef4ac54 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #42 0x0000ffff7ef4c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #43 0x0000ffff7ef4c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #44 0x0000ffff7ef4c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #45 0x0000ffff7ef4cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffff7ef4cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffff7ef4cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #48 0x0000ffff7ef4cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #49 0x0000ffff7ef4cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #50 0x0000ffff7f216bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffff7f216bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff7f216bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #53 0x0000ffff7f216bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #54 0x0000ffff7f216bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #55 0x0000ffff7f217b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #56 0x0000ffff7f217b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x0000ffff7f217b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #58 0x0000ffff7f21c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffff7f21c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffff7f21c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x0000ffff7f21c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x0000ffff7f21c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x0000ffff7d672058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #64 0x0000ffff7d672058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x0000ffff7d672058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #66 0x0000ffff7d672058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x0000ffff7ed37450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #68 0x0000ffff7ecef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #69 0x0000ffff7ecef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #70 0x0000ffff7ecef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #71 0x0000ffff7ed7551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #72 0x0000aaaab21d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #73 0x0000aaaab21d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #74 0x0000aaaab21daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #75 0x0000aaaab21d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #76 0x0000ffff762c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #77 0x0000ffff762c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #78 0x0000aaaab21d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/array-bound-v2-constraint-check.c.script: line 1: 2535377 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.security.ArrayBoundV2,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-bound-v2-constraint-check.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/array-init-loop.cpp (475 of 18966) ******************** TEST 'Clang :: Analysis/array-init-loop.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-init-loop.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-init-loop.cpp 1. parser at end of file #0 0x0000ffffa383acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa3839100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa383b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffac7b9800 (linux-vdso.so.1+0x800) #4 0x0000ffffabab29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffabab29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffabab29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffabab29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffabab29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffabab29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffabab29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffabab29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffab760048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffab760048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffab760048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffab760048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffab760f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffab760f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffab760f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffab760f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffab773b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffab773b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffab773b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffab775060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffab775060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffab775060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffab774530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffab774530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffab774530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffab780b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffab780b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffab780b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffab78a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffab78a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffab78a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffab6eeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffab6eeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffab6eeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffab6eeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffab6eefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffab6eefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffab6eefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffab6c2620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffab6c2620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffab6c2620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffab6fef2c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffab6fef2c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffab6fef2c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffab71ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffab71ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffab71ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffab9e6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffab9e6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffab9e6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffab9e6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffab9e6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffab9e7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffab9e7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffab9e7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffab9ec130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffab9ec130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffab9ec130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffab9ec130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffab9ec130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa9e42058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffa9e42058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa9e42058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffa9e42058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffab507450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffab4bf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffab4bf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffab4bf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffab54551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaac7d959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaac7d994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaac7d9aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaac7d91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffa2a9098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffa2a90a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaac7d920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/array-init-loop.cpp.script: line 1: 2535384 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-init-loop.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/array-struct-region.cpp (477 of 18966) ******************** TEST 'Clang :: Analysis/array-struct-region.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=debug.ExprInspection -verify -Wno-tautological-compare -x c /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.cpp : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=debug.ExprInspection -verify -Wno-tautological-compare -x c++ -std=c++14 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.cpp : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=debug.ExprInspection -verify -Wno-tautological-compare -x c++ -std=c++17 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.cpp : 'RUN: at line 13'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=debug.ExprInspection -verify -Wno-tautological-compare -DINLINE -x c /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.cpp : 'RUN: at line 17'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=debug.ExprInspection -verify -Wno-tautological-compare -DINLINE -x c++ -std=c++14 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.cpp : 'RUN: at line 21'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=debug.ExprInspection -verify -Wno-tautological-compare -DINLINE -x c++ -std=c++17 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=debug.ExprInspection -verify -Wno-tautological-compare -x c /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testImmediateUseParens 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.cpp:116:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.cpp:116:7: Error evaluating statement #0 0x0000ffff87edacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff87ed9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff87edb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff90e5b800 (linux-vdso.so.1+0x800) #4 0x0000ffff901529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff901529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff901529e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff901529e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff901529e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff901529e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff901529e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff901529e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8fe00048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8fe00048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8fe00048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8fe00048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8fe00f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8fe00f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8fe00f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8fe00f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8fe13b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8fe13b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8fe13b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8fe15060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8fe15060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8fe15060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8fe14530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8fe14530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8fe14530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8fe20b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8fe20b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8fe20b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8fe2a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8fe2a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8fe2a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8fd8eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8fd8eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8fd8eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8fd8eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9027c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9027c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9027c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8fda1ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff8fda1ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff8fda1ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff8fdbc07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff8fdbc07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff8fdbc07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff8fdbc07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff8fdbc07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff8fdbc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffff8fdbc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffff8fdbc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffff8fdbcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8fdbcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8fdbcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8fdbcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8fdbcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff90086bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff90086bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff90086bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff90086bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff90086bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff90087b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff90087b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff90087b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9008c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9008c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9008c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9008c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9008c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff8e4e2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff8e4e2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff8e4e2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff8e4e2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff8fba7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8fb5f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8fb5f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8fb5f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8fbe551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad80559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad80594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad805aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad8051fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8713098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff87130a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad80520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/array-struct-region.cpp.script: line 6: 2535406 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=debug.ExprInspection -verify -Wno-tautological-compare -x c /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/array-struct.c (478 of 18966) ******************** TEST 'Clang :: Analysis/array-struct.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core.CastToStruct -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core.CastToStruct -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct.c 1. parser at end of file 2. While analyzing stack: #0 Calling testRValueArraySubscriptExpr 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct.c:206:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct.c:206:3: Error evaluating statement #0 0x0000ffff802bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff802b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff802bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff89236800 (linux-vdso.so.1+0x800) #4 0x0000ffff885329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff885329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff885329e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff885329e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff885329e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff885329e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff885329e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff885329e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff881e0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff881e0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff881e0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff881e0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff881e0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff881e0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff881e0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff881e0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff881f3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff881f3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff881f3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff881f5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff881f5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff881f5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff881f4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff881f4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff881f4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff88200b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff88200b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff88200b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8820a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8820a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8820a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8816eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8816eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8816eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8816eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8865c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8865c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8865c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8828e270 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff8828e270 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff8828e270 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffff8828e270 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffff88158e38 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffff88181640 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffff88181640 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffff88186c38 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffff88186c38 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffff88186c38 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff88186c38 clang::ento::ExprEngine::evalStore(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ento::SVal, clang::ProgramPointTag const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3628:15 #53 0x0000ffff8818fc04 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffff8818fc04 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffff8818fc04 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:74:0 #56 0x0000ffff8819bfa8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #57 0x0000ffff8819c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #58 0x0000ffff8819c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #59 0x0000ffff8819c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #60 0x0000ffff8819cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #61 0x0000ffff8819cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #62 0x0000ffff8819cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #63 0x0000ffff8819cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #64 0x0000ffff8819cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #65 0x0000ffff88466bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #66 0x0000ffff88466bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #67 0x0000ffff88466bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #68 0x0000ffff88466bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #69 0x0000ffff88466bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #70 0x0000ffff88467b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #71 0x0000ffff88467b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #72 0x0000ffff88467b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #73 0x0000ffff8846c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #74 0x0000ffff8846c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #75 0x0000ffff8846c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #76 0x0000ffff8846c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #77 0x0000ffff8846c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #78 0x0000ffff868c2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #79 0x0000ffff868c2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #80 0x0000ffff868c2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #81 0x0000ffff868c2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #82 0x0000ffff87f87450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #83 0x0000ffff87f3f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #84 0x0000ffff87f3f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #85 0x0000ffff87f3f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #86 0x0000ffff87fc551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #87 0x0000aaaaaac059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #88 0x0000aaaaaac094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #89 0x0000aaaaaac0aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #90 0x0000aaaaaac01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #91 0x0000ffff7f51098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #92 0x0000ffff7f510a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #93 0x0000aaaaaac020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/array-struct.c.script: line 1: 2535412 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core.CastToStruct -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/assume-controlled-environment.c (479 of 18966) ******************** TEST 'Clang :: Analysis/assume-controlled-environment.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify=untrusted-env /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/assume-controlled-environment.c -analyzer-checker=core -analyzer-checker=alpha.security.taint -analyzer-checker=debug.TaintTest : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/assume-controlled-environment.c -DEXPECT_NO_WARNINGS -analyzer-config assume-controlled-environment=true -analyzer-checker=core -analyzer-checker=alpha.security.taint -analyzer-checker=debug.TaintTest -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify=untrusted-env /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/assume-controlled-environment.c -analyzer-checker=core -analyzer-checker=alpha.security.taint -analyzer-checker=debug.TaintTest 1. parser at end of file 2. While analyzing stack: #0 Calling foo 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/assume-controlled-environment.c:20:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/assume-controlled-environment.c:20:13: Error evaluating statement #0 0x0000ffffb47eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb47e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb47eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbd766800 (linux-vdso.so.1+0x800) #4 0x0000ffffbca58f68 llvm::ImutAVLTree>>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbca58f68 llvm::IntrusiveRefCntPtrInfo>>>>::retain(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbca58f68 llvm::IntrusiveRefCntPtr>>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbca58f68 llvm::IntrusiveRefCntPtr>>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbca58f68 llvm::ImmutableMap>, llvm::ImutKeyValueInfo>>>::ImmutableMap(llvm::ImutAVLTree>>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbca58f68 clang::ento::ProgramStatePartialTrait>, llvm::ImutKeyValueInfo>>>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbca58f68 get<(anonymous namespace)::TaintArgsOnPostVisit> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbca58f68 (anonymous namespace)::GenericTaintChecker::checkPostCall(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp:842:0 #12 0x0000ffffbc6889a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffffbc6889a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffffbc6889a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #15 0x0000ffffbc6889a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #16 0x0000ffffbc6889a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #17 0x0000ffffbc6e8c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #18 0x0000ffffbc6e8c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #19 0x0000ffffbc6e8c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #20 0x0000ffffbc6e8c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #21 0x0000ffffbc6e8c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #22 0x0000ffffbc6e8c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #23 0x0000ffffbc6e9514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #24 0x0000ffffbc6cb270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #25 0x0000ffffbc6cb270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #26 0x0000ffffbc6cc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #27 0x0000ffffbc6cc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #28 0x0000ffffbc6cc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #29 0x0000ffffbc6ccb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #30 0x0000ffffbc6ccb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #31 0x0000ffffbc6ccb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #32 0x0000ffffbc6ccb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #33 0x0000ffffbc6ccb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #34 0x0000ffffbc996bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x0000ffffbc996bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x0000ffffbc996bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #37 0x0000ffffbc996bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #38 0x0000ffffbc996bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #39 0x0000ffffbc997b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #40 0x0000ffffbc997b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x0000ffffbc997b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #42 0x0000ffffbc99c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x0000ffffbc99c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x0000ffffbc99c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x0000ffffbc99c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x0000ffffbc99c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x0000ffffbadf2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #48 0x0000ffffbadf2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #49 0x0000ffffbadf2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #50 0x0000ffffbadf2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #51 0x0000ffffbc4b7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #52 0x0000ffffbc46f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #53 0x0000ffffbc46f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #54 0x0000ffffbc46f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #55 0x0000ffffbc4f551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #56 0x0000aaaada5d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #57 0x0000aaaada5d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #58 0x0000aaaada5daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #59 0x0000aaaada5d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #60 0x0000ffffb3a4098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #61 0x0000ffffb3a40a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #62 0x0000aaaada5d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/assume-controlled-environment.c.script: line 2: 2535430 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify=untrusted-env /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/assume-controlled-environment.c -analyzer-checker=core -analyzer-checker=alpha.security.taint -analyzer-checker=debug.TaintTest -- ******************** Testing: 0 FAIL: Clang :: Analysis/atomics.c (480 of 18966) ******************** TEST 'Clang :: Analysis/atomics.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/atomics.c -analyzer-config eagerly-assume=false -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/atomics.c -analyzer-config eagerly-assume=false 1. parser at end of file 2. While analyzing stack: #0 Calling test_atomic_compare #0 0x0000ffffa4b0acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa4b09100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa4b0b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffada8e800 (linux-vdso.so.1+0x800) #4 0x0000ffffaca2c134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaca2c134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaca2c134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaca2c134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffaca2c134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffaca2c134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffac9d748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffac9d748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffac9d748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffaca02e5c llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #14 0x0000ffffaca02e5c clang::ento::ExprEngine::removeDeadOnEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:187:1 #15 0x0000ffffac9dc4b8 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #16 0x0000ffffac9dc4b8 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #17 0x0000ffffac9dc4b8 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #18 0x0000ffffac9dc4b8 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2951:0 #19 0x0000ffffac9dc948 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #20 0x0000ffffac9ec974 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #21 0x0000ffffac9ecb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #22 0x0000ffffac9ecb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #23 0x0000ffffac9ecb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #24 0x0000ffffac9ecb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #25 0x0000ffffac9ecb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #26 0x0000ffffaccb6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffaccb6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffaccb6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #29 0x0000ffffaccb6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #30 0x0000ffffaccb6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #31 0x0000ffffaccb7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #32 0x0000ffffaccb7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x0000ffffaccb7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #34 0x0000ffffaccbc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x0000ffffaccbc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x0000ffffaccbc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x0000ffffaccbc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x0000ffffaccbc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x0000ffffab112058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #40 0x0000ffffab112058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x0000ffffab112058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #42 0x0000ffffab112058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x0000ffffac7d7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #44 0x0000ffffac78f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #45 0x0000ffffac78f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #46 0x0000ffffac78f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #47 0x0000ffffac81551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #48 0x0000aaaac94f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x0000aaaac94f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x0000aaaac94faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x0000aaaac94f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x0000ffffa3d6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #53 0x0000ffffa3d60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #54 0x0000aaaac94f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/atomics.c.script: line 1: 2535441 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/atomics.c -analyzer-config eagerly-assume=false -- ******************** Testing: 0 FAIL: Clang :: Analysis/base-init.cpp (482 of 18966) ******************** TEST 'Clang :: Analysis/base-init.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-inlining=constructors -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/base-init.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-inlining=constructors -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/base-init.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling B::B() at line 27 #1 Calling f() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/base-init.cpp:23:4: Error evaluating statement #0 0x0000ffff9d4aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9d4a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9d4ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa642e800 (linux-vdso.so.1+0x800) #4 0x0000ffffa5377188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa5377188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa5377188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa5377188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa5377188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa5377188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa5377188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa5377188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffffa538c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffa538c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffa538c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffa538c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffa538c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffa538c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffa538c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffa538c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffa538c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffffa538c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #22 0x0000ffffa538c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffffa538c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffffa538cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffa538cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffa538cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffa538cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffa538cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #29 0x0000ffffa5656bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffa5656bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffa5656bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffa5656bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffa5656bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffa5657b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #35 0x0000ffffa5657b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffa5657b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffa565c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffa565c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffa565c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffa565c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffa565c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffa3ab2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #43 0x0000ffffa3ab2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffa3ab2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #45 0x0000ffffa3ab2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffa5177450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffa512f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffa512f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffa512f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffa51b551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaac46b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaac46b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaac46baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaac46b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff9c70098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff9c700a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaac46b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/base-init.cpp.script: line 1: 2535471 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-inlining=constructors -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/base-init.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/autoreleasewritechecker_test.m (483 of 18966) ******************** TEST 'Clang :: Analysis/autoreleasewritechecker_test.m' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DARC -fobjc-arc -analyzer-checker=core,osx.cocoa.AutoreleaseWrite /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/autoreleasewritechecker_test.m -triple x86_64-darwin -fblocks -verify : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DNOARC -analyzer-checker=core,osx.cocoa.AutoreleaseWrite /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/autoreleasewritechecker_test.m -fblocks -triple x86_64-darwin -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DARC -fobjc-arc -analyzer-checker=core,osx.cocoa.AutoreleaseWrite /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/autoreleasewritechecker_test.m -triple x86_64-darwin -fblocks -verify 1. parser at end of file 2. While analyzing stack: #0 Calling writeIntoError at line 340 #1 Calling anonymous code 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/autoreleasewritechecker_test.m:274:3: Error evaluating statement #0 0x0000ffff9aabacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9aab9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9aabb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa3a32800 (linux-vdso.so.1+0x800) #4 0x0000ffffa2978214 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa2978214 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa2978214 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa2978214 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa2978214 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa2978214 clang::ento::ProgramStatePartialTrait>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa2978214 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa2978214 llvm::IntrusiveRefCntPtr clang::ento::removeDeadImpl<(anonymous namespace)::DynamicTypeMap>(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:166:15 #12 0x0000ffffa2d21c58 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffffa2d21c58 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffffa2d21c58 clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x0000ffffa2d21c58 (anonymous namespace)::DynamicTypePropagation::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp:232:0 #16 0x0000ffffa296cbd4 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #17 0x0000ffffa29873b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x0000ffffa29873b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x0000ffffa29873b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x0000ffffa29873b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x0000ffffa29873b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x0000ffffa29873b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x0000ffffa29873b8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #24 0x0000ffffa299c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #25 0x0000ffffa299c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #26 0x0000ffffa299c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #27 0x0000ffffa299c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #28 0x0000ffffa299c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #29 0x0000ffffa299c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #30 0x0000ffffa299c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #31 0x0000ffffa299c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #32 0x0000ffffa299c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #33 0x0000ffffa299c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #34 0x0000ffffa299c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #35 0x0000ffffa299cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffa299cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffa299cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffffa299cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffffa299cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffffa2c66bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffffa2c66bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffffa2c66bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffffa2c66bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffffa2c66bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffffa2c67b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffffa2c67b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffffa2c67b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffffa2c6c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffffa2c6c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffffa2c6c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffffa2c6c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffffa2c6c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffffa10c2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffffa10c2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffffa10c2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffffa10c2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffffa2787450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffffa273f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffffa273f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffffa273f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffffa27c551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaabbbd59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaabbbd94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaabbbdaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaabbbd1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff99d1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff99d10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaabbbd20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/autoreleasewritechecker_test.m.script: line 2: 2535462 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DARC -fobjc-arc -analyzer-checker=core,osx.cocoa.AutoreleaseWrite /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/autoreleasewritechecker_test.m -triple x86_64-darwin -fblocks -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/bitwise-ops-nocrash.c (484 of 18966) ******************** TEST 'Clang :: Analysis/bitwise-ops-nocrash.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -triple x86_64-linux-gnu -Wno-shift-count-overflow -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bitwise-ops-nocrash.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -triple x86_64-linux-gnu -Wno-shift-count-overflow -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bitwise-ops-nocrash.c 1. parser at end of file #0 0x0000ffffb2fcacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb2fc9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb2fcb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbbf41800 (linux-vdso.so.1+0x800) #4 0x0000ffffbb2429e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbb2429e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbb2429e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbb2429e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbb2429e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbb2429e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbb2429e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbb2429e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbaef0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbaef0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbaef0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbaef0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbaef20b8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbaef20b8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbaef20b8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbaef20b8 (anonymous namespace)::RangeConstraintManager::assumeSymWithinInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3224:0 #20 0x0000ffffbaf041f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbaf041f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbaf041f8 clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:129:64 #23 0x0000ffffbaf04754 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbaf04754 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbaf04754 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #26 0x0000ffffbae7f108 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbae7f108 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbae7f108 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:75 #29 0x0000ffffbae7f108 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffffbae955b8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffbae955b8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffbae955b8 clang::ento::ProgramState::assumeInclusiveRange(clang::ento::DefinedOrUnknownSVal, llvm::APSInt const&, llvm::APSInt const&) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:746:43 #33 0x0000ffffbae955b8 clang::ento::ExprEngine::processSwitch(clang::ento::SwitchNodeBuilder&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3004:42 #34 0x0000ffffbae9cf8c clang::ento::CoreEngine::HandleBlockExit(clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:422:0 #35 0x0000ffffbaeacb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffbaeacb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffbaeacb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffffbaeacb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffffbaeacb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffffbb176bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffffbb176bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffffbb176bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffffbb176bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffffbb176bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffffbb177b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffffbb177b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffffbb177b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffffbb17c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffffbb17c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffffbb17c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffffbb17c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffffbb17c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffffb95d2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffffb95d2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffffb95d2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffffb95d2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffffbac97450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffffbac4f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffffbac4f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffffbac4f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffffbacd551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaac6da59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaac6da94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaac6daaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaac6da1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffffb222098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffffb2220a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaac6da20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/bitwise-ops-nocrash.c.script: line 1: 2535479 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -triple x86_64-linux-gnu -Wno-shift-count-overflow -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bitwise-ops-nocrash.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/bitwise-ops.c (485 of 18966) ******************** TEST 'Clang :: Analysis/bitwise-ops.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -triple x86_64-apple-darwin13 -Wno-shift-count-overflow -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bitwise-ops.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -triple x86_64-apple-darwin13 -Wno-shift-count-overflow -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bitwise-ops.c 1. parser at end of file 2. While analyzing stack: #0 Calling testUnrepresentableLeftShift 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bitwise-ops.c:55:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bitwise-ops.c:55:7: Error evaluating statement #0 0x0000ffff7986acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff79869100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7986b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff827ed800 (linux-vdso.so.1+0x800) #4 0x0000ffff81ae29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff81ae29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff81ae29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff81ae29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff81ae29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff81ae29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff81ae29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff81ae29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff81790048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff81790048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff81790048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff81790048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff81790f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff81790f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff81790f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff81790f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff817a3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff817a3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff817a3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff817a5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff817a5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff817a5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff817a4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff817a4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff817a4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff817b0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff817b0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff817b0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff817ba414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff817ba414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff817ba414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8171ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8171ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8171ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8171ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff81c0c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff81c0c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff81c0c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff81731ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff81731ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff81731ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff8174c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff8174c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff8174c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff8174c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff8174c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff8174c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffff8174c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffff8174c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffff8174cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8174cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8174cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8174cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8174cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff81a16bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff81a16bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff81a16bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff81a16bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff81a16bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff81a17b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff81a17b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff81a17b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff81a1c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff81a1c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff81a1c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff81a1c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff81a1c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff7fe72058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff7fe72058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff7fe72058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff7fe72058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff81537450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff814ef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff814ef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff814ef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8157551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab1a559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab1a594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab1a5aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab1a51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff78ac098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff78ac0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab1a520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/bitwise-ops.c.script: line 1: 2535482 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -triple x86_64-apple-darwin13 -Wno-shift-count-overflow -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bitwise-ops.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/block-in-critical-section.cpp (486 of 18966) ******************** TEST 'Clang :: Analysis/block-in-critical-section.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.unix.BlockInCriticalSection -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/block-in-critical-section.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.unix.BlockInCriticalSection -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/block-in-critical-section.cpp 1. parser at end of file #0 0x0000ffff8b25acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8b259100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8b25b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff941d6800 (linux-vdso.so.1+0x800) #4 0x0000ffff9312c024 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff9312c024 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9312c024 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9312c024 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9312c024 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9312c024 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9312c024 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9312c024 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2911:0 #12 0x0000ffff9312c948 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #13 0x0000ffff9313c974 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #14 0x0000ffff9313cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff9313cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff9313cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff9313cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff9313cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffff93406bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff93406bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff93406bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff93406bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff93406bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff93407b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffff93407b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff93407b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff9340c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff9340c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff9340c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff9340c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff9340c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff91862058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffff91862058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff91862058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffff91862058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff92f27450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff92edf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff92edf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff92edf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff92f6551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaab6dc59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaab6dc94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaab6dcaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaab6dc1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff8a4b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff8a4b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaab6dc20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/block-in-critical-section.cpp.script: line 1: 2535500 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.unix.BlockInCriticalSection -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/block-in-critical-section.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/block-in-critical-section.m (488 of 18966) ******************** TEST 'Clang :: Analysis/block-in-critical-section.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.BlockInCriticalSection -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/block-in-critical-section.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.BlockInCriticalSection -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/block-in-critical-section.m 1. parser at end of file 2. While analyzing stack: #0 Calling shouldNotCrash 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/block-in-critical-section.m:9:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/block-in-critical-section.m:9:3: Error evaluating statement #0 0x0000ffff7819acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff78199100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7819b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff81116800 (linux-vdso.so.1+0x800) #4 0x0000ffff804129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff804129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff804129e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff804129e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff804129e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff804129e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff804129e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff804129e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff800c0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff800c0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff800c0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff800c0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff800c0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff800c0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff800c0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff800c0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff800d3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff800d3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff800d3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff800d5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff800d5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff800d5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff800d4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff800d4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff800d4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff800e0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff800e0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff800e0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff800ea414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff800ea414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff800ea414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8004eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8004eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8004eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8004eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8053c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8053c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8053c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff800b0afc std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffff800b0afc std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffff800b0afc std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffff800b0afc std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffff800b0afc std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffff800b0afc clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #48 0x0000ffff8007ae08 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #49 0x0000ffff8007ae08 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #50 0x0000ffff8007c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffff8007c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffff8007c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffff8007cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8007cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8007cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8007cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8007cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff80346bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff80346bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff80346bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff80346bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff80346bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff80347b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff80347b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff80347b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8034c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8034c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8034c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8034c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8034c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff7e7a2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff7e7a2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff7e7a2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff7e7a2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff7fe67450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff7fe1f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff7fe1f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff7fe1f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff7fea551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac7ca59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac7ca94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac7caaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac7ca1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff773f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff773f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac7ca20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/block-in-critical-section.m.script: line 1: 2535502 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.BlockInCriticalSection -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/block-in-critical-section.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/blocks-no-inline.c (489 of 18966) ******************** TEST 'Clang :: Analysis/blocks-no-inline.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=none -fblocks -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks-no-inline.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=none -fblocks -analyzer-config eagerly-assume=false -verify -x c++ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks-no-inline.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=none -fblocks -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks-no-inline.c 1. parser at end of file 2. While analyzing stack: #0 Calling testInvalidation 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks-no-inline.c:13:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks-no-inline.c:13:3: Error evaluating statement #0 0x0000ffffaf4bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaf4b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaf4bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb8437800 (linux-vdso.so.1+0x800) #4 0x0000ffffb77329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb77329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb77329e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb77329e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb77329e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb77329e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb77329e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb77329e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb73e0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb73e0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb73e0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb73e0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb73e0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb73e0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb73e0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb73e0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb73f3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb73f3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb73f3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb73f5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb73f5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb73f5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb73f4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb73f4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb73f4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb7400b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb7400b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb7400b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb740a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb740a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb740a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb736ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb736ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb736ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb736ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffb7860ea4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb7860ea4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb7860ea4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb7860ea4 getArgumentValueString(clang::CallExpr const*, clang::ento::CheckerContext&) (.part.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:150:20 #43 0x0000ffffb747bd10 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #44 0x0000ffffb747bd10 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #45 0x0000ffffb747bd10 (anonymous namespace)::ExprInspectionChecker::analyzerEval(clang::CallExpr const*, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:215:0 #46 0x0000ffffb74af4b0 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #47 0x0000ffffb74af4b0 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::ExprInspectionChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:0 #48 0x0000ffffb735938c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #49 0x0000ffffb73b8bec llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #50 0x0000ffffb73b8bec llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #51 0x0000ffffb73b8bec clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #52 0x0000ffffb73b8bec clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #53 0x0000ffffb73b9514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #54 0x0000ffffb739b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #55 0x0000ffffb739b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #56 0x0000ffffb739c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #57 0x0000ffffb739c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #58 0x0000ffffb739c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #59 0x0000ffffb739cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb739cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb739cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffffb739cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffffb739cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #64 0x0000ffffb7666bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffffb7666bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffffb7666bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffffb7666bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffffb7666bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffffb766ba04 VisitFunctionDecl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:319:0 #70 0x0000ffffb766ba04 WalkUpFromFunctionDecl /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include/clang/AST/DeclNodes.inc:433:0 #71 0x0000ffffb766ba04 TraverseFunctionDecl /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/RecursiveASTVisitor.h:2226:0 #72 0x0000ffffb766ba04 clang::RecursiveASTVisitor<(anonymous namespace)::AnalysisConsumer>::TraverseDecl(clang::Decl*) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include/clang/AST/DeclNodes.inc:433:0 #73 0x0000ffffb766c054 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:552:0 #74 0x0000ffffb766c054 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #75 0x0000ffffb5ac2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #76 0x0000ffffb5ac2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #77 0x0000ffffb5ac2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #78 0x0000ffffb5ac2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #79 0x0000ffffb7187450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #80 0x0000ffffb713f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #81 0x0000ffffb713f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #82 0x0000ffffb713f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #83 0x0000ffffb71c551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #84 0x0000aaaab2eb59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #85 0x0000aaaab2eb94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #86 0x0000aaaab2ebaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #87 0x0000aaaab2eb1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #88 0x0000ffffae71098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #89 0x0000ffffae710a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #90 0x0000aaaab2eb20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/blocks-no-inline.c.script: line 2: 2535512 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=none -fblocks -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks-no-inline.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/blocks.m (491 of 18966) ******************** TEST 'Clang :: Analysis/blocks.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core -fblocks -verify -Wno-strict-prototypes /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core -fblocks -verify -x objective-c++ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core -fblocks -verify -Wno-strict-prototypes /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks.m 1. parser at end of file #0 0x0000ffff80c7acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff80c79100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff80c7b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff89bf2800 (linux-vdso.so.1+0x800) #4 0x0000ffff88ef29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff88ef29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff88ef29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff88ef29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff88ef29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff88ef29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff88ef29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff88ef29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff88ba0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff88ba0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff88ba0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff88ba0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff88ba0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff88ba0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff88ba0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff88ba0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff88bb3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff88bb3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff88bb3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff88bb5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff88bb5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff88bb5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff88bb4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff88bb4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff88bb4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff88bc0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff88bc0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff88bc0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff88bca414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff88bca414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff88bca414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff88b2eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff88b2eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff88b2eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff88b2eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff88b2efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff88b2efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff88b2efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff88b02620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff88b02620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff88b02620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff88b3ef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff88b3ef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff88b3ef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff88b5ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff88b5ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff88b5ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff88e26bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff88e26bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff88e26bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff88e26bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff88e26bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff88e27b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff88e27b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff88e27b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff88e2c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff88e2c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff88e2c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff88e2c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff88e2c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff87282058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff87282058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff87282058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff87282058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff88947450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff888ff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff888ff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff888ff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff8898551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaab40559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaab40594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaab405aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaab4051fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff7fed098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff7fed0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaab40520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/blocks.m.script: line 2: 2535529 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core -fblocks -verify -Wno-strict-prototypes /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/blocks.mm (492 of 18966) ******************** TEST 'Clang :: Analysis/blocks.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core -fblocks -verify -x objective-c++ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks.mm : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,debug.DumpCFG -fblocks -analyzer-config cfg-rich-constructors=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks.mm > /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/blocks.mm.tmp 2>&1 : 'RUN: at line 3'; /usr/bin/FileCheck --input-file=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/blocks.mm.tmp -check-prefixes=CHECK,WARNINGS /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks.mm : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,debug.DumpCFG -fblocks -analyzer-config cfg-rich-constructors=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks.mm > /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/blocks.mm.tmp 2>&1 : 'RUN: at line 5'; /usr/bin/FileCheck --input-file=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/blocks.mm.tmp -check-prefixes=CHECK,ANALYZER /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core -fblocks -verify -x objective-c++ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks.mm 1. parser at end of file 2. While analyzing stack: #0 Calling testBlockWithCaptureByReference() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks.mm:66:37: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks.mm:66:37: Error evaluating statement #0 0x0000ffffa06eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa06e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa06eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa9668800 (linux-vdso.so.1+0x800) #4 0x0000ffffa85b7804 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa85b7804 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa85b7804 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa85b7804 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa85b7804 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa85b7804 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa85b7804 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffffa85b7804 clang::ento::ExprEngine::getObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:607:55 #12 0x0000ffffa857fb14 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffffa857fb14 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffffa857fb14 clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:429:0 #15 0x0000ffffa857fb14 clang::ento::CallEvent::invalidateRegions(unsigned int, llvm::IntrusiveRefCntPtr) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:272:0 #16 0x0000ffffa85ffcb0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #17 0x0000ffffa85ffcb0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #18 0x0000ffffa85ffcb0 clang::ento::ExprEngine::conservativeEvalCall(clang::ento::CallEvent const&, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:833:0 #19 0x0000ffffa86006c4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x0000ffffa86006c4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x0000ffffa86006c4 clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1266:0 #22 0x0000ffffa8589458 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #23 0x0000ffffa85c53f8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #24 0x0000ffffa85c53f8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #25 0x0000ffffa85c53f8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #26 0x0000ffffa85c53f8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #27 0x0000ffffa85c53f8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #28 0x0000ffffa85c53f8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #29 0x0000ffffa85c53f8 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #30 0x0000ffffa85cb22c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #31 0x0000ffffa85cb22c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #32 0x0000ffffa85cc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #33 0x0000ffffa85cc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #34 0x0000ffffa85cc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #35 0x0000ffffa85ccb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffa85ccb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffa85ccb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffffa85ccb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffffa85ccb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffffa8896bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffffa8896bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffffa8896bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffffa8896bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffffa8896bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffffa8897b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffffa8897b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffffa8897b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffffa889c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffffa889c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffffa889c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffffa889c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffffa889c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffffa6cf2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffffa6cf2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffffa6cf2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffffa6cf2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffffa83b7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffffa836f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffffa836f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffffa836f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffffa83f551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaade7b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaade7b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaade7baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaade7b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff9f94098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff9f940a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaade7b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/blocks.mm.script: line 5: 2535539 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core -fblocks -verify -x objective-c++ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/bool-assignment.c (493 of 18966) ******************** TEST 'Clang :: Analysis/bool-assignment.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core.BoolAssignment,alpha.security.taint -verify -std=c99 -Dbool=_Bool /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bool-assignment.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core.BoolAssignment,alpha.security.taint -verify -x c++ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bool-assignment.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core.BoolAssignment,alpha.security.taint -verify -std=c99 -Dbool=_Bool /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bool-assignment.c 1. parser at end of file 2. While analyzing stack: #0 Calling test_tainted_Boolean 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bool-assignment.c:111:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bool-assignment.c:111:3: Error evaluating statement #0 0x0000ffff7944acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff79449100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7944b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff823cb800 (linux-vdso.so.1+0x800) #4 0x0000ffff816b8f68 llvm::ImutAVLTree>>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff816b8f68 llvm::IntrusiveRefCntPtrInfo>>>>::retain(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff816b8f68 llvm::IntrusiveRefCntPtr>>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff816b8f68 llvm::IntrusiveRefCntPtr>>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff816b8f68 llvm::ImmutableMap>, llvm::ImutKeyValueInfo>>>::ImmutableMap(llvm::ImutAVLTree>>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff816b8f68 clang::ento::ProgramStatePartialTrait>, llvm::ImutKeyValueInfo>>>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff816b8f68 get<(anonymous namespace)::TaintArgsOnPostVisit> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff816b8f68 (anonymous namespace)::GenericTaintChecker::checkPostCall(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp:842:0 #12 0x0000ffff812e89a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffff812e89a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffff812e89a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #15 0x0000ffff812e89a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #16 0x0000ffff812e89a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #17 0x0000ffff81348c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #18 0x0000ffff81348c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #19 0x0000ffff81348c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #20 0x0000ffff81348c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #21 0x0000ffff81348c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #22 0x0000ffff81348c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #23 0x0000ffff81349514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #24 0x0000ffff8132b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #25 0x0000ffff8132b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #26 0x0000ffff8132c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #27 0x0000ffff8132c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #28 0x0000ffff8132c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #29 0x0000ffff8132cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #30 0x0000ffff8132cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #31 0x0000ffff8132cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #32 0x0000ffff8132cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #33 0x0000ffff8132cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #34 0x0000ffff815f6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x0000ffff815f6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x0000ffff815f6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #37 0x0000ffff815f6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #38 0x0000ffff815f6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #39 0x0000ffff815f7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #40 0x0000ffff815f7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x0000ffff815f7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #42 0x0000ffff815fc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x0000ffff815fc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x0000ffff815fc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x0000ffff815fc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x0000ffff815fc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x0000ffff7fa52058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #48 0x0000ffff7fa52058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #49 0x0000ffff7fa52058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #50 0x0000ffff7fa52058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #51 0x0000ffff81117450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #52 0x0000ffff810cf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #53 0x0000ffff810cf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #54 0x0000ffff810cf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #55 0x0000ffff8115551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #56 0x0000aaaab32759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #57 0x0000aaaab32794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #58 0x0000aaaab327aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #59 0x0000aaaab3271fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #60 0x0000ffff786a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #61 0x0000ffff786a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #62 0x0000aaaab32720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/bool-assignment.c.script: line 2: 2535542 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core.BoolAssignment,alpha.security.taint -verify -std=c99 -Dbool=_Bool /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bool-assignment.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/bsd-string.c (496 of 18966) ******************** TEST 'Clang :: Analysis/bsd-string.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -Wno-int-conversion -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bsd-string.c -analyzer-checker=core -analyzer-checker=unix.cstring.NullArg -analyzer-checker=alpha.unix.cstring -analyzer-checker=debug.ExprInspection -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -Wno-int-conversion -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bsd-string.c -analyzer-checker=core -analyzer-checker=unix.cstring.NullArg -analyzer-checker=alpha.unix.cstring -analyzer-checker=debug.ExprInspection 1. parser at end of file 2. While analyzing stack: #0 Calling unknown_val_crash #0 0x0000ffffa4a4acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa4a49100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa4a4b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffad9c2800 (linux-vdso.so.1+0x800) #4 0x0000ffffacda9fbc llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffacda9fbc llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffacda9fbc llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffacda9fbc llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffacda9fbc llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffacda9fbc clang::ento::ProgramStatePartialTrait>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffacda9fbc get<(anonymous namespace)::CStringLength> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffacda9fbc (anonymous namespace)::CStringChecker::checkLiveSymbols(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) const (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2605:0 #12 0x0000ffffac9bff00 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #13 0x0000ffffac9bff00 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #14 0x0000ffffac9bff00 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x0000ffffac9bff00 void clang::ento::check::LiveSymbols::_checkLiveSymbols<(anonymous namespace)::CStringChecker>(void*, llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:306:49 #16 0x0000ffffac8cb360 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x0000ffffac8cb360 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x0000ffffac8cb360 clang::ento::CheckerFn, clang::ento::SymbolReaper&)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #19 0x0000ffffac8cb360 clang::ento::CheckerManager::runCheckersForLiveSymbols(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:547:0 #20 0x0000ffffac9172c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffac9172c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffac9172c0 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1066:48 #23 0x0000ffffac942e5c llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #24 0x0000ffffac942e5c clang::ento::ExprEngine::removeDeadOnEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:187:1 #25 0x0000ffffac91c4b8 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #26 0x0000ffffac91c4b8 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #27 0x0000ffffac91c4b8 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #28 0x0000ffffac91c4b8 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2951:0 #29 0x0000ffffac91c948 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #30 0x0000ffffac92c974 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #31 0x0000ffffac92cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffffac92cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffffac92cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffffac92cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffffac92cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffffacbf6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffacbf6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffacbf6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffffacbf6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffffacbf6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffffacbf7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffffacbf7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffffacbf7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffffacbfc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffffacbfc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffffacbfc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffffacbfc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffffacbfc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffffab052058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffffab052058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffffab052058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffffab052058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffffac717450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffffac6cf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffffac6cf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffffac6cf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffffac75551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaad53e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaad53e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaad53eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaad53e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffffa3ca098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffffa3ca0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaad53e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/bsd-string.c.script: line 1: 2535564 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -Wno-int-conversion -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bsd-string.c -analyzer-checker=core -analyzer-checker=unix.cstring.NullArg -analyzer-checker=alpha.unix.cstring -analyzer-checker=debug.ExprInspection -- ******************** Testing: 0 FAIL: Clang :: Analysis/bstring.cpp (498 of 18966) ******************** TEST 'Clang :: Analysis/bstring.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.cstring,unix.Malloc,alpha.unix.cstring,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DUSE_BUILTINS -analyzer-checker=core,unix.cstring,unix.Malloc,alpha.unix.cstring,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.cpp : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DVARIANT -analyzer-checker=core,unix.cstring,alpha.unix.cstring,unix.Malloc,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.cpp : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DUSE_BUILTINS -DVARIANT -analyzer-checker=core,unix.cstring,alpha.unix.cstring,unix.Malloc,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.cpp : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DSUPPRESS_OUT_OF_BOUND -analyzer-checker=core,unix.cstring,unix.Malloc,alpha.unix.cstring.BufferOverlap,alpha.unix.cstring.NotNullTerminated,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.cstring,unix.Malloc,alpha.unix.cstring,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.cpp 1. parser at end of file #0 0x0000ffffa9f4acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa9f49100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa9f4b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb2ec5800 (linux-vdso.so.1+0x800) #4 0x0000ffffb21c29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb21c29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb21c29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb21c29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb21c29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb21c29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb21c29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb21c29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb1e70048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb1e70048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb1e70048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb1e70048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb1e70f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb1e70f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb1e70f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb1e70f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb1e83b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb1e83b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb1e83b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb1e85060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb1e85060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb1e85060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb1e84530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb1e84530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb1e84530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb1e90b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb1e90b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb1e90b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb1e9a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb1e9a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb1e9a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb1dfeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb1dfeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb1dfeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb1dfeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb1dfefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb1dfefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb1dfefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb1dd2620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffb1dd2620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffb1dd2620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffb1e0ef2c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffb1e0ef2c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffb1e0ef2c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffb1e2ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffb1e2ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffb1e2ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffb20f6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffb20f6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffb20f6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffb20f6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffb20f6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffb20f7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffb20f7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffb20f7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffb20fc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb20fc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb20fc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffb20fc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffb20fc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffb0552058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffb0552058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffb0552058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffb0552058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffb1c17450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffb1bcf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffb1bcf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffb1bcf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffb1c5551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaacebc59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaacebc94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaacebcaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaacebc1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffa91a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffa91a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaacebc20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/bstring.cpp.script: line 5: 2535576 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.cstring,unix.Malloc,alpha.unix.cstring,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/bstring.c (499 of 18966) ******************** TEST 'Clang :: Analysis/bstring.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.c -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=alpha.unix.cstring -analyzer-disable-checker=alpha.unix.cstring.UninitializedRead -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.c -DUSE_BUILTINS -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=alpha.unix.cstring -analyzer-disable-checker=alpha.unix.cstring.UninitializedRead -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false : 'RUN: at line 17'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.c -DVARIANT -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=alpha.unix.cstring -analyzer-disable-checker=alpha.unix.cstring.UninitializedRead -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false : 'RUN: at line 25'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.c -DUSE_BUILTINS -DVARIANT -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=alpha.unix.cstring -analyzer-disable-checker=alpha.unix.cstring.UninitializedRead -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.c -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=alpha.unix.cstring -analyzer-disable-checker=alpha.unix.cstring.UninitializedRead -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false 1. parser at end of file 2. While analyzing stack: #0 Calling nocrash_on_locint_offset 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.c:531:3 : Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.c:531:3 : Error evaluating statement #0 0x0000ffff790facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff790f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff790fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8207f800 (linux-vdso.so.1+0x800) #4 0x0000ffff813729e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff813729e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff813729e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff813729e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff813729e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff813729e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff813729e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff813729e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff81020048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff81020048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff81020048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff81020048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff81020f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff81020f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff81020f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff81020f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff81033b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff81033b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff81033b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff81035060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff81035060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff81035060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff81034530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff81034530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff81034530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff81040b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff81040b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff81040b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8104a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8104a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8104a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff80faea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff80faea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff80faea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff80faea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff814a4608 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff814a4608 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff814a4608 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff814a4608 (anonymous namespace)::CStringChecker::assumeZero(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::QualType) (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:346:0 #43 0x0000ffff8145ac50 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #44 0x0000ffff8145ac50 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #45 0x0000ffff8145ac50 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff8145ac50 (anonymous namespace)::CStringChecker::evalCopyCommon(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::IntrusiveRefCntPtr, (anonymous namespace)::SizeArgExpr, (anonymous namespace)::DestinationArgExpr, (anonymous namespace)::SourceArgExpr, bool, bool, (anonymous namespace)::CharKind) const (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:1285:0 #47 0x0000ffff8106fbdc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #48 0x0000ffff8106fbdc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #49 0x0000ffff8106fbdc (anonymous namespace)::CStringChecker::evalMemcpy(clang::ento::CheckerContext&, clang::CallExpr const*, (anonymous namespace)::CharKind) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:1383:17 #50 0x0000ffff8107dd80 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #51 0x0000ffff8107dd80 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2515:23 #52 0x0000ffff8107dd80 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::CStringChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #53 0x0000ffff80f9938c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #54 0x0000ffff80ff8bec llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #55 0x0000ffff80ff8bec llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #56 0x0000ffff80ff8bec clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #57 0x0000ffff80ff8bec clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #58 0x0000ffff80ff9514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #59 0x0000ffff80fdb270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #60 0x0000ffff80fdb270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #61 0x0000ffff80fdc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #62 0x0000ffff80fdc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #63 0x0000ffff80fdc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #64 0x0000ffff80fdcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x0000ffff80fdcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x0000ffff80fdcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #67 0x0000ffff80fdcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #68 0x0000ffff80fdcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #69 0x0000ffff812a6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #70 0x0000ffff812a6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #71 0x0000ffff812a6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #72 0x0000ffff812a6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #73 0x0000ffff812a6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #74 0x0000ffff812a7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #75 0x0000ffff812a7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #76 0x0000ffff812a7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #77 0x0000ffff812ac130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #78 0x0000ffff812ac130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #79 0x0000ffff812ac130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #80 0x0000ffff812ac130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #81 0x0000ffff812ac130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #82 0x0000ffff7f702058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #83 0x0000ffff7f702058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #84 0x0000ffff7f702058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #85 0x0000ffff7f702058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #86 0x0000ffff80dc7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #87 0x0000ffff80d7f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #88 0x0000ffff80d7f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #89 0x0000ffff80d7f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #90 0x0000ffff80e0551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #91 0x0000aaaae8c259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #92 0x0000aaaae8c294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #93 0x0000aaaae8c2aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #94 0x0000aaaae8c21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #95 0x0000ffff7835098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #96 0x0000ffff78350a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #97 0x0000aaaae8c220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/bstring.c.script: line 4: 2535570 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.c -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=alpha.unix.cstring -analyzer-disable-checker=alpha.unix.cstring.UninitializedRead -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -- ******************** Testing: 0 FAIL: Clang :: Analysis/bstring_UninitRead.c (501 of 18966) ******************** TEST 'Clang :: Analysis/bstring_UninitRead.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring_UninitRead.c -analyzer-checker=core,alpha.unix.cstring -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring_UninitRead.c -analyzer-checker=core,alpha.unix.cstring 1. parser at end of file 2. While analyzing stack: #0 Calling top 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring_UninitRead.c:19:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring_UninitRead.c:19:3: Error evaluating statement #0 0x0000ffffa666acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa6669100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa666b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaf5e8800 (linux-vdso.so.1+0x800) #4 0x0000ffffae8e29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffae8e29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffae8e29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffae8e29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffae8e29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffae8e29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffae8e29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffae8e29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffae590048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffae590048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffae590048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffae590048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffae590f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffae590f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffae590f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffae590f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffae5a3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffae5a3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffae5a3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffae5a5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffae5a5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffae5a5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffae5a4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffae5a4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffae5a4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffae5b0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffae5b0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffae5b0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffae5ba414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffae5ba414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffae5ba414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffae51ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffae51ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffae51ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffae51ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffaea14608 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffaea14608 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffaea14608 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffaea14608 (anonymous namespace)::CStringChecker::assumeZero(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::QualType) (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:346:0 #43 0x0000ffffaea146c8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #44 0x0000ffffaea146c8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #45 0x0000ffffaea146c8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffaea146c8 (anonymous namespace)::CStringChecker::checkNonNull(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, (anonymous namespace)::AnyArgExpr, clang::ento::SVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:358:0 #47 0x0000ffffae9cb194 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #48 0x0000ffffae9cb194 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #49 0x0000ffffae9cb194 (anonymous namespace)::CStringChecker::evalCopyCommon(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::IntrusiveRefCntPtr, (anonymous namespace)::SizeArgExpr, (anonymous namespace)::DestinationArgExpr, (anonymous namespace)::SourceArgExpr, bool, bool, (anonymous namespace)::CharKind) const (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:1304:0 #50 0x0000ffffae5dfbdc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffffae5dfbdc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffae5dfbdc (anonymous namespace)::CStringChecker::evalMemcpy(clang::ento::CheckerContext&, clang::CallExpr const*, (anonymous namespace)::CharKind) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:1383:17 #53 0x0000ffffae5edd80 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #54 0x0000ffffae5edd80 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2515:23 #55 0x0000ffffae5edd80 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::CStringChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #56 0x0000ffffae50938c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #57 0x0000ffffae568bec llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #58 0x0000ffffae568bec llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #59 0x0000ffffae568bec clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #60 0x0000ffffae568bec clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #61 0x0000ffffae569514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #62 0x0000ffffae54b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #63 0x0000ffffae54b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #64 0x0000ffffae54c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #65 0x0000ffffae54c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #66 0x0000ffffae54c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #67 0x0000ffffae54cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffffae54cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffffae54cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #70 0x0000ffffae54cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #71 0x0000ffffae54cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #72 0x0000ffffae816bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #73 0x0000ffffae816bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #74 0x0000ffffae816bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #75 0x0000ffffae816bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #76 0x0000ffffae816bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #77 0x0000ffffae817b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #78 0x0000ffffae817b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #79 0x0000ffffae817b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #80 0x0000ffffae81c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #81 0x0000ffffae81c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #82 0x0000ffffae81c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #83 0x0000ffffae81c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #84 0x0000ffffae81c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #85 0x0000ffffacc72058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #86 0x0000ffffacc72058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #87 0x0000ffffacc72058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #88 0x0000ffffacc72058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #89 0x0000ffffae337450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #90 0x0000ffffae2ef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #91 0x0000ffffae2ef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #92 0x0000ffffae2ef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #93 0x0000ffffae37551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #94 0x0000aaaadccc59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #95 0x0000aaaadccc94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #96 0x0000aaaadcccaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #97 0x0000aaaadccc1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #98 0x0000ffffa58c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #99 0x0000ffffa58c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #100 0x0000aaaadccc20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/bstring_UninitRead.c.script: line 1: 2535584 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring_UninitRead.c -analyzer-checker=core,alpha.unix.cstring -- ******************** Testing: 0 FAIL: Clang :: Analysis/bug_hash_test.cpp (502 of 18966) ******************** TEST 'Clang :: Analysis/bug_hash_test.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bug_hash_test.cpp -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bug_hash_test.cpp -verify 1. parser at end of file #0 0x0000ffffa15facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa15f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa15fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaa572800 (linux-vdso.so.1+0x800) #4 0x0000ffffa94cc024 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa94cc024 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa94cc024 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa94cc024 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa94cc024 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa94cc024 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa94cc024 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa94cc024 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2911:0 #12 0x0000ffffa94cc948 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #13 0x0000ffffa94dc974 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #14 0x0000ffffa94dcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffa94dcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffa94dcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffa94dcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffa94dcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffffa97a6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffa97a6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffa97a6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffa97a6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffa97a6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffa97a7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffffa97a7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffa97a7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffa97ac130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffa97ac130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffa97ac130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffa97ac130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffa97ac130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffffa7c02058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffffa7c02058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffffa7c02058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffffa7c02058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffa92c7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffa927f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffa927f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffa927f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffa930551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaac86659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaac86694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaac866aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaac8661fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffffa085098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffffa0850a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaac86620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/bug_hash_test.cpp.script: line 1: 2535613 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bug_hash_test.cpp -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/bug_hash_test.m (503 of 18966) ******************** TEST 'Clang :: Analysis/bug_hash_test.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bug_hash_test.m -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bug_hash_test.m -verify 1. parser at end of file #0 0x0000ffffa45eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa45e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa45eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffad566800 (linux-vdso.so.1+0x800) #4 0x0000ffffac8629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffac8629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffac8629e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffac8629e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffac8629e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffac8629e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffac8629e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffac8629e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffac510048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffac510048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffac510048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffac510048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffac510f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffac510f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffac510f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffac510f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffac523b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffac523b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffac523b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffac525060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffac525060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffac525060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffac524530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffac524530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffac524530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffac530b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffac530b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffac530b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffac53a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffac53a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffac53a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffac49eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffac49eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffac49eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffac49eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffac49efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffac49efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffac49efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffac472620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffac472620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffac472620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffac4aef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffac4aef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffac4aef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffac4cce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffac4cce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffac4cce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffac796bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffac796bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffac796bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffac796bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffac796bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffac797b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffac797b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffac797b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffac79c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffac79c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffac79c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffac79c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffac79c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffaabf2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffaabf2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffaabf2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffaabf2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffac2b7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffac26f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffac26f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffac26f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffac2f551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaabaec59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaabaec94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaabaecaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaabaec1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffa384098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffa3840a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaabaec20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/bug_hash_test.m.script: line 1: 2535667 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bug_hash_test.m -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/builtin-functions.cpp (504 of 18966) ******************** TEST 'Clang :: Analysis/builtin-functions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/builtin-functions.cpp -std=c++11 -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/builtin-functions.cpp -std=c++11 -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_constant_p(void *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/builtin-functions.cpp:83:44: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/builtin-functions.cpp:83:44: Error evaluating statement #0 0x0000ffff8e6bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8e6b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8e6bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9763c800 (linux-vdso.so.1+0x800) #4 0x0000ffff969329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff969329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff969329e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff969329e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff969329e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff969329e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff969329e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff969329e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff965e0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff965e0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff965e0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff965e0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff965e0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff965e0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff965e0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff965e0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff965f3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff965f3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff965f3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff965f5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff965f5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff965f5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff965f4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff965f4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff965f4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff96600b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff96600b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff96600b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9660a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9660a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9660a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9656ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9656ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9656ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9656ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff96a5c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff96a5c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff96a5c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff96581ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff96581ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff96581ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff9659c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff9659c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff9659c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff9659c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff9659c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff9659c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffff9659c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffff9659c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffff9659cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9659cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9659cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9659cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9659cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff96866bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff96866bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff96866bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff96866bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff96866bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff96867b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff96867b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff96867b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9686c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9686c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9686c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9686c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9686c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff94cc2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff94cc2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff94cc2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff94cc2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff96387450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9633f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9633f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9633f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff963c551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac8c259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac8c294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac8c2aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac8c21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8d91098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff8d910a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac8c220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/builtin-functions.cpp.script: line 1: 2535671 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/builtin-functions.cpp -std=c++11 -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/c11lock.c (505 of 18966) ******************** TEST 'Clang :: Analysis/c11lock.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.core.C11Lock -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/c11lock.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.core.C11Lock -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/c11lock.c 1. parser at end of file 2. While analyzing stack: #0 Calling good3 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/c11lock.c:87:7: Error evaluating statement #0 0x0000ffff94b0acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff94b09100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff94b0b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9da89800 (linux-vdso.so.1+0x800) #4 0x0000ffff9ceae66c retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff9ceae66c retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9ceae66c retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9ceae66c IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9ceae66c ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9ceae66c MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9ceae66c get<(anonymous namespace)::LockMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9ceae66c (anonymous namespace)::PthreadLockChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp:650:37 #12 0x0000ffff9c9bcbd4 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffff9c9d73b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffff9c9d73b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffff9c9d73b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffff9c9d73b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffff9c9d73b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffff9c9d73b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffff9c9d73b8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffff9c9ec264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffff9c9ec264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffff9c9ec264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffff9c9ec264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffff9c9ec264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffff9c9ec264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffff9c9ec264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffff9c9ec264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffff9c9ec264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffff9c9ec5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #30 0x0000ffff9c9ec7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #31 0x0000ffff9c9ecb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffff9c9ecb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffff9c9ecb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffff9c9ecb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffff9c9ecb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffff9ccb6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff9ccb6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff9ccb6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffff9ccb6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffff9ccb6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffff9ccb7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffff9ccb7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffff9ccb7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffff9ccbc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffff9ccbc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffff9ccbc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffff9ccbc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffff9ccbc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffff9b112058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffff9b112058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffff9b112058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffff9b112058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffff9c7d7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffff9c78f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffff9c78f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffff9c78f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffff9c81551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaaea8059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaaea8094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaaea80aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaaea801fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffff93d6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffff93d60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaaea8020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/c11lock.c.script: line 1: 2535689 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.core.C11Lock -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/c11lock.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/call-and-message.cpp (506 of 18966) ******************** TEST 'Clang :: Analysis/call-and-message.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-and-message.cpp -verify=fn-pointer -analyzer-checker=core -analyzer-config core.CallAndMessage:FunctionPointer=true -analyzer-config core.CallAndMessage:ParameterCount=false -analyzer-config core.CallAndMessage:CXXThisMethodCall=false -analyzer-config core.CallAndMessage:CXXDeallocationArg=false -analyzer-config core.CallAndMessage:ArgInitializedness=false -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=false -analyzer-config core.CallAndMessage:NilReceiver=false -analyzer-config core.CallAndMessage:UndefReceiver=false : 'RUN: at line 12'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-and-message.cpp -verify=param-count -analyzer-checker=core -analyzer-config core.CallAndMessage:FunctionPointer=false -analyzer-config core.CallAndMessage:ParameterCount=true -analyzer-config core.CallAndMessage:CXXThisMethodCall=false -analyzer-config core.CallAndMessage:CXXDeallocationArg=false -analyzer-config core.CallAndMessage:ArgInitializedness=false -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=false -analyzer-config core.CallAndMessage:NilReceiver=false -analyzer-config core.CallAndMessage:UndefReceiver=false : 'RUN: at line 23'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-and-message.cpp -verify=method -analyzer-checker=core -analyzer-config core.CallAndMessage:FunctionPointer=false -analyzer-config core.CallAndMessage:ParameterCount=false -analyzer-config core.CallAndMessage:CXXThisMethodCall=true -analyzer-config core.CallAndMessage:CXXDeallocationArg=false -analyzer-config core.CallAndMessage:ArgInitializedness=false -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=false -analyzer-config core.CallAndMessage:NilReceiver=false -analyzer-config core.CallAndMessage:UndefReceiver=false : 'RUN: at line 34'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-and-message.cpp -verify=delete -analyzer-checker=core -analyzer-config core.CallAndMessage:FunctionPointer=false -analyzer-config core.CallAndMessage:ParameterCount=false -analyzer-config core.CallAndMessage:CXXThisMethodCall=false -analyzer-config core.CallAndMessage:CXXDeallocationArg=true -analyzer-config core.CallAndMessage:ArgInitializedness=false -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=false -analyzer-config core.CallAndMessage:NilReceiver=false -analyzer-config core.CallAndMessage:UndefReceiver=false : 'RUN: at line 45'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-and-message.cpp -verify=arg-init -analyzer-checker=core -analyzer-config core.CallAndMessage:FunctionPointer=false -analyzer-config core.CallAndMessage:ParameterCount=false -analyzer-config core.CallAndMessage:CXXThisMethodCall=false -analyzer-config core.CallAndMessage:CXXDeallocationArg=false -analyzer-config core.CallAndMessage:ArgInitializedness=true -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=false -analyzer-config core.CallAndMessage:NilReceiver=false -analyzer-config core.CallAndMessage:UndefReceiver=false : 'RUN: at line 58'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-and-message.cpp -verify=fn-pointer,param-count,method,delete,arg-init -analyzer-checker=core -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call-and-message.cpp.tmp.plist : 'RUN: at line 62'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call-and-message.cpp.tmp.plist | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-and-message.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-and-message.cpp -verify=fn-pointer -analyzer-checker=core -analyzer-config core.CallAndMessage:FunctionPointer=true -analyzer-config core.CallAndMessage:ParameterCount=false -analyzer-config core.CallAndMessage:CXXThisMethodCall=false -analyzer-config core.CallAndMessage:CXXDeallocationArg=false -analyzer-config core.CallAndMessage:ArgInitializedness=false -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=false -analyzer-config core.CallAndMessage:NilReceiver=false -analyzer-config core.CallAndMessage:UndefReceiver=false 1. parser at end of file #0 0x0000ffff8961acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff89619100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8961b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9259d800 (linux-vdso.so.1+0x800) #4 0x0000ffff914ec024 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff914ec024 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff914ec024 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff914ec024 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff914ec024 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff914ec024 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff914ec024 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff914ec024 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2911:0 #12 0x0000ffff914ec948 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #13 0x0000ffff914fc974 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #14 0x0000ffff914fcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff914fcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff914fcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff914fcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff914fcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffff917c6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff917c6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff917c6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff917c6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff917c6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff917c7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffff917c7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff917c7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff917cc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff917cc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff917cc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff917cc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff917cc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff8fc22058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffff8fc22058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff8fc22058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffff8fc22058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff912e7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff9129f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff9129f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff9129f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff9132551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaad20559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaad20594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaad205aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaad2051fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff8887098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff88870a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaad20520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call-and-message.cpp.script: line 7: 2535713 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-and-message.cpp -verify=fn-pointer -analyzer-checker=core -analyzer-config core.CallAndMessage:FunctionPointer=true -analyzer-config core.CallAndMessage:ParameterCount=false -analyzer-config core.CallAndMessage:CXXThisMethodCall=false -analyzer-config core.CallAndMessage:CXXDeallocationArg=false -analyzer-config core.CallAndMessage:ArgInitializedness=false -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=false -analyzer-config core.CallAndMessage:NilReceiver=false -analyzer-config core.CallAndMessage:UndefReceiver=false -- ******************** Testing: 0 FAIL: Clang :: Analysis/call-invalidation.cpp (509 of 18966) ******************** TEST 'Clang :: Analysis/call-invalidation.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-invalidation.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-invalidation.cpp 1. parser at end of file #0 0x0000ffff9945acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff99459100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9945b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa23d3800 (linux-vdso.so.1+0x800) #4 0x0000ffffa132c024 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa132c024 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa132c024 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa132c024 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa132c024 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa132c024 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa132c024 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa132c024 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2911:0 #12 0x0000ffffa132c948 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #13 0x0000ffffa133c974 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #14 0x0000ffffa133cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffa133cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffa133cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffa133cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffa133cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffffa1606bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffa1606bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffa1606bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffa1606bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffa1606bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffa1607b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffffa1607b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffa1607b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffa160c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffa160c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffa160c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffa160c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffa160c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff9fa62058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffff9fa62058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff9fa62058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffff9fa62058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffa1127450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffa10df104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffa10df104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffa10df104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffa116551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaacf8c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaacf8c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaacf8caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaacf8c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff986b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff986b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaacf8c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call-invalidation.cpp.script: line 1: 2535730 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-invalidation.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/call-and-message.m (510 of 18966) ******************** TEST 'Clang :: Analysis/call-and-message.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-and-message.m -verify -Wno-objc-root-class -analyzer-checker=core -analyzer-config core.CallAndMessage:FunctionPointer=false -analyzer-config core.CallAndMessage:ParameterCount=false -analyzer-config core.CallAndMessage:CXXThisMethodCall=false -analyzer-config core.CallAndMessage:CXXDeallocationArg=false -analyzer-config core.CallAndMessage:ArgInitializedness=false -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=false -analyzer-config core.CallAndMessage:NilReceiver=false -analyzer-config core.CallAndMessage:UndefReceiver=true -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call-and-message.m.tmp.plist : 'RUN: at line 13'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call-and-message.m.tmp.plist | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-and-message.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-and-message.m -verify -Wno-objc-root-class -analyzer-checker=core -analyzer-config core.CallAndMessage:FunctionPointer=false -analyzer-config core.CallAndMessage:ParameterCount=false -analyzer-config core.CallAndMessage:CXXThisMethodCall=false -analyzer-config core.CallAndMessage:CXXDeallocationArg=false -analyzer-config core.CallAndMessage:ArgInitializedness=false -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=false -analyzer-config core.CallAndMessage:NilReceiver=false -analyzer-config core.CallAndMessage:UndefReceiver=true -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call-and-message.m.tmp.plist 1. parser at end of file #0 0x0000ffff8a6aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8a6a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8a6ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9362c800 (linux-vdso.so.1+0x800) #4 0x0000ffff929229e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff929229e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff929229e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff929229e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff929229e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff929229e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff929229e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff929229e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff925d0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff925d0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff925d0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff925d0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff925d0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff925d0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff925d0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff925d0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff925e3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff925e3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff925e3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff925e5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff925e5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff925e5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff925e4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff925e4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff925e4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff925f0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff925f0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff925f0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff925fa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff925fa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff925fa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9255eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9255eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9255eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9255eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9255efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9255efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9255efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff92532620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff92532620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff92532620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff9256ef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff9256ef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff9256ef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff9258ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff9258ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff9258ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff92856bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff92856bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff92856bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff92856bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff92856bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff92857b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff92857b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff92857b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff9285c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff9285c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff9285c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff9285c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff9285c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff90cb2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff90cb2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff90cb2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff90cb2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff92377450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff9232f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff9232f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff9232f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff923b551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaac8cc59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaac8cc94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaac8ccaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaac8cc1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff8990098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff89900a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaac8cc20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call-and-message.m.script: line 2: 2535718 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-and-message.m -verify -Wno-objc-root-class -analyzer-checker=core -analyzer-config core.CallAndMessage:FunctionPointer=false -analyzer-config core.CallAndMessage:ParameterCount=false -analyzer-config core.CallAndMessage:CXXThisMethodCall=false -analyzer-config core.CallAndMessage:CXXDeallocationArg=false -analyzer-config core.CallAndMessage:ArgInitializedness=false -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=false -analyzer-config core.CallAndMessage:NilReceiver=false -analyzer-config core.CallAndMessage:UndefReceiver=true -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call-and-message.m.tmp.plist -- ******************** Testing: 0 FAIL: Clang :: Analysis/cast-to-struct.cpp (511 of 18966) ******************** TEST 'Clang :: Analysis/cast-to-struct.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.core.CastToStruct,core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-to-struct.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.core.CastToStruct,core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-to-struct.cpp 1. parser at end of file #0 0x0000ffffac28acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffac289100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffac28b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb5204800 (linux-vdso.so.1+0x800) #4 0x0000ffffb415c024 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb415c024 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb415c024 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb415c024 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb415c024 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb415c024 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb415c024 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb415c024 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2911:0 #12 0x0000ffffb415c948 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #13 0x0000ffffb416c974 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #14 0x0000ffffb416cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffb416cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffb416cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffb416cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffb416cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffffb4436bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffb4436bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffb4436bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffb4436bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffb4436bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffb4437b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffffb4437b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffb4437b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffb443c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffb443c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffb443c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffb443c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffb443c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffffb2892058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffffb2892058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffffb2892058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffffb2892058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffb3f57450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffb3f0f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffb3f0f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffb3f0f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffb3f9551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaad2b859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaad2b894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaad2b8aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaad2b81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffffab4e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffffab4e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaad2b820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cast-to-struct.cpp.script: line 1: 2535748 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.core.CastToStruct,core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-to-struct.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/call_once.cpp (512 of 18966) ******************** TEST 'Clang :: Analysis/call_once.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call_once.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call_once.cpp.tmp.report : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks -analyzer-checker=core,debug.ExprInspection -DEMULATE_LIBSTDCPP -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call_once.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call_once.cpp.tmp.report : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks -analyzer-checker=core,debug.ExprInspection -DEMULATE_LIBCXX03 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call_once.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call_once.cpp.tmp.report : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks -analyzer-checker=core,debug.ExprInspection -DEMULATE_LIBCXX03 -DEMULATE_LIBSTDCPP -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call_once.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call_once.cpp.tmp.report : 'RUN: at line 8'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call_once.cpp.tmp.report -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call_once.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call_once.cpp.tmp.report 1. parser at end of file 2. While analyzing stack: #0 Calling std::call_once(once_flag &, void (*&)(int *), int *&&) at line 413 #1 Calling rdar40270582() 3. Error evaluating statement 4. Error evaluating statement #0 0x0000ffff7d27acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7d279100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7d27b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff861fa800 (linux-vdso.so.1+0x800) #4 0x0000ffff854f29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff854f29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff854f29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff854f29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff854f29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff854f29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff854f29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff854f29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff851a0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff851a0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff851a0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff851a0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff851a0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff851a0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff851a0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff851a0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff851b3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff851b3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff851b3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff851b5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff851b5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff851b5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff851b4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff851b4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff851b4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff851c0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff851c0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff851c0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff851ca414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff851ca414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff851ca414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8512ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8512ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8512ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8512ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8561c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8561c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8561c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff85141ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff85141ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff85141ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff8515c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff8515c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff8515c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff8515c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff8515c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff8515c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffff8515c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffff8515c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffff8515cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8515cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8515cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8515cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8515cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff85426bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff85426bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff85426bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff85426bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff85426bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff85427b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff85427b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff85427b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8542c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8542c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8542c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8542c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8542c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff83882058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff83882058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff83882058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff83882058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff84f47450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff84eff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff84eff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff84eff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff84f8551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad2cf59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad2cf94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad2cfaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad2cf1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7c4d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7c4d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad2cf20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call_once.cpp.script: line 5: 2535739 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call_once.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call_once.cpp.tmp.report -- ******************** Testing: 0 FAIL: Clang :: Analysis/cast-value-notes.cpp (513 of 18966) ******************** TEST 'Clang :: Analysis/cast-value-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple amdgcn-unknown-unknown -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -analyzer-output=text -verify -DX86 -DSUPPRESSED /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp -check-prefix=X86-CHECK : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple amdgcn-unknown-unknown -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -analyzer-config core.NullDereference:SuppressAddressSpaces=false -analyzer-output=text -verify -DX86 -DNOT_SUPPRESSED /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp -check-prefix=X86-CHECK : 'RUN: at line 10'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple amdgcn-unknown-unknown -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -analyzer-config core.NullDereference:SuppressAddressSpaces=true -analyzer-output=text -verify -DX86 -DSUPPRESSED /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp -check-prefix=X86-CHECK : 'RUN: at line 15'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-unknown-unknown -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -analyzer-output=text -verify -DX86 -DSUPPRESSED /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp --check-prefix=X86-CHECK : 'RUN: at line 19'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-unknown-unknown -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -analyzer-config core.NullDereference:SuppressAddressSpaces=true -analyzer-output=text -verify -DX86 -DSUPPRESSED /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp --check-prefix=X86-CHECK-SUPPRESSED : 'RUN: at line 24'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-unknown-unknown -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -analyzer-config core.NullDereference:SuppressAddressSpaces=false -analyzer-output=text -verify -DX86 -DNOT_SUPPRESSED /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp --check-prefix=X86-CHECK : 'RUN: at line 29'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple mips-unknown-unknown -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -analyzer-output=text -verify -DMIPS /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp 2>&1 : 'RUN: at line 33'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple mips-unknown-unknown -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -analyzer-config core.NullDereference:SuppressAddressSpaces=false -analyzer-output=text -verify -DMIPS /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp 2>&1 : 'RUN: at line 38'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple mips-unknown-unknown -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -analyzer-config core.NullDereference:SuppressAddressSpaces=true -analyzer-output=text -verify -DMIPS_SUPPRESSED /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp:100:16: error: X86-CHECK: expected string not found in input // X86-CHECK: "dynamic_types": [ ^ :1:1: note: scanning from here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ :2:7: note: possible intended match here Stack dump: ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. check:100'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: Stack dump: check:100'0 ~~~~~~~~~~~~ check:100'1 ? possible intended match 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple amdgcn-unknown-unknown -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -analyzer-output=text -verify -DX86 -DSUPPRESSED /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp check:100'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4: 1. parser at end of file check:100'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: #0 0x0000ffff94c6acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) check:100'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #1 0x0000ffff94c69100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) check:100'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: #2 0x0000ffff94c6b388 (/usr/lib64/libLLVM-17.so+0x9bb388) check:100'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/cast-value-logic.cpp (514 of 18966) ******************** TEST 'Clang :: Analysis/cast-value-logic.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-logic.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-logic.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling crashes::test_delete_crash() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-logic.cpp:179:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-logic.cpp:179:10: Error evaluating statement #0 0x0000ffff80d3acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff80d39100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff80d3b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff89cb2800 (linux-vdso.so.1+0x800) #4 0x0000ffff88fb29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff88fb29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff88fb29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff88fb29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff88fb29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff88fb29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff88fb29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff88fb29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff88c60048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff88c60048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff88c60048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff88c60048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff88c60f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff88c60f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff88c60f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff88c60f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff88c73b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff88c73b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff88c73b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff88c75060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff88c75060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff88c75060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff88c74530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff88c74530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff88c74530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff88c80b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff88c80b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff88c80b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff88c8a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff88c8a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff88c8a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff88beeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff88beeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff88beeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff88beeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff88beefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff88beefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff88beefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff88faf14c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff88faf14c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff88faf14c clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff88faf14c addCastTransition(clang::ento::CallEvent const&, clang::ento::DefinedOrUnknownSVal, clang::ento::CheckerContext&, bool, bool, bool) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp:202:0 #46 0x0000ffff88cc270c evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp:514:10 #47 0x0000ffff88cc270c bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::CastValueChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #48 0x0000ffff88bd938c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #49 0x0000ffff88c38bec llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #50 0x0000ffff88c38bec llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #51 0x0000ffff88c38bec clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #52 0x0000ffff88c38bec clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #53 0x0000ffff88c39514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #54 0x0000ffff88c1b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #55 0x0000ffff88c1b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #56 0x0000ffff88c1c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #57 0x0000ffff88c1c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #58 0x0000ffff88c1c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #59 0x0000ffff88c1cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff88c1cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff88c1cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffff88c1cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffff88c1cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #64 0x0000ffff88ee6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffff88ee6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffff88ee6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffff88ee6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffff88ee6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffff88ee7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #70 0x0000ffff88ee7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffff88ee7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffff88eec130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffff88eec130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffff88eec130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffff88eec130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffff88eec130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffff87342058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #78 0x0000ffff87342058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffff87342058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #80 0x0000ffff87342058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffff88a07450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffff889bf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffff889bf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffff889bf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffff88a4551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaad03d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaad03d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaad03daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaad03d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffff7ff9098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff7ff90a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaad03d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cast-value-logic.cpp.script: line 1: 2535769 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-logic.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cast-value-state-dump.cpp (515 of 18966) ******************** TEST 'Clang :: Analysis/cast-value-state-dump.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-state-dump.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-state-dump.cpp -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-state-dump.cpp:33:12: error: CHECK: expected string not found in input // CHECK: "dynamic_types": [ ^ :1:1: note: scanning from here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ :2:7: note: possible intended match here Stack dump: ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-state-dump.cpp -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. check:33'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: Stack dump: check:33'0 ~~~~~~~~~~~~ check:33'1 ? possible intended match 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-state-dump.cpp check:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4: 1. parser at end of file check:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: 2. While analyzing stack: check:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #0 Calling evalNonNullParamNonNullReturn(const Shape *) check:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-state-dump.cpp:20:19: Error evaluating statement check:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/casts.cpp (516 of 18966) ******************** TEST 'Clang :: Analysis/casts.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling bool_to_nullptr::foo(S) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.cpp:114:12: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.cpp:114:12: Error evaluating statement #0 0x0000ffffb2b8acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb2b89100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb2b8b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbbb09800 (linux-vdso.so.1+0x800) #4 0x0000ffffbae029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbae029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbae029e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbae029e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbae029e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbae029e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbae029e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbae029e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbaab0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbaab0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbaab0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbaab0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbaab0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbaab0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbaab0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbaab0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbaac3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbaac3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbaac3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbaac5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbaac5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbaac5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbaac4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbaac4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbaac4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbaad0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbaad0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbaad0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbaada414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbaada414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbaada414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbaa3eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbaa3eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbaa3eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbaa3eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbaf2c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbaf2c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbaf2c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffbaa51ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffbaa51ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffbaa51ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffbaa6c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffbaa6c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffbaa6c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffbaa6c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffbaa6c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffbaa6c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffffbaa6c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffffbaa6c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffffbaa6cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffbaa6cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffbaa6cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffbaa6cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffbaa6cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffbad36bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffbad36bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffbad36bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffbad36bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffbad36bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffbad37b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffbad37b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffbad37b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffbad3c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffbad3c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffbad3c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffbad3c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffbad3c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb9192058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb9192058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb9192058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb9192058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffba857450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffba80f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffba80f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffba80f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffba89551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad7da59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad7da94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad7daaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad7da1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffb1de098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffb1de0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad7da20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/casts.cpp.script: line 1: 2535802 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/casts.c (518 of 18966) ******************** TEST 'Clang :: Analysis/casts.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -fenable-matrix -analyzer-checker=core,alpha.core,debug.ExprInspection -Wno-pointer-to-int-cast -Wno-strict-prototypes -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -fenable-matrix -analyzer-checker=core,alpha.core,debug.ExprInspection -Wno-pointer-to-int-cast -Wno-strict-prototypes -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.c : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -fenable-matrix -analyzer-checker=core,alpha.core,debug.ExprInspection -Wno-pointer-to-int-cast -Wno-strict-prototypes -verify -DEAGERLY_ASSUME=1 -w /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.c : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -fenable-matrix -analyzer-checker=core,alpha.core,debug.ExprInspection -Wno-pointer-to-int-cast -Wno-strict-prototypes -verify -DEAGERLY_ASSUME=1 -DBIT32=1 -w /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -fenable-matrix -analyzer-checker=core,alpha.core,debug.ExprInspection -Wno-pointer-to-int-cast -Wno-strict-prototypes -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.c 1. parser at end of file 2. While analyzing stack: #0 Calling symbolic_offset 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.c:279:16: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.c:279:16: Error evaluating statement #0 0x0000ffffac47acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffac479100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffac47b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb53f5800 (linux-vdso.so.1+0x800) #4 0x0000ffffb46f29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb46f29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb46f29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb46f29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb46f29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb46f29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb46f29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb46f29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb43a0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb43a0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb43a0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb43a0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb43a0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb43a0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb43a0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb43a0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb43b3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb43b3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb43b3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb43b5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb43b5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb43b5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb43b4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb43b4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb43b4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb43c0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb43c0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb43c0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb43ca414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb43ca414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb43ca414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb432eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb432eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb432eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb432eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb481c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb481c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb481c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb444e270 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb444e270 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb444e270 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffffb444e270 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffffb4318e38 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffb4341640 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffffb4341640 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffffb434187c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffffb434187c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffffb434187c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffb434187c clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffffb4351540 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffb4351540 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffb4351540 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffffb435ac54 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffffb435ac54 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffffb435ac54 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffffb435c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #60 0x0000ffffb435c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #61 0x0000ffffb435c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #62 0x0000ffffb435cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffffb435cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffffb435cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffffb435cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffffb435cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #67 0x0000ffffb4626bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffffb4626bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffffb4626bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffffb4626bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffffb4626bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffffb4627b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #73 0x0000ffffb4627b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffffb4627b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffffb462c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffffb462c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffffb462c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffffb462c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffffb462c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffffb2a82058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #81 0x0000ffffb2a82058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffffb2a82058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #83 0x0000ffffb2a82058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffffb4147450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffffb40ff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffffb40ff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffffb40ff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffffb418551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaab78c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaab78c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaab78caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaab78c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffffab6d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffffab6d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaab78c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/casts.c.script: line 4: 2535794 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -fenable-matrix -analyzer-checker=core,alpha.core,debug.ExprInspection -Wno-pointer-to-int-cast -Wno-strict-prototypes -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/casts.m (523 of 18966) ******************** TEST 'Clang :: Analysis/casts.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.m 1. parser at end of file 2. While analyzing stack: #0 Calling adium_media_ready_cb 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.m:39:9: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.m:39:9: Error evaluating statement #0 0x0000ffffb5feacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb5fe9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb5feb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbef68800 (linux-vdso.so.1+0x800) #4 0x0000ffffbe2629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbe2629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbe2629e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbe2629e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbe2629e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbe2629e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbe2629e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbe2629e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbdf10048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbdf10048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbdf10048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbdf10048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbdf10f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbdf10f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbdf10f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbdf10f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbdf23b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbdf23b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbdf23b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbdf25060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbdf25060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbdf25060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbdf24530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbdf24530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbdf24530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbdf30b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbdf30b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbdf30b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbdf3a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbdf3a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbdf3a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbde9eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbde9eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbde9eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbde9eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbe38c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbe38c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbe38c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffbdf00afc std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffffbdf00afc std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffffbdf00afc std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffffbdf00afc std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffffbdf00afc std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffffbdf00afc clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #48 0x0000ffffbdecae08 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #49 0x0000ffffbdecae08 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #50 0x0000ffffbdecc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffffbdecc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffffbdecc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffffbdeccb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffbdeccb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffbdeccb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffbdeccb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffbdeccb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffbe196bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffbe196bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffbe196bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffbe196bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffbe196bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffbe197b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffbe197b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffbe197b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffbe19c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffbe19c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffbe19c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffbe19c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffbe19c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffbc5f2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffbc5f2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffbc5f2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffbc5f2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffbdcb7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffbdc6f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffbdc6f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffbdc6f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffbdcf551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaadd2659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaadd2694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaadd26aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaadd261fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffb524098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffb5240a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaadd2620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/casts.m.script: line 1: 2535810 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/cert/env31-c.c (525 of 18966) ******************** TEST 'Clang :: Analysis/cert/env31-c.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -Wno-unused /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env31-c.c -analyzer-checker=core,alpha.security.cert.env.InvalidPtr -verify=putenv,common -DENV_INVALIDATING_CALL="putenv(\"X=Y\")" : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -Wno-unused /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env31-c.c -analyzer-checker=core,alpha.security.cert.env.InvalidPtr -verify=putenvs,common -DENV_INVALIDATING_CALL="_putenv_s(\"X\", \"Y\")" : 'RUN: at line 11'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -Wno-unused /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env31-c.c -analyzer-checker=core,alpha.security.cert.env.InvalidPtr -verify=wputenvs,common -DENV_INVALIDATING_CALL="_wputenv_s(\"X\", \"Y\")" : 'RUN: at line 16'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -Wno-unused /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env31-c.c -analyzer-checker=core,alpha.security.cert.env.InvalidPtr -verify=setenv,common -DENV_INVALIDATING_CALL="setenv(\"X\", \"Y\", 0)" : 'RUN: at line 21'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -Wno-unused /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env31-c.c -analyzer-checker=core,alpha.security.cert.env.InvalidPtr -verify=unsetenv,common -DENV_INVALIDATING_CALL="unsetenv(\"X\")" -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -Wno-unused /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env31-c.c -analyzer-checker=core,alpha.security.cert.env.InvalidPtr -verify=putenv,common -DENV_INVALIDATING_CALL=putenv(\"X=Y\") 1. parser at end of file 2. While analyzing stack: #0 Calling main 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env31-c.c:52:14: Error evaluating statement #0 0x0000ffff9998acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff99989100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9998b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa2905800 (linux-vdso.so.1+0x800) #4 0x0000ffffa18ac134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa18ac134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa18ac134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa18ac134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffa18ac134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffa18ac134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffa185748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffa185748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffa185748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffa186c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffa186c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffa186c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffa186c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffa186c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffa186c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffa186c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffa186c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffa186c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffa186c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #23 0x0000ffffa186c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffa186c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffa186cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffa186cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffa186cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffa186cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffa186cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #30 0x0000ffffa1b36bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffa1b36bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffa1b36bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffa1b36bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffa1b36bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffa1b37b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #36 0x0000ffffa1b37b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffa1b37b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffa1b3c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffa1b3c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffa1b3c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffa1b3c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffa1b3c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff9ff92058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #44 0x0000ffff9ff92058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff9ff92058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #46 0x0000ffff9ff92058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffa1657450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffa160f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffa160f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffa160f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffa169551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaab3e059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaab3e094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaab3e0aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaab3e01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff98be098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff98be0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaab3e020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/cert/Output/env31-c.c.script: line 5: 2535826 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -Wno-unused /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env31-c.c -analyzer-checker=core,alpha.security.cert.env.InvalidPtr -verify=putenv,common -DENV_INVALIDATING_CALL="putenv(\"X=Y\")" -- ******************** Testing: 0 FAIL: Clang :: Analysis/cert/env34-c-cert-examples.c (528 of 18966) ******************** TEST 'Clang :: Analysis/cert/env34-c-cert-examples.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.security.cert.env.InvalidPtr -verify -Wno-unused /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env34-c-cert-examples.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.security.cert.env.InvalidPtr -verify -Wno-unused /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env34-c-cert-examples.c 1. parser at end of file 2. While analyzing stack: #0 Calling correct_usage_2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env34-c-cert-examples.c:73:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env34-c-cert-examples.c:73:7: Error evaluating statement #0 0x0000ffffa7abacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa7ab9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa7abb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb0a3f800 (linux-vdso.so.1+0x800) #4 0x0000ffffafd329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffafd329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffafd329e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffafd329e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffafd329e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffafd329e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffafd329e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffafd329e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffaf9e0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffaf9e0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffaf9e0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffaf9e0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffaf9e0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffaf9e0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffaf9e0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffaf9e0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffaf9f3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffaf9f3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffaf9f3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffaf9f5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffaf9f5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffaf9f5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffaf9f4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffaf9f4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffaf9f4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffafa00b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffafa00b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffafa00b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffafa0a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffafa0a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffafa0a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffaf96eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffaf96eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffaf96eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffaf96eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffafe5c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffafe5c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffafe5c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffaf981ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffaf981ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffaf981ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffaf99c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffaf99c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffaf99c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffaf99c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffaf99c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffaf99c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffffaf99c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffffaf99c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffffaf99cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffaf99cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffaf99cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffaf99cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffaf99cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffafc66bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffafc66bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffafc66bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffafc66bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffafc66bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffafc67b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffafc67b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffafc67b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffafc6c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffafc6c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffafc6c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffafc6c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffafc6c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffae0c2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffae0c2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffae0c2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffae0c2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffaf787450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffaf73f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffaf73f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffaf73f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffaf7c551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaabbc359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaabbc394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaabbc3aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaabbc31fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa6d1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa6d10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaabbc320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/cert/Output/env34-c-cert-examples.c.script: line 1: 2535827 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.security.cert.env.InvalidPtr -verify -Wno-unused /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env34-c-cert-examples.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/cert/pos34-c.cpp (532 of 18966) ******************** TEST 'Clang :: Analysis/cert/pos34-c.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.cert.pos.34c -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/pos34-c.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.cert.pos.34c -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/pos34-c.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_auto_var_used_good::test_heap_memory(const char *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/pos34-c.cpp:47:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/pos34-c.cpp:47:7: Error evaluating statement #0 0x0000ffff7b43acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7b439100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7b43b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff843b1800 (linux-vdso.so.1+0x800) #4 0x0000ffff836b29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff836b29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff836b29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff836b29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff836b29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff836b29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff836b29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff836b29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff83360048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff83360048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff83360048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff83360048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff83360f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff83360f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff83360f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff83360f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff83373b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff83373b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff83373b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff83375060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff83375060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff83375060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff83374530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff83374530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff83374530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff83380b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff83380b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff83380b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8338a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8338a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8338a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff832eea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff832eea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff832eea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff832eea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff837dc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff837dc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff837dc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff83301ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff83301ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff83301ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff8331c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff8331c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff8331c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff8331c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff8331c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff8331c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffff8331c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffff8331c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffff8331cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8331cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8331cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8331cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8331cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff835e6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff835e6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff835e6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff835e6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff835e6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff835e7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff835e7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff835e7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff835ec130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff835ec130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff835ec130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff835ec130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff835ec130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff81a42058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff81a42058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff81a42058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff81a42058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff83107450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff830bf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff830bf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff830bf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8314551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad5ba59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad5ba94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad5baaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad5ba1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7a69098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7a690a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad5ba20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/cert/Output/pos34-c.cpp.script: line 1: 2535859 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.cert.pos.34c -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/pos34-c.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cert/pos34-c-fp-suppression.cpp (533 of 18966) ******************** TEST 'Clang :: Analysis/cert/pos34-c-fp-suppression.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.cert.pos.34c -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/pos34-c-fp-suppression.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.cert.pos.34c -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/pos34-c-fp-suppression.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_auto_var_used_good::bar() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/pos34-c-fp-suppression.cpp:31:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/pos34-c-fp-suppression.cpp:31:7: Error evaluating statement #0 0x0000ffffaa80acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaa809100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaa80b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb3782800 (linux-vdso.so.1+0x800) #4 0x0000ffffb2a829e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb2a829e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb2a829e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb2a829e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb2a829e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb2a829e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb2a829e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb2a829e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb2730048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb2730048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb2730048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb2730048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb2730f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb2730f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb2730f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb2730f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb2743b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb2743b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb2743b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb2745060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb2745060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb2745060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb2744530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb2744530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb2744530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb2750b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb2750b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb2750b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb275a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb275a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb275a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb26bea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb26bea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb26bea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb26bea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffb2bac8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb2bac8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb2bac8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb26d1ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb26d1ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb26d1ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffb26ec07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffb26ec07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffb26ec07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffb26ec07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffb26ec07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffb26ec2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffffb26ec5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffffb26ec7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffffb26ecb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb26ecb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb26ecb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb26ecb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb26ecb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb29b6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb29b6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb29b6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb29b6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb29b6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb29b7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb29b7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb29b7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb29bc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb29bc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb29bc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb29bc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb29bc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb0e12058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb0e12058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb0e12058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb0e12058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb24d7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb248f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb248f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb248f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb251551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad94f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad94f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad94faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad94f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa9a6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa9a60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad94f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/cert/Output/pos34-c-fp-suppression.cpp.script: line 1: 2535856 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.cert.pos.34c -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/pos34-c-fp-suppression.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cert/env34-c.c (534 of 18966) ******************** TEST 'Clang :: Analysis/cert/env34-c.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.cert.env.InvalidPtr -analyzer-output=text -verify -Wno-unused /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env34-c.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.cert.env.InvalidPtr -analyzer-output=text -verify -Wno-unused /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env34-c.c 1. parser at end of file 2. While analyzing stack: #0 Calling localeconv_test2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env34-c.c:329:16: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env34-c.c:329:16: Error evaluating statement #0 0x0000ffffa7b7acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa7b79100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa7b7b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb0afd800 (linux-vdso.so.1+0x800) #4 0x0000ffffafbb35e8 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffafbb35e8 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffafbb35e8 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffafbb35e8 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffafbb35e8 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffafbb35e8 clang::ento::ProgramStatePartialTrait>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffafbb35e8 get<(anonymous namespace)::PreviousCallResultMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffffafbb35e8 (anonymous namespace)::InvalidPtrChecker::postPreviousReturnInvalidatingCall(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/cert/InvalidPtrChecker.cpp:124:0 #12 0x0000ffffafbb4524 (anonymous namespace)::InvalidPtrChecker::checkPostCall(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/cert/InvalidPtrChecker.cpp:199:0 #13 0x0000ffffafa189a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #14 0x0000ffffafa189a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffffafa189a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #16 0x0000ffffafa189a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #17 0x0000ffffafa189a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #18 0x0000ffffafa78c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #19 0x0000ffffafa78c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #20 0x0000ffffafa78c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #21 0x0000ffffafa78c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #22 0x0000ffffafa78c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #23 0x0000ffffafa78c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #24 0x0000ffffafa79514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #25 0x0000ffffafa5b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #26 0x0000ffffafa5b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #27 0x0000ffffafa5c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #28 0x0000ffffafa5c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #29 0x0000ffffafa5c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #30 0x0000ffffafa5cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #31 0x0000ffffafa5cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #32 0x0000ffffafa5cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #33 0x0000ffffafa5cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #34 0x0000ffffafa5cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #35 0x0000ffffafd26bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffafd26bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffafd26bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #38 0x0000ffffafd26bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #39 0x0000ffffafd26bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #40 0x0000ffffafd27b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #41 0x0000ffffafd27b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #42 0x0000ffffafd27b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #43 0x0000ffffafd2c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #44 0x0000ffffafd2c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #45 0x0000ffffafd2c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #46 0x0000ffffafd2c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #47 0x0000ffffafd2c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #48 0x0000ffffae182058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #49 0x0000ffffae182058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #50 0x0000ffffae182058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #51 0x0000ffffae182058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #52 0x0000ffffaf847450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #53 0x0000ffffaf7ff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #54 0x0000ffffaf7ff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #55 0x0000ffffaf7ff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #56 0x0000ffffaf88551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #57 0x0000aaaabc6959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #58 0x0000aaaabc6994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #59 0x0000aaaabc69aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #60 0x0000aaaabc691fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #61 0x0000ffffa6dd098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #62 0x0000ffffa6dd0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #63 0x0000aaaabc6920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/cert/Output/env34-c.c.script: line 1: 2535851 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.cert.env.InvalidPtr -analyzer-output=text -verify -Wno-unused /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env34-c.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/cfref_PR2519.c (537 of 18966) ******************** TEST 'Clang :: Analysis/cfref_PR2519.c' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cfref_PR2519.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cfref_PR2519.c 1. parser at end of file 2. While analyzing stack: #0 Calling main 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cfref_PR2519.c:33:36: Error evaluating statement #0 0x0000ffffadddacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaddd9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffadddb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb6d50800 (linux-vdso.so.1+0x800) #4 0x0000ffffb5cfc134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb5cfc134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb5cfc134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb5cfc134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffb5cfc134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffb5cfc134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffb5ca748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffb5ca748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffb5ca748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffb5cbc264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffb5cbc264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffb5cbc264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffb5cbc264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffb5cbc264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffb5cbc264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffb5cbc264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffb5cbc264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffb5cbc264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffb5cbc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #23 0x0000ffffb5cbc6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffb5cbc9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffb5cbcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffb5cbcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffb5cbcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffb5cbcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffb5cbcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #30 0x0000ffffb5f86bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffb5f86bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffb5f86bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffb5f86bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffb5f86bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffb5f87b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #36 0x0000ffffb5f87b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffb5f87b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffb5f8c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffb5f8c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffb5f8c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffb5f8c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffb5f8c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffb43e2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #44 0x0000ffffb43e2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffb43e2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #46 0x0000ffffb43e2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffb5aa7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffb5a5f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffb5a5f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffb5a5f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffb5ae551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaae38d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaae38d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaae38daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaae38d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffffad03098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffffad030a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaae38d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cfref_PR2519.c.script: line 1: 2535908 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cfref_PR2519.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/cfref_rdar6080742.c (538 of 18966) ******************** TEST 'Clang :: Analysis/cfref_rdar6080742.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cfref_rdar6080742.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cfref_rdar6080742.c 1. parser at end of file 2. While analyzing stack: #0 Calling main 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cfref_rdar6080742.c:48:3: Error evaluating statement #0 0x0000ffffa6b7acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa6b79100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa6b7b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffafafc800 (linux-vdso.so.1+0x800) #4 0x0000ffffaea9c134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaea9c134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaea9c134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaea9c134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffaea9c134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffaea9c134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffaea4748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffaea4748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffaea4748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffaea5c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffaea5c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffaea5c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffaea5c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffaea5c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffaea5c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffaea5c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffaea5c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffaea5c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffaea5c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #23 0x0000ffffaea5c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffaea5c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffaea5cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffaea5cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffaea5cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffaea5cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffaea5cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #30 0x0000ffffaed26bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffaed26bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffaed26bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffaed26bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffaed26bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffaed27b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #36 0x0000ffffaed27b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffaed27b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffaed2c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffaed2c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffaed2c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffaed2c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffaed2c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffad182058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #44 0x0000ffffad182058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffad182058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #46 0x0000ffffad182058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffae847450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffae7ff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffae7ff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffae7ff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffae88551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaac9d359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaac9d394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaac9d3aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaac9d31fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffffa5dd098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffffa5dd0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaac9d320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cfref_rdar6080742.c.script: line 1: 2535917 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cfref_rdar6080742.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/comparison-implicit-casts.cpp (539 of 18966) ******************** TEST 'Clang :: Analysis/comparison-implicit-casts.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.cstring,debug.ExprInspection -triple i386-apple-darwin9 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/comparison-implicit-casts.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.cstring,debug.ExprInspection -triple x86_64-apple-darwin9 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/comparison-implicit-casts.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.cstring,debug.ExprInspection -triple i386-apple-darwin9 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/comparison-implicit-casts.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling PR12206_strlen(const char *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/comparison-implicit-casts.cpp:87:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/comparison-implicit-casts.cpp:87:7: Error evaluating statement #0 0x0000ffff7b56acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7b569100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7b56b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff844e7800 (linux-vdso.so.1+0x800) #4 0x0000ffff837e29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff837e29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff837e29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff837e29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff837e29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff837e29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff837e29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff837e29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff83490048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff83490048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff83490048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff83490048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff83490f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff83490f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff83490f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff83490f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff834a3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff834a3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff834a3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff834a5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff834a5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff834a5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff834a4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff834a4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff834a4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff834b0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff834b0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff834b0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff834ba414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff834ba414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff834ba414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8341ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8341ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8341ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8341ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff83914608 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff83914608 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff83914608 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff83914608 (anonymous namespace)::CStringChecker::assumeZero(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::QualType) (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:346:0 #43 0x0000ffff839146c8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #44 0x0000ffff839146c8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #45 0x0000ffff839146c8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff839146c8 (anonymous namespace)::CStringChecker::checkNonNull(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, (anonymous namespace)::AnyArgExpr, clang::ento::SVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:358:0 #47 0x0000ffff834e1a28 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #48 0x0000ffff834e1a28 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #49 0x0000ffff834e1a28 (anonymous namespace)::CStringChecker::evalstrLengthCommon(clang::ento::CheckerContext&, clang::CallExpr const*, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:1543:45 #50 0x0000ffff834edd80 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #51 0x0000ffff834edd80 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2515:23 #52 0x0000ffff834edd80 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::CStringChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #53 0x0000ffff8340938c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #54 0x0000ffff83468bec llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #55 0x0000ffff83468bec llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #56 0x0000ffff83468bec clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #57 0x0000ffff83468bec clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #58 0x0000ffff83469514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #59 0x0000ffff8344b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #60 0x0000ffff8344b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #61 0x0000ffff8344c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #62 0x0000ffff8344c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #63 0x0000ffff8344c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #64 0x0000ffff8344cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x0000ffff8344cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x0000ffff8344cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #67 0x0000ffff8344cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #68 0x0000ffff8344cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #69 0x0000ffff83716bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #70 0x0000ffff83716bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #71 0x0000ffff83716bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #72 0x0000ffff83716bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #73 0x0000ffff83716bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #74 0x0000ffff83717b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #75 0x0000ffff83717b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #76 0x0000ffff83717b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #77 0x0000ffff8371c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #78 0x0000ffff8371c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #79 0x0000ffff8371c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #80 0x0000ffff8371c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #81 0x0000ffff8371c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #82 0x0000ffff81b72058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #83 0x0000ffff81b72058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #84 0x0000ffff81b72058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #85 0x0000ffff81b72058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #86 0x0000ffff83237450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #87 0x0000ffff831ef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #88 0x0000ffff831ef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #89 0x0000ffff831ef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #90 0x0000ffff8327551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #91 0x0000aaaab6a059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #92 0x0000aaaab6a094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #93 0x0000aaaab6a0aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #94 0x0000aaaab6a01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #95 0x0000ffff7a7c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #96 0x0000ffff7a7c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #97 0x0000aaaab6a020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/comparison-implicit-casts.cpp.script: line 2: 2535954 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.cstring,debug.ExprInspection -triple i386-apple-darwin9 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/comparison-implicit-casts.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/class-object-state-dump.m (540 of 18966) ******************** TEST 'Clang :: Analysis/class-object-state-dump.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/class-object-state-dump.m 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/class-object-state-dump.m -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/class-object-state-dump.m:30:12: error: CHECK: expected string not found in input // CHECK: "class_object_types": [ ^ :1:1: note: scanning from here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ :3:397: note: possible intended match here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/class-object-state-dump.m ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/class-object-state-dump.m -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. check:30'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: Stack dump: check:30'0 ~~~~~~~~~~~~ 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/class-object-state-dump.m check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:30'1 ? possible intended match 4: 1. parser at end of file check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: #0 0x0000ffffb278acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #1 0x0000ffffb2789100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: #2 0x0000ffffb278b388 (/usr/lib64/libLLVM-17.so+0x9bb388) check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: #3 0x0000ffffbb707800 (linux-vdso.so.1+0x800) check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/complex.c (541 of 18966) ******************** TEST 'Clang :: Analysis/complex.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/complex.c -Wno-unreachable-code -ffreestanding -analyzer-checker=core -analyzer-checker=debug.ExprInspection -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/complex.c -Wno-unreachable-code -ffreestanding -analyzer-checker=core -analyzer-checker=debug.ExprInspection 1. parser at end of file 2. While analyzing stack: #0 Calling f1 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/complex.c:17:27: Error evaluating statement #0 0x0000ffffb067acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb0679100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb067b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb95f0800 (linux-vdso.so.1+0x800) #4 0x0000ffffb859c134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb859c134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb859c134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb859c134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffb859c134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffb859c134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffb854748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffb854748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffb854748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffb855c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffb855c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffb855c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffb855c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffb855c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffb855c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffb855c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffb855c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffb855c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffb855c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #23 0x0000ffffb855c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffb855c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffb855cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffb855cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffb855cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffb855cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffb855cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #30 0x0000ffffb8826bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffb8826bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffb8826bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffb8826bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffb8826bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffb8827b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #36 0x0000ffffb8827b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffb8827b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffb882c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffb882c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffb882c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffb882c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffb882c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffb6c82058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #44 0x0000ffffb6c82058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffb6c82058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #46 0x0000ffffb6c82058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffb8347450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffb82ff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffb82ff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffb82ff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffb838551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaabbbd59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaabbbd94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaabbbdaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaabbbd1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffffaf8d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffffaf8d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaabbbd20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/complex.c.script: line 1: 2535980 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/complex.c -Wno-unreachable-code -ffreestanding -analyzer-checker=core -analyzer-checker=debug.ExprInspection -- ******************** Testing: 0 FAIL: Clang :: Analysis/const-method-call.cpp (542 of 18966) ******************** TEST 'Clang :: Analysis/const-method-call.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/const-method-call.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/const-method-call.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling Outer2::Outer2() at line 267 #1 Calling checkThatConstMethodCallDoesInvalidateObjectForCircularReferences() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/const-method-call.cpp:260:8: Error evaluating statement #0 0x0000ffff9d6aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9d6a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9d6ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa6628800 (linux-vdso.so.1+0x800) #4 0x0000ffffa5577188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa5577188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa5577188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa5577188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa5577188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa5577188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa5577188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa5577188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffffa558c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffa558c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffa558c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffa558c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffa558c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffa558c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffa558c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffa558c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffa558c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffffa558c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #22 0x0000ffffa558c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffffa558c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffffa558cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffa558cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffa558cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffa558cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffa558cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #29 0x0000ffffa5856bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffa5856bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffa5856bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffa5856bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffa5856bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffa5857b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #35 0x0000ffffa5857b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffa5857b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffa585c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffa585c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffa585c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffa585c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffa585c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffa3cb2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #43 0x0000ffffa3cb2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffa3cb2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #45 0x0000ffffa3cb2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffa5377450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffa532f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffa532f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffa532f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffa53b551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaaadfb59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaaadfb94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaaadfbaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaaadfb1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff9c90098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff9c900a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaaadfb20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/const-method-call.cpp.script: line 1: 2536010 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/const-method-call.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/conditional-path-notes.c (543 of 18966) ******************** TEST 'Clang :: Analysis/conditional-path-notes.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conditional-path-notes.c -analyzer-checker=core.NullDereference -analyzer-output=text -verify : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conditional-path-notes.c -analyzer-checker=core.NullDereference -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/conditional-path-notes.c.tmp : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling testNonDiagnosableBranchArithmetic 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conditional-path-notes.c:79:7: Error evaluating branch #0 0x0000ffff8e1bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8e1b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8e1bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9713b800 (linux-vdso.so.1+0x800) #4 0x0000ffff960e0444 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff960e0444 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff960e0444 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff960e0444 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff960e0444 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff960e0444 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff960e0444 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff960e0444 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2507:0 #12 0x0000ffff960e0444 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2494:0 #13 0x0000ffff960e0444 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2487:0 #14 0x0000ffff960e0444 trackDisequality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2155:0 #15 0x0000ffff960e0444 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2241:0 #16 0x0000ffff960e0444 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #17 0x0000ffff960e0444 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #18 0x0000ffff960e0444 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:0 #19 0x0000ffff960e0444 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:0 #20 0x0000ffff960e0444 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #21 0x0000ffff960e0444 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #22 0x0000ffff960e0d10 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #23 0x0000ffff960e0d10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #24 0x0000ffff960e0d10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff960e0d10 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #26 0x0000ffff960f4cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff960f4cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff960f4cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #29 0x0000ffff960f4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff960f4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff960f4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #32 0x0000ffff96100b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #33 0x0000ffff96100b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #34 0x0000ffff96100b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #35 0x0000ffff9610a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #36 0x0000ffff9610a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #37 0x0000ffff9610a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #38 0x0000ffff9606ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #39 0x0000ffff9606ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #40 0x0000ffff9606ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #41 0x0000ffff9606ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #42 0x0000ffff9655c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #43 0x0000ffff9655c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #44 0x0000ffff9655c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #45 0x0000ffff96084c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #46 0x0000ffff96084c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #47 0x0000ffff96084c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #48 0x0000ffff96084c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #49 0x0000ffff96084c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #50 0x0000ffff96084c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #51 0x0000ffff96084c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #52 0x0000ffff96084c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #53 0x0000ffff96084c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #54 0x0000ffff96084c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #55 0x0000ffff96085200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #56 0x0000ffff9609cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x0000ffff9609cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x0000ffff9609cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #59 0x0000ffff9609cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #60 0x0000ffff9609cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #61 0x0000ffff96366bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #62 0x0000ffff96366bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #63 0x0000ffff96366bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #64 0x0000ffff96366bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #65 0x0000ffff96366bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #66 0x0000ffff96367b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #67 0x0000ffff96367b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #68 0x0000ffff96367b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #69 0x0000ffff9636c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #70 0x0000ffff9636c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #71 0x0000ffff9636c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #72 0x0000ffff9636c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #73 0x0000ffff9636c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #74 0x0000ffff947c2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #75 0x0000ffff947c2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #76 0x0000ffff947c2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #77 0x0000ffff947c2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #78 0x0000ffff95e87450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #79 0x0000ffff95e3f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #80 0x0000ffff95e3f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #81 0x0000ffff95e3f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #82 0x0000ffff95ec551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #83 0x0000aaaab8c059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #84 0x0000aaaab8c094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #85 0x0000aaaab8c0aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #86 0x0000aaaab8c01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #87 0x0000ffff8d41098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #88 0x0000ffff8d410a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #89 0x0000aaaab8c020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/conditional-path-notes.c.script: line 3: 2536007 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conditional-path-notes.c -analyzer-checker=core.NullDereference -analyzer-output=text -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/conditional-operator.cpp (545 of 18966) ******************** TEST 'Clang :: Analysis/conditional-operator.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conditional-operator.cpp -analyzer-output=text -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conditional-operator.cpp -analyzer-output=text -verify 1. parser at end of file 2. While analyzing stack: #0 Calling OperatorEvaluationTest(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conditional-operator.cpp:12:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conditional-operator.cpp:12:10: Error evaluating statement #0 0x0000ffff8fe5acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8fe59100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8fe5b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff98dd3800 (linux-vdso.so.1+0x800) #4 0x0000ffff980d29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff980d29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff980d29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff980d29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff980d29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff980d29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff980d29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff980d29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff97d80048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff97d80048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff97d80048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff97d80048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff97d80f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff97d80f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff97d80f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff97d80f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff97d93b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff97d93b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff97d93b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff97d95060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff97d95060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff97d95060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff97d94530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff97d94530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff97d94530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff97da0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff97da0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff97da0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff97daa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff97daa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff97daa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff97d0eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff97d0eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff97d0eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff97d0eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff981fc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff981fc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff981fc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff97e2e270 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff97e2e270 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff97e2e270 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffff97e2e270 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffff97cf8e38 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffff97d21640 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffff97d21640 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffff97d2187c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffff97d2187c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffff97d2187c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff97d2187c clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffff97d31540 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffff97d31540 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffff97d31540 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffff97d3ac54 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffff97d3ac54 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffff97d3ac54 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffff97d3c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #60 0x0000ffff97d3c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #61 0x0000ffff97d3c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #62 0x0000ffff97d3cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffff97d3cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffff97d3cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffff97d3cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffff97d3cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #67 0x0000ffff98006bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffff98006bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffff98006bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffff98006bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffff98006bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffff98007b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #73 0x0000ffff98007b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffff98007b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffff9800c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffff9800c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffff9800c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffff9800c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffff9800c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffff96462058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #81 0x0000ffff96462058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffff96462058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #83 0x0000ffff96462058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffff97b27450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffff97adf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffff97adf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffff97adf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffff97b6551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaae02459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaae02494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaae024aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaae0241fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffff8f0b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffff8f0b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaae02420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/conditional-operator.cpp.script: line 1: 2536005 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conditional-operator.cpp -analyzer-output=text -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/constant-folding.c (546 of 18966) ******************** TEST 'Clang :: Analysis/constant-folding.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constant-folding.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constant-folding.c 1. parser at end of file 2. While analyzing stack: #0 Calling testDisequalityRules 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constant-folding.c:310:7: Error evaluating statement #0 0x0000ffff8d92acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8d929100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8d92b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff968ac800 (linux-vdso.so.1+0x800) #4 0x0000ffff9584c134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9584c134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9584c134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9584c134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff9584c134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff9584c134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff957f748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff957f748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff957f748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff9580c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff9580c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff9580c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff9580c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff9580c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff9580c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff9580c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff9580c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff9580c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff9580c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #23 0x0000ffff9580c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff9580c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff9580cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff9580cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff9580cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff9580cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff9580cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #30 0x0000ffff95ad6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff95ad6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff95ad6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff95ad6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff95ad6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff95ad7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #36 0x0000ffff95ad7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff95ad7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff95adc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff95adc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff95adc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff95adc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff95adc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff93f32058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #44 0x0000ffff93f32058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff93f32058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #46 0x0000ffff93f32058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff955f7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff955af104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff955af104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff955af104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff9563551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaad26859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaad26894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaad268aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaad2681fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff8cb8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff8cb80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaad26820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/constant-folding.c.script: line 1: 2536028 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constant-folding.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/constant-folding-crash.cpp (547 of 18966) ******************** TEST 'Clang :: Analysis/constant-folding-crash.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constant-folding-crash.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constant-folding-crash.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling bbi_77010::crash_NE(int, int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constant-folding-crash.cpp:8:9: Error evaluating statement #0 0x0000ffffb34facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb34f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb34fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbc47e800 (linux-vdso.so.1+0x800) #4 0x0000ffffbb41c134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbb41c134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbb41c134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbb41c134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffbb41c134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffbb41c134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffbb3c748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffbb3c748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffbb3c748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffbb3dc264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffbb3dc264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffbb3dc264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffbb3dc264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffbb3dc264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffbb3dc264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffbb3dc264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffbb3dc264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffbb3dc264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffbb3dc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #23 0x0000ffffbb3dc6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffbb3dc9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffbb3dcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffbb3dcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffbb3dcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffbb3dcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffbb3dcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #30 0x0000ffffbb6a6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffbb6a6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffbb6a6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffbb6a6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffbb6a6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffbb6a7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #36 0x0000ffffbb6a7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffbb6a7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffbb6ac130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffbb6ac130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffbb6ac130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffbb6ac130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffbb6ac130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffb9b02058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #44 0x0000ffffb9b02058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffb9b02058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #46 0x0000ffffb9b02058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffbb1c7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffbb17f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffbb17f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffbb17f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffbb20551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaade1059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaade1094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaade10aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaade101fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffffb275098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffffb2750a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaade1020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/constant-folding-crash.cpp.script: line 1: 2536029 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constant-folding-crash.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/constraint-assignor.c (548 of 18966) ******************** TEST 'Clang :: Analysis/constraint-assignor.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint-assignor.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint-assignor.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify 1. parser at end of file 2. While analyzing stack: #0 Calling remainder_with_adjustment_of_composit_lhs 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint-assignor.c:79:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint-assignor.c:79:7: Error evaluating statement #0 0x0000ffffa383acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa3839100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa383b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffac7b0800 (linux-vdso.so.1+0x800) #4 0x0000ffffabab29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffabab29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffabab29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffabab29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffabab29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffabab29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffabab29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffabab29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffab760048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffab760048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffab760048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffab760048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffab760f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffab760f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffab760f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffab760f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffab773b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffab773b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffab773b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffab775060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffab775060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffab775060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffab774530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffab774530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffab774530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffab780b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffab780b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffab780b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffab78a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffab78a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffab78a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffab6eea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffab6eea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffab6eea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffab6eea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffabbdc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffabbdc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffabbdc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffab701ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffab701ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffab701ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffab71c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffab71c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffab71c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffab71c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffab71c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffab71c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffffab71c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffffab71c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffffab71cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffab71cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffab71cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffab71cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffab71cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffab9e6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffab9e6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffab9e6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffab9e6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffab9e6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffab9e7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffab9e7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffab9e7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffab9ec130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffab9ec130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffab9ec130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffab9ec130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffab9ec130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa9e42058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffa9e42058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa9e42058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffa9e42058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffab507450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffab4bf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffab4bf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffab4bf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffab54551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab03d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab03d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab03daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab03d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa2a9098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa2a90a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab03d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/constraint-assignor.c.script: line 1: 2536047 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint-assignor.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/constraint_manager_conditions.cpp (549 of 18966) ******************** TEST 'Clang :: Analysis/constraint_manager_conditions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_conditions.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_conditions.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling cmp_op_table_unknownX2(int, int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_conditions.cpp:217:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_conditions.cpp:217:7: Error evaluating statement #0 0x0000ffff843facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff843f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff843fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8d37b800 (linux-vdso.so.1+0x800) #4 0x0000ffff8c6729e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8c6729e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8c6729e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8c6729e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8c6729e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8c6729e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8c6729e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8c6729e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8c320048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8c320048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8c320048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8c320048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8c320d10 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8c320d10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8c320d10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8c320d10 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffff8c334cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8c334cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8c334cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff8c334530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8c334530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8c334530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #26 0x0000ffff8c340b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #27 0x0000ffff8c340b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #28 0x0000ffff8c340b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #29 0x0000ffff8c34a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x0000ffff8c34a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff8c34a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #32 0x0000ffff8c2aea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffff8c2aea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffff8c2aea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #35 0x0000ffff8c2aea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #36 0x0000ffff8c79c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff8c79c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff8c79c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #39 0x0000ffff8c2c1ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #40 0x0000ffff8c2c1ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #41 0x0000ffff8c2c1ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #42 0x0000ffff8c2dc07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #43 0x0000ffff8c2dc07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #44 0x0000ffff8c2dc07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #45 0x0000ffff8c2dc07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #46 0x0000ffff8c2dc07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #47 0x0000ffff8c2dc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #48 0x0000ffff8c2dc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #49 0x0000ffff8c2dc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #50 0x0000ffff8c2dcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #51 0x0000ffff8c2dcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #52 0x0000ffff8c2dcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #53 0x0000ffff8c2dcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #54 0x0000ffff8c2dcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #55 0x0000ffff8c5a6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #56 0x0000ffff8c5a6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #57 0x0000ffff8c5a6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #58 0x0000ffff8c5a6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #59 0x0000ffff8c5a6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #60 0x0000ffff8c5a7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #61 0x0000ffff8c5a7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x0000ffff8c5a7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #63 0x0000ffff8c5ac130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x0000ffff8c5ac130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x0000ffff8c5ac130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x0000ffff8c5ac130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x0000ffff8c5ac130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x0000ffff8aa02058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #69 0x0000ffff8aa02058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x0000ffff8aa02058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #71 0x0000ffff8aa02058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x0000ffff8c0c7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #73 0x0000ffff8c07f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #74 0x0000ffff8c07f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #75 0x0000ffff8c07f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #76 0x0000ffff8c10551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #77 0x0000aaaaca8b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000aaaaca8b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000aaaaca8baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000aaaaca8b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x0000ffff8365098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #82 0x0000ffff83650a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #83 0x0000aaaaca8b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/constraint_manager_conditions.cpp.script: line 1: 2536049 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_conditions.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/constraint_manager_negate.c (550 of 18966) ******************** TEST 'Clang :: Analysis/constraint_manager_negate.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection,core.builtin -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_negate.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection,core.builtin -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_negate.c 1. parser at end of file 2. While analyzing stack: #0 Calling negate_unsigned_one 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_negate.c:110:3 : Error evaluating branch #0 0x0000ffff9aa1acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9aa19100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9aa1b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa3995800 (linux-vdso.so.1+0x800) #4 0x0000ffffa2c929e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa2c929e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa2c929e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa2c929e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa2c929e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa2c929e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa2c929e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa2c929e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa2940048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa2940048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa2940048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa2940048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa2940f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa2940f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa2940f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa2940f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa2953b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa2953b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa2953b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa2955060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa2955060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa2955060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa2954530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa2954530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa2954530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa2960b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa2960b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa2960b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa296a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa296a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa296a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa28cea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa28cea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa28cea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa28cea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffa2dbc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa2dbc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa2dbc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa28e4c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffa28e4c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffa28e4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffa28e4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffa28e4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffa28e4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffa28e4c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffa28e4c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffa28e4c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffa28e4c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffa28e5200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffa28fcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa28fcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa28fcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa28fcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa28fcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffa2bc6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa2bc6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa2bc6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa2bc6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa2bc6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa2bc7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffa2bc7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa2bc7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa2bcc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa2bcc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa2bcc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa2bcc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa2bcc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa1022058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffa1022058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa1022058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffa1022058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa26e7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa269f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa269f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa269f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa272551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac99659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac99694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac996aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac9961fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff99c7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff99c70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac99620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/constraint_manager_negate.c.script: line 1: 2536057 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection,core.builtin -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_negate.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/constraint_manager_negate_difference.c (551 of 18966) ******************** TEST 'Clang :: Analysis/constraint_manager_negate_difference.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection,core.builtin -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_negate_difference.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection,core.builtin -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_negate_difference.c 1. parser at end of file 2. While analyzing stack: #0 Calling negated_unsigned_range 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_negate_difference.c:150:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_negate_difference.c:150:3: Error evaluating statement #0 0x0000ffff8515acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff85159100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8515b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8e0df800 (linux-vdso.so.1+0x800) #4 0x0000ffff8d080444 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff8d080444 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8d080444 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8d080444 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8d080444 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8d080444 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8d080444 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8d080444 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2507:0 #12 0x0000ffff8d080444 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2494:0 #13 0x0000ffff8d080444 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2487:0 #14 0x0000ffff8d080444 trackDisequality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2155:0 #15 0x0000ffff8d080444 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2241:0 #16 0x0000ffff8d080444 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #17 0x0000ffff8d080444 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #18 0x0000ffff8d080444 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:0 #19 0x0000ffff8d080444 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:0 #20 0x0000ffff8d080444 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #21 0x0000ffff8d080444 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #22 0x0000ffff8d080d10 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #23 0x0000ffff8d080d10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #24 0x0000ffff8d080d10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff8d080d10 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #26 0x0000ffff8d093b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8d093b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8d093b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #29 0x0000ffff8d095060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff8d095060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff8d095060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #32 0x0000ffff8d094530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffff8d094530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffff8d094530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #35 0x0000ffff8d0a0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #36 0x0000ffff8d0a0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #37 0x0000ffff8d0a0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #38 0x0000ffff8d0aa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #39 0x0000ffff8d0aa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #40 0x0000ffff8d0aa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #41 0x0000ffff8d00ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #42 0x0000ffff8d00ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #43 0x0000ffff8d00ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #44 0x0000ffff8d00ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #45 0x0000ffff8d500ea4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #46 0x0000ffff8d500ea4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x0000ffff8d500ea4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #48 0x0000ffff8d500ea4 getArgumentValueString(clang::CallExpr const*, clang::ento::CheckerContext&) (.part.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:150:20 #49 0x0000ffff8d11bd10 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #50 0x0000ffff8d11bd10 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #51 0x0000ffff8d11bd10 (anonymous namespace)::ExprInspectionChecker::analyzerEval(clang::CallExpr const*, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:215:0 #52 0x0000ffff8d14f4b0 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #53 0x0000ffff8d14f4b0 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::ExprInspectionChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:0 #54 0x0000ffff8cff938c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #55 0x0000ffff8d058bec llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #56 0x0000ffff8d058bec llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #57 0x0000ffff8d058bec clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #58 0x0000ffff8d058bec clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #59 0x0000ffff8d059514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #60 0x0000ffff8d03b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #61 0x0000ffff8d03b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #62 0x0000ffff8d03c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #63 0x0000ffff8d03c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #64 0x0000ffff8d03c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #65 0x0000ffff8d03cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x0000ffff8d03cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x0000ffff8d03cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #68 0x0000ffff8d03cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #69 0x0000ffff8d03cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #70 0x0000ffff8d306bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #71 0x0000ffff8d306bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #72 0x0000ffff8d306bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #73 0x0000ffff8d306bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #74 0x0000ffff8d306bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #75 0x0000ffff8d307b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #76 0x0000ffff8d307b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x0000ffff8d307b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #78 0x0000ffff8d30c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x0000ffff8d30c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x0000ffff8d30c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x0000ffff8d30c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x0000ffff8d30c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x0000ffff8b762058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #84 0x0000ffff8b762058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x0000ffff8b762058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #86 0x0000ffff8b762058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x0000ffff8ce27450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #88 0x0000ffff8cddf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #89 0x0000ffff8cddf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #90 0x0000ffff8cddf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #91 0x0000ffff8ce6551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #92 0x0000aaaac42c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x0000aaaac42c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x0000aaaac42caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x0000aaaac42c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x0000ffff843b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #97 0x0000ffff843b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #98 0x0000aaaac42c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/constraint_manager_negate_difference.c.script: line 1: 2536068 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection,core.builtin -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_negate_difference.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/conversion-tracking-notes.c (552 of 18966) ******************** TEST 'Clang :: Analysis/conversion-tracking-notes.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conversion-tracking-notes.c -Wno-conversion -Wno-tautological-constant-compare -analyzer-checker=core,apiModeling,alpha.core.Conversion -analyzer-output=text -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conversion-tracking-notes.c -Wno-conversion -Wno-tautological-constant-compare -analyzer-checker=core,apiModeling,alpha.core.Conversion -analyzer-output=text -verify 1. parser at end of file 2. While analyzing stack: #0 Calling track_relational #0 0x0000ffffae73acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffae739100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffae73b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb76ba800 (linux-vdso.so.1+0x800) #4 0x0000ffffb665c134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb665c134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb665c134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb665c134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffb665c134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffb665c134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffb660748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffb660748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffb660748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffb6632e5c llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #14 0x0000ffffb6632e5c clang::ento::ExprEngine::removeDeadOnEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:187:1 #15 0x0000ffffb660c4b8 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #16 0x0000ffffb660c4b8 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #17 0x0000ffffb660c4b8 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #18 0x0000ffffb660c4b8 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2951:0 #19 0x0000ffffb660c948 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #20 0x0000ffffb661c974 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #21 0x0000ffffb661cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #22 0x0000ffffb661cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #23 0x0000ffffb661cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #24 0x0000ffffb661cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #25 0x0000ffffb661cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #26 0x0000ffffb68e6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb68e6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb68e6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #29 0x0000ffffb68e6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #30 0x0000ffffb68e6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #31 0x0000ffffb68e7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #32 0x0000ffffb68e7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x0000ffffb68e7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #34 0x0000ffffb68ec130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x0000ffffb68ec130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x0000ffffb68ec130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x0000ffffb68ec130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x0000ffffb68ec130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x0000ffffb4d42058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #40 0x0000ffffb4d42058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x0000ffffb4d42058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #42 0x0000ffffb4d42058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x0000ffffb6407450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #44 0x0000ffffb63bf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #45 0x0000ffffb63bf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #46 0x0000ffffb63bf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #47 0x0000ffffb644551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #48 0x0000aaaac81159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x0000aaaac81194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x0000aaaac811aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x0000aaaac8111fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x0000ffffad99098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #53 0x0000ffffad990a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #54 0x0000aaaac81120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/conversion-tracking-notes.c.script: line 1: 2536089 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conversion-tracking-notes.c -Wno-conversion -Wno-tautological-constant-compare -analyzer-checker=core,apiModeling,alpha.core.Conversion -analyzer-output=text -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/container-modeling.cpp (553 of 18966) ******************** TEST 'Clang :: Analysis/container-modeling.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/container-modeling.cpp -analyzer-output=text -verify : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=true -DINLINE=1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/container-modeling.cpp -analyzer-output=text -verify : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.IteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/container-modeling.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/container-modeling.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/container-modeling.cpp -analyzer-output=text -verify 1. parser at end of file 2. While analyzing stack: #0 Calling print_state(std::vector &) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/container-modeling.cpp:248:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/container-modeling.cpp:248:3: Error evaluating statement #0 0x0000ffff9ea9acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9ea99100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9ea9b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa7a14800 (linux-vdso.so.1+0x800) #4 0x0000ffffa6999cd0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffa6999cd0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa6999cd0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa6999cd0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa6999cd0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa6999cd0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa6999cd0 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffffa6999cd0 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffffa6999cd0 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x0000ffffa6999dac (anonymous namespace)::RangeConstraintManager::getSymVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2862:36 #14 0x0000ffffa69ed3d8 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #15 0x0000ffffa69ed3d8 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier::getConstOrVisit(clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1246:0 #16 0x0000ffffa69ecc14 VisitSymIntExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1270:0 #17 0x0000ffffa69ecc14 clang::ento::SymExprVisitor<(anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier, clang::ento::SVal>::Visit(clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:0 #18 0x0000ffffa6df9dd4 VisitNonLocSymbolVal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1365:0 #19 0x0000ffffa6df9dd4 Visit /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def:67:0 #20 0x0000ffffa6df9dd4 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1371:0 #21 0x0000ffffa69d4824 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #22 0x0000ffffa69d4824 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #23 0x0000ffffa69d3df8 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #24 0x0000ffffa69d3efc clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #25 0x0000ffffa69d4f3c clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:26:17 #26 0x0000ffffa69d4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa69d4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa69d4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa69e0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa69e0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa69e0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa69ea414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa69ea414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa69ea414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa694ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa694ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa694ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa694ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffa694efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa694efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa694efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa6922620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa6922620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa6922620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa6ad5894 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #46 0x0000ffffa6ad5894 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #47 0x0000ffffa6ad5894 clang::ento::iterator::assumeNoOverflow(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, long) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/Iterator.cpp:291:0 #48 0x0000ffffa6a51d18 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #49 0x0000ffffa6a51d18 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa6a51d18 createContainerBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:850:0 #51 0x0000ffffa6a51d18 handleBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:258:0 #52 0x0000ffffa6a51d18 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:193:0 #53 0x0000ffffa6a51d18 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::ContainerModeling>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #54 0x0000ffffa69389a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #55 0x0000ffffa69389a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x0000ffffa69389a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #57 0x0000ffffa69389a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #58 0x0000ffffa69389a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #59 0x0000ffffa6998c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #60 0x0000ffffa6998c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #61 0x0000ffffa6998c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #62 0x0000ffffa6998c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #63 0x0000ffffa6998c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #64 0x0000ffffa6998c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #65 0x0000ffffa6999514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #66 0x0000ffffa697b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #67 0x0000ffffa697b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #68 0x0000ffffa697c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #69 0x0000ffffa697c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #70 0x0000ffffa697c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #71 0x0000ffffa697cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x0000ffffa697cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x0000ffffa697cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #74 0x0000ffffa697cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #75 0x0000ffffa697cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #76 0x0000ffffa6c46bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #77 0x0000ffffa6c46bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #78 0x0000ffffa6c46bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #79 0x0000ffffa6c46bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #80 0x0000ffffa6c46bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #81 0x0000ffffa6c47b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #82 0x0000ffffa6c47b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #83 0x0000ffffa6c47b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #84 0x0000ffffa6c4c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #85 0x0000ffffa6c4c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #86 0x0000ffffa6c4c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #87 0x0000ffffa6c4c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #88 0x0000ffffa6c4c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #89 0x0000ffffa50a2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #90 0x0000ffffa50a2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #91 0x0000ffffa50a2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #92 0x0000ffffa50a2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #93 0x0000ffffa6767450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #94 0x0000ffffa671f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #95 0x0000ffffa671f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #96 0x0000ffffa671f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #97 0x0000ffffa67a551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #98 0x0000aaaab98959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #99 0x0000aaaab98994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #100 0x0000aaaab989aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #101 0x0000aaaab9891fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #102 0x0000ffff9dcf098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #103 0x0000ffff9dcf0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #104 0x0000aaaab98920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/container-modeling.cpp.script: line 3: 2536080 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/container-modeling.cpp -analyzer-output=text -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/conversion.c (555 of 18966) ******************** TEST 'Clang :: Analysis/conversion.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conversion.c -Wno-conversion -Wno-tautological-constant-compare -analyzer-checker=core,apiModeling,alpha.unix.StdCLibraryFunctions,alpha.core.Conversion -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conversion.c -Wno-conversion -Wno-tautological-constant-compare -analyzer-checker=core,apiModeling,alpha.unix.StdCLibraryFunctions,alpha.core.Conversion -verify 1. parser at end of file 2. While analyzing stack: #0 Calling floating_point 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conversion.c:235:14: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conversion.c:235:14: Error evaluating statement #0 0x0000ffffa0b7acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa0b79100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa0b7b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa9afa800 (linux-vdso.so.1+0x800) #4 0x0000ffffa8a79cd0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffa8a79cd0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa8a79cd0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa8a79cd0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa8a79cd0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa8a79cd0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa8a79cd0 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffffa8a79cd0 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffffa8a79cd0 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x0000ffffa8a79dac (anonymous namespace)::RangeConstraintManager::getSymVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2862:36 #14 0x0000ffffa8a8da34 clang::ento::ProgramState::getSVal(clang::ento::Loc, clang::QualType) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:273:0 #15 0x0000ffffa8a41a34 clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3670:25 #16 0x0000ffffa8a51540 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x0000ffffa8a51540 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x0000ffffa8a51540 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #19 0x0000ffffa8a5ac54 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #20 0x0000ffffa8a5ac54 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #21 0x0000ffffa8a5ac54 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #22 0x0000ffffa8a5c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #23 0x0000ffffa8a5c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #24 0x0000ffffa8a5c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #25 0x0000ffffa8a5cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffa8a5cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffa8a5cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffa8a5cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffa8a5cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #30 0x0000ffffa8d26bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffa8d26bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffa8d26bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffa8d26bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffa8d26bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffa8d27b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #36 0x0000ffffa8d27b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffa8d27b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffa8d2c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffa8d2c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffa8d2c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffa8d2c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffa8d2c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffa7182058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #44 0x0000ffffa7182058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffa7182058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #46 0x0000ffffa7182058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffa8847450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffa87ff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffa87ff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffa87ff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffa888551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaae38c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaae38c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaae38caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaae38c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff9fdd098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff9fdd0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaae38c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/conversion.c.script: line 1: 2536120 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conversion.c -Wno-conversion -Wno-tautological-constant-compare -analyzer-checker=core,apiModeling,alpha.unix.StdCLibraryFunctions,alpha.core.Conversion -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/conversion.cpp (556 of 18966) ******************** TEST 'Clang :: Analysis/conversion.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-conversion -Wno-tautological-constant-compare -analyzer-checker=core,alpha.core.Conversion -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conversion.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-conversion -Wno-tautological-constant-compare -analyzer-checker=core,alpha.core.Conversion -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conversion.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling functioncall1(long) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conversion.cpp:21:5: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conversion.cpp:21:5: Error evaluating statement #0 0x0000ffff97f4acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff97f49100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff97f4b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa0ec9800 (linux-vdso.so.1+0x800) #4 0x0000ffff9fe17804 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9fe17804 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9fe17804 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9fe17804 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9fe17804 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9fe17804 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9fe17804 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff9fe17804 clang::ento::ExprEngine::getObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:607:55 #12 0x0000ffff9fde03fc std::_Optional_base_impl>::_M_is_engaged() const /usr/include/c++/12/optional:471:0 #13 0x0000ffff9fde03fc std::optional::has_value() const /usr/include/c++/12/optional:988:0 #14 0x0000ffff9fde03fc clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:431:0 #15 0x0000ffff9fde03fc addParameterValuesToBindings(clang::StackFrameContext const*, llvm::SmallVectorImpl>&, clang::ento::SValBuilder&, clang::ento::CallEvent const&, llvm::ArrayRef) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:478:0 #16 0x0000ffff9fde13fc clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x0000ffff9fde13fc clang::ento::AnyCXXConstructorCall::getInitialStackFrameContents(clang::StackFrameContext const*, llvm::SmallVectorImpl>&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:915:0 #18 0x0000ffff9fea2050 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #19 0x0000ffff9fea2050 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #20 0x0000ffff9fe5d2d8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #21 0x0000ffff9fe5d2d8 clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #22 0x0000ffff9fe5d488 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #23 0x0000ffff9fe5d488 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffff9fe5d488 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #25 0x0000ffff9fe5ff20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x0000ffff9fe5ff20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x0000ffff9fe5ff20 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #28 0x0000ffff9fe6094c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #29 0x0000ffff9fe6094c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffff9fe6094c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff9fe6094c clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #32 0x0000ffff9fde9458 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #33 0x0000ffff9fe253f8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #34 0x0000ffff9fe253f8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #35 0x0000ffff9fe253f8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #36 0x0000ffff9fe253f8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #37 0x0000ffff9fe253f8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #38 0x0000ffff9fe253f8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #39 0x0000ffff9fe253f8 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #40 0x0000ffff9fe2b22c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #41 0x0000ffff9fe2b22c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #42 0x0000ffff9fe2c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #43 0x0000ffff9fe2c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #44 0x0000ffff9fe2c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #45 0x0000ffff9fe2cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffff9fe2cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffff9fe2cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #48 0x0000ffff9fe2cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #49 0x0000ffff9fe2cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #50 0x0000ffffa00f6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffffa00f6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffa00f6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #53 0x0000ffffa00f6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #54 0x0000ffffa00f6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #55 0x0000ffffa00f7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #56 0x0000ffffa00f7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x0000ffffa00f7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #58 0x0000ffffa00fc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffffa00fc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffffa00fc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x0000ffffa00fc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x0000ffffa00fc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x0000ffff9e552058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #64 0x0000ffff9e552058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x0000ffff9e552058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #66 0x0000ffff9e552058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x0000ffff9fc17450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #68 0x0000ffff9fbcf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #69 0x0000ffff9fbcf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #70 0x0000ffff9fbcf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #71 0x0000ffff9fc5551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #72 0x0000aaaad84b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #73 0x0000aaaad84b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #74 0x0000aaaad84baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #75 0x0000aaaad84b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #76 0x0000ffff971a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #77 0x0000ffff971a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #78 0x0000aaaad84b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/conversion.cpp.script: line 1: 2536122 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-conversion -Wno-tautological-constant-compare -analyzer-checker=core,alpha.core.Conversion -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conversion.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copy-elision.cpp (557 of 18966) ******************** TEST 'Clang :: Analysis/copy-elision.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copy-elision.cpp : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++17 -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copy-elision.cpp : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -analyzer-config elide-constructors=false -DNO_ELIDE_FLAG -analyzer-config eagerly-assume=false -verify=expected,no-elide /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copy-elision.cpp : 'RUN: at line 8'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++17 -analyzer-config elide-constructors=false -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copy-elision.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copy-elision.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling arg_directly_from_return_in_loop::create() at line 439 #1 Calling arg_directly_from_return_in_loop::test() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copy-elision.cpp:430:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copy-elision.cpp:430:10: Error evaluating statement #0 0x0000ffffa94dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa94d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa94db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb245f800 (linux-vdso.so.1+0x800) #4 0x0000ffffb13ada74 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffb13ada74 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb13ada74 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb13ada74 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb13ada74 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb13ada74 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb13ada74 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb13ada74 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffffb13ade64 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #13 0x0000ffffb13ade64 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffffb13ade64 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffffb13ade64 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffffb13ade64 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffffb13ae544 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #18 0x0000ffffb13ae544 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #19 0x0000ffffb13ae544 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:463:0 #20 0x0000ffffb13ae484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x0000ffffb13ae484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x0000ffffb13ae484 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:451:0 #23 0x0000ffffb13b5dd0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #24 0x0000ffffb13b5dd0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #25 0x0000ffffb13b5dd0 clang::ento::ExprEngine::handleConstructionContext(clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::ento::NodeBuilderContext const*, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions&, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:753:0 #26 0x0000ffffb13b5dd0 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:665:0 #27 0x0000ffffb13bb22c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #28 0x0000ffffb13bb22c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #29 0x0000ffffb13bc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #30 0x0000ffffb13bc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #31 0x0000ffffb13bc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #32 0x0000ffffb13bcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #33 0x0000ffffb13bcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #34 0x0000ffffb13bcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #35 0x0000ffffb13bcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #36 0x0000ffffb13bcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #37 0x0000ffffb1686bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #38 0x0000ffffb1686bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #39 0x0000ffffb1686bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #40 0x0000ffffb1686bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #41 0x0000ffffb1686bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #42 0x0000ffffb1687b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #43 0x0000ffffb1687b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #44 0x0000ffffb1687b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #45 0x0000ffffb168c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffffb168c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffffb168c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #48 0x0000ffffb168c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #49 0x0000ffffb168c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #50 0x0000ffffafae2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #51 0x0000ffffafae2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #52 0x0000ffffafae2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #53 0x0000ffffafae2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #54 0x0000ffffb11a7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #55 0x0000ffffb115f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #56 0x0000ffffb115f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #57 0x0000ffffb115f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #58 0x0000ffffb11e551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #59 0x0000aaaadc7559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #60 0x0000aaaadc7594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #61 0x0000aaaadc75aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #62 0x0000aaaadc751fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #63 0x0000ffffa873098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #64 0x0000ffffa8730a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #65 0x0000aaaadc7520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/copy-elision.cpp.script: line 4: 2536140 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copy-elision.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copy-elision.mm (558 of 18966) ******************** TEST 'Clang :: Analysis/copy-elision.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copy-elision.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copy-elision.mm 1. parser at end of file 2. While analyzing stack: #0 Calling anonymous code at line 14 Invoking block defined at line 14 #1 Calling block_rvo_crash::foo() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copy-elision.mm:15:5: Error evaluating statement #0 0x0000ffff856dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff856d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff856db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8e657800 (linux-vdso.so.1+0x800) #4 0x0000ffff8d5a7188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff8d5a7188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8d5a7188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8d5a7188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8d5a7188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8d5a7188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8d5a7188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8d5a7188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff8d5bc264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff8d5bc264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff8d5bc264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff8d5bc264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff8d5bc264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff8d5bc264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff8d5bc264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff8d5bc264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff8d5bc264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffff8d5bc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #22 0x0000ffff8d5bc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #23 0x0000ffff8d5bcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #24 0x0000ffff8d5bcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #25 0x0000ffff8d5bcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #26 0x0000ffff8d5bcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #27 0x0000ffff8d5bcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #28 0x0000ffff8d886bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #29 0x0000ffff8d886bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #30 0x0000ffff8d886bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #31 0x0000ffff8d886bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #32 0x0000ffff8d886bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #33 0x0000ffff8d887b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #34 0x0000ffff8d887b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x0000ffff8d887b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #36 0x0000ffff8d88c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x0000ffff8d88c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x0000ffff8d88c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x0000ffff8d88c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x0000ffff8d88c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x0000ffff8bce2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #42 0x0000ffff8bce2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x0000ffff8bce2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #44 0x0000ffff8bce2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x0000ffff8d3a7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #46 0x0000ffff8d35f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #47 0x0000ffff8d35f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #48 0x0000ffff8d35f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #49 0x0000ffff8d3e551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #50 0x0000aaaadf1359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x0000aaaadf1394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x0000aaaadf13aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x0000aaaadf131fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x0000ffff8493098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #55 0x0000ffff84930a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #56 0x0000aaaadf1320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/copy-elision.mm.script: line 1: 2536145 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copy-elision.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/asm.cpp (559 of 18966) ******************** TEST 'Clang :: Analysis/copypaste/asm.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/asm.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/asm.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo3(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/asm.cpp:43:10: Error evaluating statement #0 0x0000ffff9d75acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9d759100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9d75b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa66d4800 (linux-vdso.so.1+0x800) #4 0x0000ffffa567c134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa567c134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa567c134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa567c134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffa567c134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffa567c134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffa562748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffa562748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffa562748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffa563c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffa563c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffa563c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffa563c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffa563c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffa563c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffa563c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffa563c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffa563c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffa563c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #23 0x0000ffffa563c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffa563c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffa563cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffa563cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffa563cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffa563cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffa563cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #30 0x0000ffffa5906bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffa5906bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffa5906bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffa5906bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffa5906bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffa5907b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #36 0x0000ffffa5907b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffa5907b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffa590c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffa590c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffa590c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffa590c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffa590c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffa3d62058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #44 0x0000ffffa3d62058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffa3d62058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #46 0x0000ffffa3d62058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffa5427450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffa53df104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffa53df104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffa53df104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffa546551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaacbd059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaacbd094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaacbd0aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaacbd01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff9c9b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff9c9b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaacbd020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/asm.cpp.script: line 1: 2536153 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/asm.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/call.cpp (560 of 18966) ******************** TEST 'Clang :: Analysis/copypaste/call.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/call.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/call.cpp 1. parser at end of file #0 0x0000ffff8237acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff82379100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8237b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8b2fa800 (linux-vdso.so.1+0x800) #4 0x0000ffff8a24c024 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff8a24c024 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8a24c024 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8a24c024 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8a24c024 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8a24c024 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8a24c024 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8a24c024 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2911:0 #12 0x0000ffff8a24c948 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #13 0x0000ffff8a25c974 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #14 0x0000ffff8a25cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff8a25cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff8a25cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff8a25cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff8a25cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffff8a526bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff8a526bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff8a526bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff8a526bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff8a526bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff8a527b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffff8a527b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff8a527b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff8a52c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff8a52c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff8a52c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff8a52c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff8a52c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff88982058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffff88982058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff88982058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffff88982058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff8a047450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff89fff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff89fff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff89fff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff8a08551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaae81659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaae81694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaae816aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaae8161fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff815d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff815d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaae81620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/call.cpp.script: line 1: 2536186 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/call.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/attributes.cpp (561 of 18966) ******************** TEST 'Clang :: Analysis/copypaste/attributes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/attributes.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/attributes.cpp 1. parser at end of file #0 0x0000ffffb20aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb20a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb20ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbb02f800 (linux-vdso.so.1+0x800) #4 0x0000ffffba3229e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffba3229e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffba3229e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffba3229e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffba3229e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffba3229e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffba3229e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffba3229e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb9fd0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb9fd0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb9fd0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb9fd0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb9fd20b8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb9fd20b8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb9fd20b8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb9fd20b8 (anonymous namespace)::RangeConstraintManager::assumeSymWithinInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3224:0 #20 0x0000ffffb9fe41f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb9fe41f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb9fe41f8 clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:129:64 #23 0x0000ffffb9fe4754 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb9fe4754 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb9fe4754 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #26 0x0000ffffb9f5f108 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb9f5f108 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb9f5f108 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:75 #29 0x0000ffffb9f5f108 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffffb9f755b8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffb9f755b8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffb9f755b8 clang::ento::ProgramState::assumeInclusiveRange(clang::ento::DefinedOrUnknownSVal, llvm::APSInt const&, llvm::APSInt const&) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:746:43 #33 0x0000ffffb9f755b8 clang::ento::ExprEngine::processSwitch(clang::ento::SwitchNodeBuilder&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3004:42 #34 0x0000ffffb9f7cf8c clang::ento::CoreEngine::HandleBlockExit(clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:422:0 #35 0x0000ffffb9f8cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffb9f8cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffb9f8cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffffb9f8cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffffb9f8cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffffba256bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffffba256bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffffba256bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffffba256bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffffba256bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffffba257b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffffba257b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffffba257b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffffba25c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffffba25c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffffba25c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffffba25c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffffba25c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffffb86b2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffffb86b2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffffb86b2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffffb86b2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffffb9d77450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffffb9d2f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffffb9d2f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffffb9d2f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffffb9db551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaac09c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaac09c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaac09caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaac09c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffffb130098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffffb1300a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaac09c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/attributes.cpp.script: line 1: 2536169 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/attributes.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/autogenerated_automoc.cpp (562 of 18966) ******************** TEST 'Clang :: Analysis/copypaste/autogenerated_automoc.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern="moc_|.*_automoc.cpp" -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/autogenerated_automoc.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern=moc_|.*_automoc.cpp -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/autogenerated_automoc.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling f1() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/autogenerated_automoc.cpp:9:13: Error evaluating New Allocator Call #0 0x0000ffff7c18acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7c189100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7c18b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff85108800 (linux-vdso.so.1+0x800) #4 0x0000ffff844029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff844029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff844029e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff844029e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff844029e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff844029e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff844029e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff844029e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff840b0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff840b0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff840b0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff840b0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff840b0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff840b0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff840b0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff840b0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff840c3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff840c3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff840c3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff840c5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff840c5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff840c5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff840c4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff840c4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff840c4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff840d0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff840d0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff840d0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff840da414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff840da414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff840da414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8403eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8403eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8403eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8403eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8403efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8403efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8403efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff84068f68 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff84068f68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff84068f68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff84068f68 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff84068f68 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff8406937c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff8406937c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff8406937c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff8406937c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff8406937c clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffff8406c5fc clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffff8406c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #54 0x0000ffff8406cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffff8406cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffff8406cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffff8406cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffff8406cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #59 0x0000ffff84336bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffff84336bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffff84336bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffff84336bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffff84336bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffff84337b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #65 0x0000ffff84337b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffff84337b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffff8433c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffff8433c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffff8433c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffff8433c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffff8433c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffff82792058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #73 0x0000ffff82792058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffff82792058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #75 0x0000ffff82792058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffff83e57450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffff83e0f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffff83e0f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffff83e0f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffff83e9551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaab61959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaab61994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaab619aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaab6191fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffff7b3e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffff7b3e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaab61920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/autogenerated_automoc.cpp.script: line 1: 2536174 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern="moc_|.*_automoc.cpp" -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/autogenerated_automoc.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/catch.cpp (563 of 18966) ******************** TEST 'Clang :: Analysis/copypaste/catch.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fcxx-exceptions -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/catch.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fcxx-exceptions -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/catch.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo3(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/catch.cpp:26:12: Error evaluating statement #0 0x0000ffff8470acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff84709100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8470b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8d686800 (linux-vdso.so.1+0x800) #4 0x0000ffff8c62c134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8c62c134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8c62c134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8c62c134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff8c62c134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff8c62c134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff8c5d748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff8c5d748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff8c5d748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff8c5ec264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff8c5ec264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff8c5ec264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff8c5ec264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff8c5ec264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff8c5ec264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff8c5ec264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff8c5ec264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff8c5ec264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff8c5ec5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #23 0x0000ffff8c5ec6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff8c5ec9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff8c5ecb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff8c5ecb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff8c5ecb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff8c5ecb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff8c5ecb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #30 0x0000ffff8c8b6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff8c8b6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff8c8b6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff8c8b6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff8c8b6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff8c8b7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #36 0x0000ffff8c8b7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff8c8b7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff8c8bc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff8c8bc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff8c8bc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff8c8bc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff8c8bc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff8ad12058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #44 0x0000ffff8ad12058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff8ad12058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #46 0x0000ffff8ad12058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff8c3d7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff8c38f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff8c38f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff8c38f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff8c41551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaac33559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaac33594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaac335aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaac3351fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff8396098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff83960a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaac33520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/catch.cpp.script: line 1: 2536192 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fcxx-exceptions -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/catch.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/clone-begin-end-different-file.cpp (566 of 18966) ******************** TEST 'Clang :: Analysis/copypaste/clone-begin-end-different-file.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=5 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/clone-begin-end-different-file.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=5 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/clone-begin-end-different-file.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling f2m(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/Inputs/clone-begin-end-different-file-begin-macro-1.inc:1:1 : Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/Inputs/clone-begin-end-different-file-begin-macro-1.inc:1:1 : Error evaluating statement #0 0x0000ffff79edacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff79ed9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff79edb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff82e5c800 (linux-vdso.so.1+0x800) #4 0x0000ffff821529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff821529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff821529e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff821529e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff821529e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff821529e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff821529e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff821529e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff81e00048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff81e00048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff81e00048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff81e00048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff81e00f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff81e00f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff81e00f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff81e00f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff81e13b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff81e13b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff81e13b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff81e15060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff81e15060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff81e15060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff81e14530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff81e14530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff81e14530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff81e20b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff81e20b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff81e20b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff81e2a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff81e2a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff81e2a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff81d8ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff81d8ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff81d8ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff81d8ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8227c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8227c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8227c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff81da1ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff81da1ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff81da1ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff81dbc07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff81dbc07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff81dbc07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff81dbc07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff81dbc07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff81dbc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffff81dbc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffff81dbc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffff81dbcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff81dbcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff81dbcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff81dbcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff81dbcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff82086bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff82086bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff82086bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff82086bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff82086bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff82087b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff82087b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff82087b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8208c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8208c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8208c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8208c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8208c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff804e2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff804e2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff804e2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff804e2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff81ba7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff81b5f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff81b5f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff81b5f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff81be551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab72959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab72994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab729aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab7291fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7913098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff79130a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab72920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/clone-begin-end-different-file.cpp.script: line 1: 2536200 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=5 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/clone-begin-end-different-file.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/dependent-exist.cpp (567 of 18966) ******************** TEST 'Clang :: Analysis/copypaste/dependent-exist.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fms-extensions -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/dependent-exist.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fms-extensions -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/dependent-exist.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo2(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/dependent-exist.cpp:17:10: Error evaluating statement #0 0x0000ffffa050acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa0509100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa050b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa9480800 (linux-vdso.so.1+0x800) #4 0x0000ffffa842c134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa842c134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa842c134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa842c134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffa842c134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffa842c134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffa83d748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffa83d748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffa83d748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffa83ec264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffa83ec264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffa83ec264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffa83ec264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffa83ec264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffa83ec264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffa83ec264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffa83ec264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffa83ec264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffa83ec5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #23 0x0000ffffa83ec6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffa83ec9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffa83ecb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffa83ecb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffa83ecb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffa83ecb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffa83ecb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #30 0x0000ffffa86b6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffa86b6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffa86b6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffa86b6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffa86b6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffa86b7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #36 0x0000ffffa86b7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffa86b7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffa86bc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffa86bc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffa86bc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffa86bc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffa86bc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffa6b12058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #44 0x0000ffffa6b12058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffa6b12058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #46 0x0000ffffa6b12058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffa81d7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffa818f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffa818f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffa818f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffa821551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaad80959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaad80994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaad809aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaad8091fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff9f76098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff9f760a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaad80920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/dependent-exist.cpp.script: line 1: 2536228 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fms-extensions -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/dependent-exist.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/delete.cpp (568 of 18966) ******************** TEST 'Clang :: Analysis/copypaste/delete.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/delete.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/delete.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo3(int, int *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/delete.cpp:26:12: Error evaluating statement #0 0x0000ffff7a8cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7a8c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7a8cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff83848800 (linux-vdso.so.1+0x800) #4 0x0000ffff827ec134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff827ec134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff827ec134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff827ec134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff827ec134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff827ec134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff8279748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff8279748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff8279748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff827ac264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff827ac264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff827ac264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff827ac264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff827ac264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff827ac264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff827ac264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff827ac264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff827ac264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff827ac5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #23 0x0000ffff827ac6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff827ac9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff827acb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff827acb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff827acb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff827acb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff827acb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #30 0x0000ffff82a76bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff82a76bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff82a76bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff82a76bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff82a76bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff82a77b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #36 0x0000ffff82a77b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff82a77b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff82a7c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff82a7c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff82a7c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff82a7c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff82a7c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff80ed2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #44 0x0000ffff80ed2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff80ed2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #46 0x0000ffff80ed2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff82597450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff8254f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff8254f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff8254f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff825d551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaadf8a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaadf8a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaadf8aaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaadf8a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff79b2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff79b20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaadf8a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/delete.cpp.script: line 1: 2536219 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/delete.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/dbus_autogenerated.cpp (569 of 18966) ******************** TEST 'Clang :: Analysis/copypaste/dbus_autogenerated.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern="moc_|dbus_|.*_automoc" -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/dbus_autogenerated.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern=moc_|dbus_|.*_automoc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/dbus_autogenerated.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling f1() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/dbus_autogenerated.cpp:9:13: Error evaluating New Allocator Call #0 0x0000ffffa29bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa29b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa29bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffab93f800 (linux-vdso.so.1+0x800) #4 0x0000ffffaac329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaac329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaac329e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaac329e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaac329e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaac329e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffaac329e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffaac329e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffaa8e0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffaa8e0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffaa8e0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffaa8e0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffaa8e0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffaa8e0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffaa8e0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffaa8e0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffaa8f3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffaa8f3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffaa8f3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffaa8f5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffaa8f5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffaa8f5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffaa8f4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffaa8f4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffaa8f4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffaa900b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffaa900b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffaa900b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffaa90a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffaa90a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffaa90a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffaa86eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffaa86eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffaa86eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffaa86eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffaa86efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffaa86efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffaa86efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffaa898f68 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffaa898f68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffaa898f68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffaa898f68 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffaa898f68 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffaa89937c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffaa89937c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffaa89937c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffaa89937c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffaa89937c clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffffaa89c5fc clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffffaa89c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #54 0x0000ffffaa89cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffffaa89cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffffaa89cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffffaa89cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffffaa89cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #59 0x0000ffffaab66bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffffaab66bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffffaab66bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffffaab66bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffffaab66bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffffaab67b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #65 0x0000ffffaab67b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffffaab67b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffffaab6c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffffaab6c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffffaab6c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffffaab6c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffffaab6c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffffa8fc2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #73 0x0000ffffa8fc2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffffa8fc2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #75 0x0000ffffa8fc2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffffaa687450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffffaa63f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffffaa63f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffffaa63f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffffaa6c551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaade7059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaade7094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaade70aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaade701fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffffa1c1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffffa1c10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaade7020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/dbus_autogenerated.cpp.script: line 1: 2536221 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern="moc_|dbus_|.*_automoc" -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/dbus_autogenerated.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/generic.c (571 of 18966) ******************** TEST 'Clang :: Analysis/copypaste/generic.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/generic.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/generic.c 1. parser at end of file 2. While analyzing stack: #0 Calling foo3 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/generic.c:28:12: Error evaluating statement #0 0x0000ffff7e87acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7e879100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7e87b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff877f8800 (linux-vdso.so.1+0x800) #4 0x0000ffff8679c134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8679c134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8679c134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8679c134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff8679c134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff8679c134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff8674748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff8674748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff8674748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff8675c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff8675c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff8675c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff8675c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff8675c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff8675c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff8675c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff8675c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff8675c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff8675c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #23 0x0000ffff8675c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff8675c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff8675cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff8675cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff8675cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff8675cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff8675cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #30 0x0000ffff86a26bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff86a26bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff86a26bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff86a26bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff86a26bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff86a27b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #36 0x0000ffff86a27b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff86a27b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff86a2c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff86a2c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff86a2c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff86a2c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff86a2c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff84e82058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #44 0x0000ffff84e82058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff84e82058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #46 0x0000ffff84e82058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff86547450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff864ff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff864ff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff864ff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff8658551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaac66959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaac66994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaac669aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaac6691fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff7dad098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff7dad0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaac66920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/generic.c.script: line 1: 2536262 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/generic.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/expr-types.cpp (572 of 18966) ******************** TEST 'Clang :: Analysis/copypaste/expr-types.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/expr-types.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/expr-types.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo2(long, long) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/expr-types.cpp:14:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/expr-types.cpp:14:7: Error evaluating statement #0 0x0000ffff847eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff847e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff847eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8d761800 (linux-vdso.so.1+0x800) #4 0x0000ffff8ca629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8ca629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8ca629e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8ca629e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8ca629e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8ca629e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8ca629e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8ca629e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8c710048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8c710048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8c710048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8c710048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8c710d10 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8c710d10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8c710d10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8c710d10 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffff8c724cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8c724cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8c724cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff8c724530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8c724530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8c724530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #26 0x0000ffff8c730b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #27 0x0000ffff8c730b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #28 0x0000ffff8c730b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #29 0x0000ffff8c73a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x0000ffff8c73a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff8c73a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #32 0x0000ffff8c69ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffff8c69ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffff8c69ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #35 0x0000ffff8c69ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #36 0x0000ffff8cb8c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff8cb8c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff8cb8c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #39 0x0000ffff8c6b1ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #40 0x0000ffff8c6b1ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #41 0x0000ffff8c6b1ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #42 0x0000ffff8c6cc07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #43 0x0000ffff8c6cc07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #44 0x0000ffff8c6cc07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #45 0x0000ffff8c6cc07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #46 0x0000ffff8c6cc07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #47 0x0000ffff8c6cc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #48 0x0000ffff8c6cc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #49 0x0000ffff8c6cc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #50 0x0000ffff8c6ccb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #51 0x0000ffff8c6ccb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #52 0x0000ffff8c6ccb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #53 0x0000ffff8c6ccb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #54 0x0000ffff8c6ccb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #55 0x0000ffff8c996bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #56 0x0000ffff8c996bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #57 0x0000ffff8c996bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #58 0x0000ffff8c996bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #59 0x0000ffff8c996bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #60 0x0000ffff8c997b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #61 0x0000ffff8c997b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x0000ffff8c997b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #63 0x0000ffff8c99c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x0000ffff8c99c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x0000ffff8c99c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x0000ffff8c99c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x0000ffff8c99c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x0000ffff8adf2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #69 0x0000ffff8adf2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x0000ffff8adf2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #71 0x0000ffff8adf2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x0000ffff8c4b7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #73 0x0000ffff8c46f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #74 0x0000ffff8c46f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #75 0x0000ffff8c46f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #76 0x0000ffff8c4f551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #77 0x0000aaaadb9d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000aaaadb9d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000aaaadb9daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000aaaadb9d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x0000ffff83a4098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #82 0x0000ffff83a40a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #83 0x0000aaaadb9d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/expr-types.cpp.script: line 1: 2536246 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/expr-types.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/functions.cpp (573 of 18966) ******************** TEST 'Clang :: Analysis/copypaste/functions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/functions.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/functions.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling min2(int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/functions.cpp:51:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/functions.cpp:51:7: Error evaluating statement #0 0x0000ffffa645acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa6459100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa645b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaf3d3800 (linux-vdso.so.1+0x800) #4 0x0000ffffae6d29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffae6d29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffae6d29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffae6d29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffae6d29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffae6d29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffae6d29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffae6d29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffae380048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffae380048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffae380048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffae380048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffae380d10 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffae380d10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffae380d10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffae380d10 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffffae394cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffae394cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffae394cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffae394530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffae394530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffae394530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #26 0x0000ffffae3a0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #27 0x0000ffffae3a0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #28 0x0000ffffae3a0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #29 0x0000ffffae3aa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x0000ffffae3aa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffffae3aa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #32 0x0000ffffae30ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffffae30ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffffae30ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #35 0x0000ffffae30ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #36 0x0000ffffae7fc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffae7fc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffae7fc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #39 0x0000ffffae321ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #40 0x0000ffffae321ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #41 0x0000ffffae321ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #42 0x0000ffffae33c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #43 0x0000ffffae33c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #44 0x0000ffffae33c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #45 0x0000ffffae33c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #46 0x0000ffffae33c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #47 0x0000ffffae33c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #48 0x0000ffffae33c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #49 0x0000ffffae33c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #50 0x0000ffffae33cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #51 0x0000ffffae33cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #52 0x0000ffffae33cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #53 0x0000ffffae33cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #54 0x0000ffffae33cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #55 0x0000ffffae606bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #56 0x0000ffffae606bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #57 0x0000ffffae606bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #58 0x0000ffffae606bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #59 0x0000ffffae606bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #60 0x0000ffffae607b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #61 0x0000ffffae607b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x0000ffffae607b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #63 0x0000ffffae60c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x0000ffffae60c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x0000ffffae60c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x0000ffffae60c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x0000ffffae60c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x0000ffffaca62058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #69 0x0000ffffaca62058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x0000ffffaca62058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #71 0x0000ffffaca62058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x0000ffffae127450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #73 0x0000ffffae0df104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #74 0x0000ffffae0df104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #75 0x0000ffffae0df104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #76 0x0000ffffae16551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #77 0x0000aaaac18959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000aaaac18994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000aaaac189aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000aaaac1891fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x0000ffffa56b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #82 0x0000ffffa56b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #83 0x0000aaaac18920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/functions.cpp.script: line 1: 2536263 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/functions.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/labels.cpp (574 of 18966) ******************** TEST 'Clang :: Analysis/copypaste/labels.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=gnu++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/labels.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=gnu++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/labels.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo4(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/labels.cpp:44:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/labels.cpp:44:7: Error evaluating statement #0 0x0000ffffa6fbacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa6fb9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa6fbb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaff33800 (linux-vdso.so.1+0x800) #4 0x0000ffffaf2329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaf2329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaf2329e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaf2329e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaf2329e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaf2329e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffaf2329e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffaf2329e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffaeee0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffaeee0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffaeee0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffaeee0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffaeee0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffaeee0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffaeee0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffaeee0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffaeef3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffaeef3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffaeef3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffaeef5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffaeef5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffaeef5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffaeef4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffaeef4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffaeef4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffaef00b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffaef00b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffaef00b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffaef0a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffaef0a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffaef0a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffaee6eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffaee6eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffaee6eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffaee6eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffaf35c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffaf35c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffaf35c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffaee81ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffaee81ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffaee81ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffaee9c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffaee9c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffaee9c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffaee9c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffaee9c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffaee9c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffffaee9c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffffaee9c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffffaee9cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffaee9cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffaee9cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffaee9cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffaee9cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffaf166bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffaf166bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffaf166bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffaf166bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffaf166bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffaf167b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffaf167b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffaf167b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffaf16c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffaf16c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffaf16c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffaf16c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffaf16c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffad5c2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffad5c2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffad5c2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffad5c2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffaec87450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffaec3f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffaec3f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffaec3f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffaecc551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaafac59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaafac94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaafacaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaafac1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa621098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa6210a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaafac20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/labels.cpp.script: line 1: 2536267 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=gnu++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/labels.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/lambda.cpp (575 of 18966) ******************** TEST 'Clang :: Analysis/copypaste/lambda.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/lambda.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/lambda.cpp 1. parser at end of file #0 0x0000ffffa5d0acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa5d09100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa5d0b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaec87800 (linux-vdso.so.1+0x800) #4 0x0000ffffadf829e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffadf829e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffadf829e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffadf829e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffadf829e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffadf829e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffadf829e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffadf829e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffadc30048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffadc30048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffadc30048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffadc30048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffadc30f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffadc30f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffadc30f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffadc30f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffadc43b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffadc43b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffadc43b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffadc45060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffadc45060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffadc45060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffadc44530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffadc44530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffadc44530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffadc50b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffadc50b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffadc50b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffadc5a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffadc5a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffadc5a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffadbbeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffadbbeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffadbbeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffadbbeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffadbbefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffadbbefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffadbbefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffadb92620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffadb92620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffadb92620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffadbcef2c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffadbcef2c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffadbcef2c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffadbece78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffadbece78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffadbece78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffadeb6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffadeb6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffadeb6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffadeb6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffadeb6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffadeb7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffadeb7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffadeb7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffadebc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffadebc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffadebc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffadebc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffadebc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffac312058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffac312058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffac312058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffac312058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffad9d7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffad98f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffad98f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffad98f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffada1551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaacab959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaacab994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaacab9aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaacab91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffa4f6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffa4f60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaacab920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/lambda.cpp.script: line 1: 2536278 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/lambda.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/moc_autogenerated.cpp (576 of 18966) ******************** TEST 'Clang :: Analysis/copypaste/moc_autogenerated.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern="moc_|.*_automoc" -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/moc_autogenerated.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern=moc_|.*_automoc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/moc_autogenerated.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling f1() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/moc_autogenerated.cpp:9:13: Error evaluating New Allocator Call #0 0x0000ffff89e9acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff89e99100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff89e9b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff92e12800 (linux-vdso.so.1+0x800) #4 0x0000ffff921129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff921129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff921129e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff921129e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff921129e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff921129e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff921129e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff921129e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff91dc0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff91dc0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff91dc0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff91dc0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff91dc0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff91dc0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff91dc0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff91dc0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff91dd3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff91dd3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff91dd3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff91dd5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff91dd5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff91dd5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff91dd4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff91dd4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff91dd4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff91de0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff91de0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff91de0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff91dea414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff91dea414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff91dea414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff91d4eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff91d4eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff91d4eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff91d4eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff91d4efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff91d4efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff91d4efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff91d78f68 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff91d78f68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff91d78f68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff91d78f68 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff91d78f68 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff91d7937c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff91d7937c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff91d7937c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff91d7937c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff91d7937c clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffff91d7c5fc clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffff91d7c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #54 0x0000ffff91d7cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffff91d7cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffff91d7cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffff91d7cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffff91d7cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #59 0x0000ffff92046bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffff92046bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffff92046bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffff92046bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffff92046bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffff92047b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #65 0x0000ffff92047b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffff92047b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffff9204c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffff9204c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffff9204c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffff9204c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffff9204c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffff904a2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #73 0x0000ffff904a2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffff904a2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #75 0x0000ffff904a2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffff91b67450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffff91b1f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffff91b1f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffff91b1f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffff91ba551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaac67b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaac67b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaac67baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaac67b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffff890f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffff890f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaac67b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/moc_autogenerated.cpp.script: line 1: 2536315 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern="moc_|.*_automoc" -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/moc_autogenerated.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/not-autogenerated.cpp (577 of 18966) ******************** TEST 'Clang :: Analysis/copypaste/not-autogenerated.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern="moc_|ui_|dbus_|.*_automoc" -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/not-autogenerated.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern=moc_|ui_|dbus_|.*_automoc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/not-autogenerated.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling f1() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/not-autogenerated.cpp:4:13: Error evaluating New Allocator Call #0 0x0000ffff9f9facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9f9f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9f9fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa897b800 (linux-vdso.so.1+0x800) #4 0x0000ffffa7c729e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa7c729e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa7c729e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa7c729e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa7c729e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa7c729e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa7c729e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa7c729e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa7920048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa7920048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa7920048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa7920048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa7920f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa7920f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa7920f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa7920f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa7933b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa7933b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa7933b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa7935060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa7935060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa7935060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa7934530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa7934530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa7934530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa7940b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa7940b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa7940b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa794a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa794a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa794a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa78aeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa78aeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa78aeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa78aeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa78aefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa78aefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa78aefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa78d8f68 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffa78d8f68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffa78d8f68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffa78d8f68 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffa78d8f68 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffa78d937c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffa78d937c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffa78d937c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffa78d937c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffa78d937c clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffffa78dc5fc clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffffa78dc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #54 0x0000ffffa78dcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffffa78dcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffffa78dcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffffa78dcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffffa78dcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #59 0x0000ffffa7ba6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffffa7ba6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffffa7ba6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffffa7ba6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffffa7ba6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffffa7ba7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #65 0x0000ffffa7ba7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffffa7ba7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffffa7bac130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffffa7bac130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffffa7bac130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffffa7bac130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffffa7bac130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffffa6002058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #73 0x0000ffffa6002058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffffa6002058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #75 0x0000ffffa6002058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffffa76c7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffffa767f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffffa767f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffffa767f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffffa770551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaab35e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaab35e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaab35eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaab35e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffff9ec5098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffff9ec50a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaab35e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/not-autogenerated.cpp.script: line 1: 2536319 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern="moc_|ui_|dbus_|.*_automoc" -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/not-autogenerated.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/macro-complexity.cpp (578 of 18966) ******************** TEST 'Clang :: Analysis/copypaste/macro-complexity.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/macro-complexity.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/macro-complexity.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling macroClone(int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/macro-complexity.cpp:32:10 : Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/macro-complexity.cpp:32:10 : Error evaluating statement #0 0x0000ffffa275acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa2759100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa275b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffab6dd800 (linux-vdso.so.1+0x800) #4 0x0000ffffaa9d29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaa9d29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaa9d29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaa9d29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaa9d29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaa9d29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffaa9d29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffaa9d29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffaa680048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffaa680048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffaa680048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffaa680048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffaa680d10 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffaa680d10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffaa680d10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffaa680d10 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffffaa694cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffaa694cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffaa694cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffaa694530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffaa694530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffaa694530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #26 0x0000ffffaa6a0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #27 0x0000ffffaa6a0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #28 0x0000ffffaa6a0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #29 0x0000ffffaa6aa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x0000ffffaa6aa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffffaa6aa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #32 0x0000ffffaa60ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffffaa60ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffffaa60ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #35 0x0000ffffaa60ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #36 0x0000ffffaaafc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffaaafc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffaaafc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #39 0x0000ffffaa621ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #40 0x0000ffffaa621ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #41 0x0000ffffaa621ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #42 0x0000ffffaa63c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #43 0x0000ffffaa63c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #44 0x0000ffffaa63c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #45 0x0000ffffaa63c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #46 0x0000ffffaa63c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #47 0x0000ffffaa63c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #48 0x0000ffffaa63c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #49 0x0000ffffaa63c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #50 0x0000ffffaa63cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #51 0x0000ffffaa63cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #52 0x0000ffffaa63cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #53 0x0000ffffaa63cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #54 0x0000ffffaa63cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #55 0x0000ffffaa906bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #56 0x0000ffffaa906bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #57 0x0000ffffaa906bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #58 0x0000ffffaa906bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #59 0x0000ffffaa906bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #60 0x0000ffffaa907b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #61 0x0000ffffaa907b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x0000ffffaa907b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #63 0x0000ffffaa90c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x0000ffffaa90c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x0000ffffaa90c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x0000ffffaa90c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x0000ffffaa90c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x0000ffffa8d62058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #69 0x0000ffffa8d62058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x0000ffffa8d62058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #71 0x0000ffffa8d62058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x0000ffffaa427450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #73 0x0000ffffaa3df104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #74 0x0000ffffaa3df104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #75 0x0000ffffaa3df104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #76 0x0000ffffaa46551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #77 0x0000aaaadde759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000aaaadde794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000aaaadde7aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000aaaadde71fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x0000ffffa19b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #82 0x0000ffffa19b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #83 0x0000aaaadde720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/macro-complexity.cpp.script: line 1: 2536304 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/macro-complexity.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/objc-methods.m (579 of 18966) ******************** TEST 'Clang :: Analysis/copypaste/objc-methods.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-objc-root-class -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/objc-methods.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-objc-root-class -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/objc-methods.m 1. parser at end of file #0 0x0000ffff9cafacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9caf9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9cafb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa5a78800 (linux-vdso.so.1+0x800) #4 0x0000ffffa4d729e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa4d729e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa4d729e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa4d729e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa4d729e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa4d729e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa4d729e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa4d729e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa4a20048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa4a20048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa4a20048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa4a20048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa4a20f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa4a20f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa4a20f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa4a20f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa4a33b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa4a33b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa4a33b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa4a35060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa4a35060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa4a35060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa4a34530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa4a34530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa4a34530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa4a40b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa4a40b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa4a40b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa4a4a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa4a4a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa4a4a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa49aeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa49aeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa49aeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa49aeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa49aefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa49aefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa49aefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa4982620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa4982620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa4982620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa49bef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa49bef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa49bef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffa49dce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa49dce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa49dce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa4ca6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa4ca6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa4ca6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa4ca6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa4ca6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa4ca7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffa4ca7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa4ca7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa4cac130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa4cac130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa4cac130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa4cac130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa4cac130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa3102058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffa3102058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa3102058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffa3102058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa47c7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa477f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa477f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa477f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa480551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaacba859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaacba894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaacba8aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaacba81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff9bd5098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff9bd50a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaacba820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/objc-methods.m.script: line 1: 2536335 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-objc-root-class -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/objc-methods.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/plist-diagnostics-notes-as-events.cpp (582 of 18966) ******************** TEST 'Clang :: Analysis/copypaste/plist-diagnostics-notes-as-events.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=plist -analyzer-config notes-as-events=true -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/plist-diagnostics-notes-as-events.cpp.tmp.plist -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/plist-diagnostics-notes-as-events.cpp : 'RUN: at line 2'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling maxClone(int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/plist-diagnostics-notes-as-events.cpp:15:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/plist-diagnostics-notes-as-events.cpp:15:7: Error evaluating statement #0 0x0000ffff9f60acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9f609100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9f60b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa858b800 (linux-vdso.so.1+0x800) #4 0x0000ffffa78829e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa78829e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa78829e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa78829e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa78829e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa78829e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa78829e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa78829e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa7530048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa7530048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa7530048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa7530048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa7530d10 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa7530d10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa7530d10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa7530d10 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffffa7544cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa7544cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa7544cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffa7544530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa7544530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa7544530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #26 0x0000ffffa7550b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #27 0x0000ffffa7550b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #28 0x0000ffffa7550b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #29 0x0000ffffa755a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x0000ffffa755a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffffa755a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #32 0x0000ffffa74bea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffffa74bea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffffa74bea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #35 0x0000ffffa74bea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #36 0x0000ffffa79ac8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffa79ac8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffa79ac8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #39 0x0000ffffa74d1ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #40 0x0000ffffa74d1ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #41 0x0000ffffa74d1ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #42 0x0000ffffa74ec07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #43 0x0000ffffa74ec07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #44 0x0000ffffa74ec07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #45 0x0000ffffa74ec07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #46 0x0000ffffa74ec07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #47 0x0000ffffa74ec2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #48 0x0000ffffa74ec5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #49 0x0000ffffa74ec7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #50 0x0000ffffa74ecb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #51 0x0000ffffa74ecb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #52 0x0000ffffa74ecb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #53 0x0000ffffa74ecb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #54 0x0000ffffa74ecb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #55 0x0000ffffa77b6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #56 0x0000ffffa77b6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #57 0x0000ffffa77b6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #58 0x0000ffffa77b6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #59 0x0000ffffa77b6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #60 0x0000ffffa77b7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #61 0x0000ffffa77b7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x0000ffffa77b7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #63 0x0000ffffa77bc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x0000ffffa77bc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x0000ffffa77bc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x0000ffffa77bc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x0000ffffa77bc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x0000ffffa5c12058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #69 0x0000ffffa5c12058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x0000ffffa5c12058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #71 0x0000ffffa5c12058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x0000ffffa72d7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #73 0x0000ffffa728f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #74 0x0000ffffa728f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #75 0x0000ffffa728f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #76 0x0000ffffa731551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #77 0x0000aaaac98359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000aaaac98394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000aaaac983aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000aaaac9831fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x0000ffff9e86098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #82 0x0000ffff9e860a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #83 0x0000aaaac98320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/plist-diagnostics-notes-as-events.cpp.script: line 2: 2536340 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=plist -analyzer-config notes-as-events=true -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/plist-diagnostics-notes-as-events.cpp.tmp.plist -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/plist-diagnostics-notes-as-events.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/plist-diagnostics.cpp (583 of 18966) ******************** TEST 'Clang :: Analysis/copypaste/plist-diagnostics.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/plist-diagnostics.cpp.tmp.plist -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/plist-diagnostics.cpp : 'RUN: at line 2'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling maxClone(int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/plist-diagnostics.cpp:15:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/plist-diagnostics.cpp:15:7: Error evaluating statement #0 0x0000ffff9476acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff94769100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9476b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9d6e7800 (linux-vdso.so.1+0x800) #4 0x0000ffff9c9e29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9c9e29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9c9e29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9c9e29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9c9e29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9c9e29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9c9e29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9c9e29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9c690048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9c690048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9c690048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9c690048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9c690d10 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9c690d10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9c690d10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9c690d10 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffff9c6a4cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9c6a4cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9c6a4cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff9c6a4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9c6a4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9c6a4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #26 0x0000ffff9c6b0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #27 0x0000ffff9c6b0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #28 0x0000ffff9c6b0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #29 0x0000ffff9c6ba414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x0000ffff9c6ba414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff9c6ba414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #32 0x0000ffff9c61ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffff9c61ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffff9c61ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #35 0x0000ffff9c61ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #36 0x0000ffff9cb0c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff9cb0c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff9cb0c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #39 0x0000ffff9c631ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #40 0x0000ffff9c631ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #41 0x0000ffff9c631ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #42 0x0000ffff9c64c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #43 0x0000ffff9c64c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #44 0x0000ffff9c64c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #45 0x0000ffff9c64c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #46 0x0000ffff9c64c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #47 0x0000ffff9c64c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #48 0x0000ffff9c64c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #49 0x0000ffff9c64c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #50 0x0000ffff9c64cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #51 0x0000ffff9c64cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #52 0x0000ffff9c64cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #53 0x0000ffff9c64cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #54 0x0000ffff9c64cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #55 0x0000ffff9c916bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #56 0x0000ffff9c916bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #57 0x0000ffff9c916bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #58 0x0000ffff9c916bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #59 0x0000ffff9c916bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #60 0x0000ffff9c917b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #61 0x0000ffff9c917b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x0000ffff9c917b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #63 0x0000ffff9c91c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x0000ffff9c91c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x0000ffff9c91c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x0000ffff9c91c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x0000ffff9c91c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x0000ffff9ad72058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #69 0x0000ffff9ad72058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x0000ffff9ad72058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #71 0x0000ffff9ad72058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x0000ffff9c437450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #73 0x0000ffff9c3ef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #74 0x0000ffff9c3ef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #75 0x0000ffff9c3ef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #76 0x0000ffff9c47551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #77 0x0000aaaae58959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000aaaae58994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000aaaae589aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000aaaae5891fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x0000ffff939c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #82 0x0000ffff939c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #83 0x0000aaaae58920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/plist-diagnostics.cpp.script: line 2: 2536349 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/plist-diagnostics.cpp.tmp.plist -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/plist-diagnostics.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/sub-sequences.cpp (584 of 18966) ******************** TEST 'Clang :: Analysis/copypaste/sub-sequences.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/sub-sequences.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/sub-sequences.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling maxClone(int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/sub-sequences.cpp:18:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/sub-sequences.cpp:18:7: Error evaluating statement #0 0x0000ffff7ce3acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7ce39100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7ce3b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff85db6800 (linux-vdso.so.1+0x800) #4 0x0000ffff850b29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff850b29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff850b29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff850b29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff850b29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff850b29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff850b29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff850b29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff84d60048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff84d60048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff84d60048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff84d60048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff84d60d10 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff84d60d10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff84d60d10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff84d60d10 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffff84d74cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff84d74cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff84d74cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff84d74530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff84d74530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff84d74530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #26 0x0000ffff84d80b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #27 0x0000ffff84d80b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #28 0x0000ffff84d80b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #29 0x0000ffff84d8a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x0000ffff84d8a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff84d8a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #32 0x0000ffff84ceea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffff84ceea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffff84ceea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #35 0x0000ffff84ceea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #36 0x0000ffff851dc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff851dc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff851dc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #39 0x0000ffff84d01ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #40 0x0000ffff84d01ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #41 0x0000ffff84d01ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #42 0x0000ffff84d1c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #43 0x0000ffff84d1c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #44 0x0000ffff84d1c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #45 0x0000ffff84d1c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #46 0x0000ffff84d1c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #47 0x0000ffff84d1c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #48 0x0000ffff84d1c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #49 0x0000ffff84d1c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #50 0x0000ffff84d1cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #51 0x0000ffff84d1cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #52 0x0000ffff84d1cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #53 0x0000ffff84d1cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #54 0x0000ffff84d1cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #55 0x0000ffff84fe6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #56 0x0000ffff84fe6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #57 0x0000ffff84fe6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #58 0x0000ffff84fe6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #59 0x0000ffff84fe6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #60 0x0000ffff84fe7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #61 0x0000ffff84fe7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x0000ffff84fe7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #63 0x0000ffff84fec130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x0000ffff84fec130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x0000ffff84fec130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x0000ffff84fec130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x0000ffff84fec130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x0000ffff83442058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #69 0x0000ffff83442058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x0000ffff83442058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #71 0x0000ffff83442058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x0000ffff84b07450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #73 0x0000ffff84abf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #74 0x0000ffff84abf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #75 0x0000ffff84abf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #76 0x0000ffff84b4551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #77 0x0000aaaad23459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000aaaad23494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000aaaad234aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000aaaad2341fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x0000ffff7c09098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #82 0x0000ffff7c090a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #83 0x0000aaaad23420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/sub-sequences.cpp.script: line 1: 2536354 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/sub-sequences.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/suspicious-clones.cpp (586 of 18966) ******************** TEST 'Clang :: Analysis/copypaste/suspicious-clones.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/suspicious-clones.cpp -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:ReportNormalClones=false -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/suspicious-clones.cpp -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:ReportNormalClones=false -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 1. parser at end of file 2. While analyzing stack: #0 Calling faultyBusyIncrement() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/suspicious-clones.cpp:49:9: Error evaluating branch #0 0x0000ffff8ee8acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8ee89100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8ee8b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff97e0f800 (linux-vdso.so.1+0x800) #4 0x0000ffff971029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff971029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff971029e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff971029e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff971029e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff971029e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff971029e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff971029e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff96db0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff96db0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff96db0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff96db0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff96db0d10 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff96db0d10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff96db0d10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff96db0d10 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffff96dc4cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff96dc4cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff96dc4cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff96dc4f90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff96dc4f90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff96dc4f90 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff96dc4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff96dc4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff96dc4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff96dd0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff96dd0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff96dd0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff96dda414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff96dda414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff96dda414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff96d3ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff96d3ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff96d3ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff96d3ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff9722c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9722c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9722c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff96d54c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff96d54c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff96d54c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff96d54c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff96d54c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff96d54c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff96d54c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff96d54c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff96d54c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff96d54c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff96d55200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff96d6cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff96d6cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff96d6cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff96d6cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff96d6cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff97036bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff97036bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff97036bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff97036bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff97036bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff97037b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff97037b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff97037b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9703c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9703c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9703c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9703c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9703c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff95492058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff95492058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff95492058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff95492058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff96b57450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff96b0f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff96b0f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff96b0f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff96b9551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab10059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab10094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab100aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab1001fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8e0e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff8e0e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab10020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/suspicious-clones.cpp.script: line 1: 2536366 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/suspicious-clones.cpp -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:ReportNormalClones=false -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/ui_autogenerated.cpp (587 of 18966) ******************** TEST 'Clang :: Analysis/copypaste/ui_autogenerated.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern="moc_|ui_|.*_automoc" -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/ui_autogenerated.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern=moc_|ui_|.*_automoc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/ui_autogenerated.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling f1() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/ui_autogenerated.cpp:9:13: Error evaluating New Allocator Call #0 0x0000ffff805eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff805e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff805eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8956c800 (linux-vdso.so.1+0x800) #4 0x0000ffff888629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff888629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff888629e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff888629e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff888629e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff888629e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff888629e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff888629e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff88510048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff88510048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff88510048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff88510048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff88510f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff88510f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff88510f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff88510f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff88523b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff88523b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff88523b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff88525060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff88525060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff88525060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff88524530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff88524530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff88524530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff88530b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff88530b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff88530b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8853a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8853a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8853a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8849eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8849eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8849eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8849eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8849efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8849efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8849efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff884c8f68 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff884c8f68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff884c8f68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff884c8f68 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff884c8f68 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff884c937c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff884c937c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff884c937c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff884c937c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff884c937c clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffff884cc5fc clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffff884cc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #54 0x0000ffff884ccb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffff884ccb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffff884ccb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffff884ccb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffff884ccb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #59 0x0000ffff88796bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffff88796bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffff88796bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffff88796bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffff88796bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffff88797b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #65 0x0000ffff88797b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffff88797b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffff8879c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffff8879c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffff8879c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffff8879c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffff8879c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffff86bf2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #73 0x0000ffff86bf2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffff86bf2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #75 0x0000ffff86bf2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffff882b7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffff8826f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffff8826f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffff8826f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffff882f551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaac68859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaac68894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaac688aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaac6881fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffff7f84098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffff7f840a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaac68820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/ui_autogenerated.cpp.script: line 1: 2536389 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern="moc_|ui_|.*_automoc" -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/ui_autogenerated.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/text-diagnostics.cpp (588 of 18966) ******************** TEST 'Clang :: Analysis/copypaste/text-diagnostics.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/text-diagnostics.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/text-diagnostics.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling maxClone(int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/text-diagnostics.cpp:14:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/text-diagnostics.cpp:14:7: Error evaluating statement #0 0x0000ffff9c07acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9c079100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9c07b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa4ff6800 (linux-vdso.so.1+0x800) #4 0x0000ffffa42f29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa42f29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa42f29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa42f29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa42f29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa42f29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa42f29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa42f29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa3fa0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa3fa0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa3fa0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa3fa0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa3fa0d10 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa3fa0d10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa3fa0d10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa3fa0d10 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffffa3fb4cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa3fb4cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa3fb4cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffa3fb4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa3fb4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa3fb4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #26 0x0000ffffa3fc0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #27 0x0000ffffa3fc0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #28 0x0000ffffa3fc0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #29 0x0000ffffa3fca414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x0000ffffa3fca414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffffa3fca414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #32 0x0000ffffa3f2ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffffa3f2ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffffa3f2ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #35 0x0000ffffa3f2ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #36 0x0000ffffa441c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffa441c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffa441c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #39 0x0000ffffa3f41ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #40 0x0000ffffa3f41ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #41 0x0000ffffa3f41ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #42 0x0000ffffa3f5c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #43 0x0000ffffa3f5c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #44 0x0000ffffa3f5c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #45 0x0000ffffa3f5c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #46 0x0000ffffa3f5c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #47 0x0000ffffa3f5c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #48 0x0000ffffa3f5c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #49 0x0000ffffa3f5c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #50 0x0000ffffa3f5cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #51 0x0000ffffa3f5cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #52 0x0000ffffa3f5cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #53 0x0000ffffa3f5cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #54 0x0000ffffa3f5cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #55 0x0000ffffa4226bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #56 0x0000ffffa4226bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #57 0x0000ffffa4226bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #58 0x0000ffffa4226bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #59 0x0000ffffa4226bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #60 0x0000ffffa4227b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #61 0x0000ffffa4227b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x0000ffffa4227b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #63 0x0000ffffa422c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x0000ffffa422c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x0000ffffa422c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x0000ffffa422c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x0000ffffa422c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x0000ffffa2682058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #69 0x0000ffffa2682058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x0000ffffa2682058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #71 0x0000ffffa2682058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x0000ffffa3d47450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #73 0x0000ffffa3cff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #74 0x0000ffffa3cff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #75 0x0000ffffa3cff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #76 0x0000ffffa3d8551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #77 0x0000aaaadee459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000aaaadee494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000aaaadee4aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000aaaadee41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x0000ffff9b2d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #82 0x0000ffff9b2d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #83 0x0000aaaadee420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/text-diagnostics.cpp.script: line 1: 2536385 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/text-diagnostics.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/coverage.c (589 of 18966) ******************** TEST 'Clang :: Analysis/coverage.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -analyzer-max-loop 4 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/coverage.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -analyzer-max-loop 4 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/coverage.c 1. parser at end of file 2. While analyzing stack: #0 Calling coverage9 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/coverage.c:93:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/coverage.c:93:7: Error evaluating statement #0 0x0000ffff8b3bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8b3b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8b3bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff94331800 (linux-vdso.so.1+0x800) #4 0x0000ffff936329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff936329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff936329e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff936329e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff936329e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff936329e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff936329e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff936329e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff932e0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff932e0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff932e0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff932e0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff932e0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff932e0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff932e0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff932e0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff932f3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff932f3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff932f3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff932f5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff932f5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff932f5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff932f4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff932f4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff932f4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff93300b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff93300b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff93300b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9330a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9330a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9330a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9326eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9326eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9326eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9326eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9375c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9375c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9375c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9338e270 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff9338e270 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff9338e270 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffff9338e270 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffff93258e38 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffff93281640 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffff93281640 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffff9328187c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffff9328187c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffff9328187c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff9328187c clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffff93291540 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffff93291540 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffff93291540 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffff9329ac54 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffff9329ac54 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffff9329ac54 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffff9329c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #60 0x0000ffff9329c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #61 0x0000ffff9329c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #62 0x0000ffff9329cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffff9329cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffff9329cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffff9329cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffff9329cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #67 0x0000ffff93566bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffff93566bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffff93566bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffff93566bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffff93566bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffff93567b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #73 0x0000ffff93567b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffff93567b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffff9356c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffff9356c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffff9356c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffff9356c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffff9356c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffff919c2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #81 0x0000ffff919c2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffff919c2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #83 0x0000ffff919c2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffff93087450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffff9303f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffff9303f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffff9303f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffff930c551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaae5c659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaae5c694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaae5c6aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaae5c61fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffff8a61098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffff8a610a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaae5c620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/coverage.c.script: line 1: 2536391 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -analyzer-max-loop 4 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/coverage.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/cstring-syntax-cxx.cpp (590 of 18966) ******************** TEST 'Clang :: Analysis/cstring-syntax-cxx.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-cxx.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-cxx.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test(X, X) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-cxx.cpp:15:9: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-cxx.cpp:15:9: Error evaluating statement #0 0x0000ffff982facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff982f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff982fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa1273800 (linux-vdso.so.1+0x800) #4 0x0000ffffa01c7804 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa01c7804 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa01c7804 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa01c7804 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa01c7804 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa01c7804 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa01c7804 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffffa01c7804 clang::ento::ExprEngine::getObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:607:55 #12 0x0000ffffa01f8680 clang::ento::ExprEngine::finishArgumentConstruction(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:640:59 #13 0x0000ffffa01f8824 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #14 0x0000ffffa01f8824 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x0000ffffa01f8824 clang::ento::ExprEngine::finishArgumentConstruction(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:657:72 #16 0x0000ffffa01d5534 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:832:0 #17 0x0000ffffa01db22c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #18 0x0000ffffa01db22c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #19 0x0000ffffa01dc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #20 0x0000ffffa01dc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #21 0x0000ffffa01dc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #22 0x0000ffffa01dcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #23 0x0000ffffa01dcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #24 0x0000ffffa01dcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #25 0x0000ffffa01dcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #26 0x0000ffffa01dcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #27 0x0000ffffa04a6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x0000ffffa04a6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x0000ffffa04a6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #30 0x0000ffffa04a6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #31 0x0000ffffa04a6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #32 0x0000ffffa04a7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #33 0x0000ffffa04a7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x0000ffffa04a7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #35 0x0000ffffa04ac130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffa04ac130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffa04ac130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x0000ffffa04ac130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x0000ffffa04ac130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x0000ffff9e902058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #41 0x0000ffff9e902058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x0000ffff9e902058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #43 0x0000ffff9e902058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x0000ffff9ffc7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #45 0x0000ffff9ff7f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #46 0x0000ffff9ff7f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #47 0x0000ffff9ff7f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #48 0x0000ffffa000551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #49 0x0000aaaae1fe59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x0000aaaae1fe94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x0000aaaae1feaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x0000aaaae1fe1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x0000ffff9755098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #54 0x0000ffff97550a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #55 0x0000aaaae1fe20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-syntax-cxx.cpp.script: line 1: 2536428 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-cxx.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cstring-plist.c (591 of 18966) ******************** TEST 'Clang :: Analysis/cstring-plist.c' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -f /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-plist.c.tmp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core -analyzer-checker=unix.Malloc -analyzer-checker=unix.cstring.NullArg -analyzer-disable-checker=alpha.unix.cstring.OutOfBounds -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-plist.c.tmp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-plist.c : 'RUN: at line 8'; /usr/bin/FileCheck -input-file /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-plist.c.tmp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-plist.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core -analyzer-checker=unix.Malloc -analyzer-checker=unix.cstring.NullArg -analyzer-disable-checker=alpha.unix.cstring.OutOfBounds -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-plist.c.tmp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-plist.c 1. parser at end of file 2. While analyzing stack: #0 Calling cstringchecker_bounds_nocrash 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-plist.c:18:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-plist.c:18:13: Error evaluating statement #0 0x0000ffff8e9eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8e9e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8e9eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9796b800 (linux-vdso.so.1+0x800) #4 0x0000ffff96c49250 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff96c49250 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff96c49250 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff96c49250 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff96c49250 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff96c49250 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff96c49250 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff96c49250 (anonymous namespace)::MallocChecker::evalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:3069:0 #12 0x0000ffff96a57760 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffff96a57760 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffff96a57760 llvm::IntrusiveRefCntPtr clang::ento::eval::Assume::_evalAssume<(anonymous namespace)::MallocChecker>(void*, llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:463:74 #15 0x0000ffff9686b758 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff9686b758 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff9686b758 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff9686b758 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffff96930be4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff96930be4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff96930be4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffff96930be4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffff9693a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffff9693a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff9693a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #26 0x0000ffff9689ebd8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9689ebd8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9689ebd8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffff9689ebd8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffff96d8c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff96d8c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff96d8c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #33 0x0000ffff96a63840 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffff96a63840 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffff96a63840 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffff96a63840 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffff96a63840 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffff96a63840 (anonymous namespace)::MallocChecker::ProcessZeroAllocCheck(clang::ento::CallEvent const&, unsigned int, llvm::IntrusiveRefCntPtr, std::optional) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1529:0 #39 0x0000ffff96a63c90 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffff96a63c90 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffff96a63c90 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #42 0x0000ffff96a70180 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffff96a70180 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffff968889a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff968889a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff968889a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffff968889a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffff968889a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffff968e8c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffff968e8c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffff968e8c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffff968e8c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffff968e8c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffff968e8c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffff968e9514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffff968cb270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffff968cb270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffff968cc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffff968cc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffff968cc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffff968ccb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffff968ccb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffff968ccb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffff968ccb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffff968ccb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #66 0x0000ffff96b96bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffff96b96bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffff96b96bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffff96b96bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffff96b96bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffff96b97b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #72 0x0000ffff96b97b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffff96b97b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffff96b9c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffff96b9c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffff96b9c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffff96b9c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffff96b9c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffff94ff2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #80 0x0000ffff94ff2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffff94ff2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #82 0x0000ffff94ff2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffff966b7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffff9666f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffff9666f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffff9666f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffff966f551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaae95459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaae95494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaae954aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaae9541fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff8dc4098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff8dc40a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaae95420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-plist.c.script: line 3: 2536415 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core -analyzer-checker=unix.Malloc -analyzer-checker=unix.cstring.NullArg -analyzer-disable-checker=alpha.unix.cstring.OutOfBounds -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-plist.c.tmp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-plist.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/cstring-syntax-weird.c (592 of 18966) ******************** TEST 'Clang :: Analysis/cstring-syntax-weird.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-weird.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-weird.c 1. parser at end of file 2. While analyzing stack: #0 Calling testWeirdDecls 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-weird.c:17:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-weird.c:17:3: Error evaluating statement #0 0x0000ffff7ea2acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7ea29100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7ea2b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff879ad800 (linux-vdso.so.1+0x800) #4 0x0000ffff86ca29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff86ca29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff86ca29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff86ca29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff86ca29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff86ca29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff86ca29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff86ca29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff86950048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff86950048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff86950048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff86950048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff86950f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff86950f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff86950f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff86950f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff86963b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff86963b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff86963b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff86965060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff86965060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff86965060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff86964530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff86964530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff86964530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff86970b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff86970b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff86970b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8697a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8697a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8697a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff868dea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff868dea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff868dea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff868dea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff86dd4608 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff86dd4608 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff86dd4608 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff86dd4608 (anonymous namespace)::CStringChecker::assumeZero(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::QualType) (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:346:0 #43 0x0000ffff86dd46c8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #44 0x0000ffff86dd46c8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #45 0x0000ffff86dd46c8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff86dd46c8 (anonymous namespace)::CStringChecker::checkNonNull(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, (anonymous namespace)::AnyArgExpr, clang::ento::SVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:358:0 #47 0x0000ffff869a2144 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #48 0x0000ffff869a2144 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #49 0x0000ffff869a2144 (anonymous namespace)::CStringChecker::evalStrcpyCommon(clang::ento::CheckerContext&, clang::CallExpr const*, bool, bool, (anonymous namespace)::ConcatFnKind, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:1710:49 #50 0x0000ffff869add80 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #51 0x0000ffff869add80 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2515:23 #52 0x0000ffff869add80 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::CStringChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #53 0x0000ffff868c938c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #54 0x0000ffff86928bec llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #55 0x0000ffff86928bec llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #56 0x0000ffff86928bec clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #57 0x0000ffff86928bec clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #58 0x0000ffff86929514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #59 0x0000ffff8690b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #60 0x0000ffff8690b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #61 0x0000ffff8690c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #62 0x0000ffff8690c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #63 0x0000ffff8690c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #64 0x0000ffff8690cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x0000ffff8690cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x0000ffff8690cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #67 0x0000ffff8690cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #68 0x0000ffff8690cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #69 0x0000ffff86bd6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #70 0x0000ffff86bd6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #71 0x0000ffff86bd6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #72 0x0000ffff86bd6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #73 0x0000ffff86bd6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #74 0x0000ffff86bd7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #75 0x0000ffff86bd7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #76 0x0000ffff86bd7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #77 0x0000ffff86bdc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #78 0x0000ffff86bdc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #79 0x0000ffff86bdc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #80 0x0000ffff86bdc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #81 0x0000ffff86bdc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #82 0x0000ffff85032058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #83 0x0000ffff85032058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #84 0x0000ffff85032058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #85 0x0000ffff85032058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #86 0x0000ffff866f7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #87 0x0000ffff866af104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #88 0x0000ffff866af104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #89 0x0000ffff866af104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #90 0x0000ffff8673551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #91 0x0000aaaaaf9159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #92 0x0000aaaaaf9194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #93 0x0000aaaaaf91aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #94 0x0000aaaaaf911fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #95 0x0000ffff7dc8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #96 0x0000ffff7dc80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #97 0x0000aaaaaf9120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-syntax-weird.c.script: line 1: 2536431 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-weird.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/cstring-syntax-weird2.c (593 of 18966) ******************** TEST 'Clang :: Analysis/cstring-syntax-weird2.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-weird2.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-weird2.c 1. parser at end of file 2. While analyzing stack: #0 Calling testWeirdDecls 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-weird2.c:15:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-weird2.c:15:3: Error evaluating statement #0 0x0000ffff9773acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff97739100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9773b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa06bf800 (linux-vdso.so.1+0x800) #4 0x0000ffff9f9b29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9f9b29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9f9b29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9f9b29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9f9b29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9f9b29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9f9b29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9f9b29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9f660048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9f660048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9f660048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9f660048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9f660f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9f660f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9f660f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9f660f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9f673b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9f673b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9f673b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9f675060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9f675060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9f675060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9f674530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9f674530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9f674530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9f680b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9f680b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9f680b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9f68a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9f68a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9f68a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9f5eea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9f5eea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9f5eea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9f5eea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff9fae4608 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9fae4608 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9fae4608 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9fae4608 (anonymous namespace)::CStringChecker::assumeZero(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::QualType) (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:346:0 #43 0x0000ffff9fae46c8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #44 0x0000ffff9fae46c8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #45 0x0000ffff9fae46c8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff9fae46c8 (anonymous namespace)::CStringChecker::checkNonNull(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, (anonymous namespace)::AnyArgExpr, clang::ento::SVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:358:0 #47 0x0000ffff9f6b2144 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #48 0x0000ffff9f6b2144 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #49 0x0000ffff9f6b2144 (anonymous namespace)::CStringChecker::evalStrcpyCommon(clang::ento::CheckerContext&, clang::CallExpr const*, bool, bool, (anonymous namespace)::ConcatFnKind, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:1710:49 #50 0x0000ffff9f6bdd80 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #51 0x0000ffff9f6bdd80 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2515:23 #52 0x0000ffff9f6bdd80 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::CStringChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #53 0x0000ffff9f5d938c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #54 0x0000ffff9f638bec llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #55 0x0000ffff9f638bec llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #56 0x0000ffff9f638bec clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #57 0x0000ffff9f638bec clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #58 0x0000ffff9f639514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #59 0x0000ffff9f61b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #60 0x0000ffff9f61b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #61 0x0000ffff9f61c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #62 0x0000ffff9f61c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #63 0x0000ffff9f61c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #64 0x0000ffff9f61cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x0000ffff9f61cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x0000ffff9f61cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #67 0x0000ffff9f61cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #68 0x0000ffff9f61cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #69 0x0000ffff9f8e6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #70 0x0000ffff9f8e6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #71 0x0000ffff9f8e6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #72 0x0000ffff9f8e6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #73 0x0000ffff9f8e6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #74 0x0000ffff9f8e7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #75 0x0000ffff9f8e7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #76 0x0000ffff9f8e7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #77 0x0000ffff9f8ec130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #78 0x0000ffff9f8ec130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #79 0x0000ffff9f8ec130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #80 0x0000ffff9f8ec130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #81 0x0000ffff9f8ec130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #82 0x0000ffff9dd42058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #83 0x0000ffff9dd42058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #84 0x0000ffff9dd42058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #85 0x0000ffff9dd42058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #86 0x0000ffff9f407450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #87 0x0000ffff9f3bf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #88 0x0000ffff9f3bf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #89 0x0000ffff9f3bf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #90 0x0000ffff9f44551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #91 0x0000aaaac69459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #92 0x0000aaaac69494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #93 0x0000aaaac694aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #94 0x0000aaaac6941fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #95 0x0000ffff9699098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #96 0x0000ffff96990a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #97 0x0000aaaac69420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-syntax-weird2.c.script: line 1: 2536434 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-weird2.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/cstring-syntax.c (599 of 18966) ******************** TEST 'Clang :: Analysis/cstring-syntax.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax.c -Wno-strncat-size -Wno-sizeof-pointer-memaccess -Wno-strlcpy-strlcat-size -Wno-sizeof-array-argument : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax.c -Wno-strncat-size -Wno-sizeof-pointer-memaccess -Wno-strlcpy-strlcat-size -Wno-sizeof-array-argument -triple armv7-a15-linux : 'RUN: at line 8'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax.c -Wno-strncat-size -Wno-sizeof-pointer-memaccess -Wno-strlcpy-strlcat-size -Wno-sizeof-array-argument -triple aarch64_be-none-linux-gnu : 'RUN: at line 12'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax.c -Wno-strncat-size -Wno-sizeof-pointer-memaccess -Wno-strlcpy-strlcat-size -Wno-sizeof-array-argument -triple i386-apple-darwin10 -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax.c -Wno-strncat-size -Wno-sizeof-pointer-memaccess -Wno-strlcpy-strlcat-size -Wno-sizeof-array-argument 1. parser at end of file 2. While analyzing stack: #0 Calling testStrlcat 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax.c:54:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax.c:54:3: Error evaluating statement #0 0x0000ffffa714acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa7149100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa714b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb00ce800 (linux-vdso.so.1+0x800) #4 0x0000ffffaf3aae6c llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaf3aae6c llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaf3aae6c llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaf3aae6c llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaf3aae6c llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaf3aae6c clang::ento::ProgramStatePartialTrait>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffaf3aae6c get<(anonymous namespace)::CStringLength> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffaf3aae6c (anonymous namespace)::CStringChecker::checkRegionChanges(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2560:0 #12 0x0000ffffaf0bff88 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffffaf0bff88 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffffaf0bff88 llvm::IntrusiveRefCntPtr clang::ento::check::RegionChanges::_checkRegionChanges<(anonymous namespace)::CStringChecker>(void*, llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:344:70 #15 0x0000ffffaefcb4a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffffaefcb4a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffffaefcb4a4 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*)>::operator()(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffffaefcb4a4 clang::ento::CheckerManager::runCheckersForRegionChanges(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:608:0 #19 0x0000ffffaf05c6f0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x0000ffffaf05c6f0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x0000ffffaf05c6f0 clang::ento::ExprEngine::processRegionChanges(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:681:0 #22 0x0000ffffaf05c6f0 clang::ento::ProgramState::invalidateRegionsImpl(llvm::ArrayRef, clang::Expr const*, unsigned int, clang::LocationContext const*, bool, llvm::DenseSet>*, clang::ento::RegionAndSymbolInvalidationTraits*, clang::ento::CallEvent const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:215:0 #23 0x0000ffffaf05c990 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #24 0x0000ffffaf05c990 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #25 0x0000ffffaf05c990 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #26 0x0000ffffaf05c990 clang::ento::ProgramState::invalidateRegions(llvm::ArrayRef, clang::Expr const*, unsigned int, clang::LocationContext const*, bool, llvm::DenseSet>*, clang::ento::CallEvent const*, clang::ento::RegionAndSymbolInvalidationTraits*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:164:0 #27 0x0000ffffaf4f43f8 llvm::DenseMap, llvm::detail::DenseMapPair>::~DenseMap() /usr/include/llvm/ADT/DenseMap.h:782:0 #28 0x0000ffffaf4f43f8 clang::ento::RegionAndSymbolInvalidationTraits::~RegionAndSymbolInvalidationTraits() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:1624:0 #29 0x0000ffffaf4f43f8 (anonymous namespace)::CStringChecker::invalidateBufferAux(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, clang::Expr const*, clang::ento::SVal, llvm::function_ref) (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:1133:3 #30 0x0000ffffaf084ad4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffaf084ad4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffaf084ad4 (anonymous namespace)::CStringChecker::invalidateDestinationBufferBySize(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, clang::Expr const*, clang::ento::SVal, clang::ento::SVal, clang::QualType) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:1058:75 #33 0x0000ffffaf0c2a60 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:15 #34 0x0000ffffaf0c2a60 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #35 0x0000ffffaf0c2a60 (anonymous namespace)::CStringChecker::evalStrcpyCommon(clang::ento::CheckerContext&, clang::CallExpr const*, bool, bool, (anonymous namespace)::ConcatFnKind, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2040:78 #36 0x0000ffffaf0cdd80 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #37 0x0000ffffaf0cdd80 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2515:23 #38 0x0000ffffaf0cdd80 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::CStringChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #39 0x0000ffffaefe938c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #40 0x0000ffffaf048bec llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #41 0x0000ffffaf048bec llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #42 0x0000ffffaf048bec clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #43 0x0000ffffaf048bec clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #44 0x0000ffffaf049514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #45 0x0000ffffaf02b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #46 0x0000ffffaf02b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #47 0x0000ffffaf02c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #48 0x0000ffffaf02c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #49 0x0000ffffaf02c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #50 0x0000ffffaf02cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #51 0x0000ffffaf02cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #52 0x0000ffffaf02cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #53 0x0000ffffaf02cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #54 0x0000ffffaf02cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #55 0x0000ffffaf2f6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #56 0x0000ffffaf2f6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #57 0x0000ffffaf2f6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #58 0x0000ffffaf2f6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #59 0x0000ffffaf2f6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #60 0x0000ffffaf2f7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #61 0x0000ffffaf2f7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x0000ffffaf2f7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #63 0x0000ffffaf2fc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x0000ffffaf2fc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x0000ffffaf2fc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x0000ffffaf2fc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x0000ffffaf2fc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x0000ffffad752058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #69 0x0000ffffad752058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x0000ffffad752058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #71 0x0000ffffad752058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x0000ffffaee17450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #73 0x0000ffffaedcf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #74 0x0000ffffaedcf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #75 0x0000ffffaedcf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #76 0x0000ffffaee5551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #77 0x0000aaaabd1459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000aaaabd1494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000aaaabd14aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000aaaabd141fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x0000ffffa63a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #82 0x0000ffffa63a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #83 0x0000aaaabd1420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-syntax.c.script: line 4: 2536444 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax.c -Wno-strncat-size -Wno-sizeof-pointer-memaccess -Wno-strlcpy-strlcat-size -Wno-sizeof-array-argument -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctor-array.cpp (600 of 18966) ******************** TEST 'Clang :: Analysis/ctor-array.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-disable-checker=cplusplus -analyzer-config c++-inlining=constructors -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor-array.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-disable-checker=cplusplus -analyzer-config c++-inlining=constructors -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor-array.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling Parent::Parent() at line 245 #1 Calling member() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor-array.cpp:241:19: Error evaluating statement #0 0x0000ffff9081acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff90819100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9081b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff99795800 (linux-vdso.so.1+0x800) #4 0x0000ffff986e7188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff986e7188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff986e7188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff986e7188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff986e7188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff986e7188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff986e7188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff986e7188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff986fc264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff986fc264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff986fc264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff986fc264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff986fc264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff986fc264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff986fc264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff986fc264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff986fc264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffff986fc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #22 0x0000ffff986fc6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffff986fc9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffff986fcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff986fcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff986fcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff986fcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff986fcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #29 0x0000ffff989c6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff989c6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff989c6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff989c6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff989c6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff989c7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #35 0x0000ffff989c7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff989c7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff989cc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff989cc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff989cc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff989cc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff989cc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff96e22058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #43 0x0000ffff96e22058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff96e22058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #45 0x0000ffff96e22058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff984e7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff9849f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff9849f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff9849f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff9852551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaad3d959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaad3d994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaad3d9aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaad3d91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff8fa7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff8fa70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaad3d920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctor-array.cpp.script: line 1: 2536461 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-disable-checker=cplusplus -analyzer-config c++-inlining=constructors -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor-array.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctor-bug-path.cpp (601 of 18966) ******************** TEST 'Clang :: Analysis/ctor-bug-path.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-output=text -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor-bug-path.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-output=text -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor-bug-path.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-output=text -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor-bug-path.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling NestedElementRegionTrack::NestedElementRegionTrack() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor-bug-path.cpp:263:9: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor-bug-path.cpp:263:9: Error evaluating statement #0 0x0000ffff8b42acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8b429100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8b42b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff943a8800 (linux-vdso.so.1+0x800) #4 0x0000ffff932f7804 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff932f7804 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff932f7804 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff932f7804 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff932f7804 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff932f7804 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff932f7804 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff932f7804 clang::ento::ExprEngine::getObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:607:55 #12 0x0000ffff93328680 clang::ento::ExprEngine::finishArgumentConstruction(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:640:59 #13 0x0000ffff93328824 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #14 0x0000ffff93328824 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x0000ffff93328824 clang::ento::ExprEngine::finishArgumentConstruction(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:657:72 #16 0x0000ffff93305534 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:832:0 #17 0x0000ffff9330b22c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #18 0x0000ffff9330b22c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #19 0x0000ffff9330c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #20 0x0000ffff9330c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #21 0x0000ffff9330c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #22 0x0000ffff9330cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #23 0x0000ffff9330cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #24 0x0000ffff9330cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #25 0x0000ffff9330cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #26 0x0000ffff9330cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #27 0x0000ffff935d6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x0000ffff935d6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x0000ffff935d6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #30 0x0000ffff935d6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #31 0x0000ffff935d6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #32 0x0000ffff935d7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #33 0x0000ffff935d7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x0000ffff935d7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #35 0x0000ffff935dc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff935dc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff935dc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x0000ffff935dc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x0000ffff935dc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x0000ffff91a32058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #41 0x0000ffff91a32058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x0000ffff91a32058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #43 0x0000ffff91a32058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x0000ffff930f7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #45 0x0000ffff930af104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #46 0x0000ffff930af104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #47 0x0000ffff930af104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #48 0x0000ffff9313551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #49 0x0000aaaae10359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x0000aaaae10394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x0000aaaae103aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x0000aaaae1031fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x0000ffff8a68098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #54 0x0000ffff8a680a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #55 0x0000aaaae10320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctor-bug-path.cpp.script: line 2: 2536463 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-output=text -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor-bug-path.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctor-trivial-copy.cpp (602 of 18966) ******************** TEST 'Clang :: Analysis/ctor-trivial-copy.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-inlining=constructors -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor-trivial-copy.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-inlining=constructors -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor-trivial-copy.cpp 1. parser at end of file #0 0x0000ffff98e8acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff98e89100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff98e8b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa1e0d800 (linux-vdso.so.1+0x800) #4 0x0000ffffa0d5c024 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa0d5c024 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa0d5c024 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa0d5c024 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa0d5c024 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa0d5c024 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa0d5c024 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa0d5c024 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2911:0 #12 0x0000ffffa0d5c948 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #13 0x0000ffffa0d6c974 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #14 0x0000ffffa0d6cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffa0d6cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffa0d6cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffa0d6cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffa0d6cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffffa1036bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffa1036bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffa1036bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffa1036bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffa1036bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffa1037b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffffa1037b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffa1037b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffa103c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffa103c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffa103c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffa103c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffa103c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff9f492058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffff9f492058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff9f492058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffff9f492058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffa0b57450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffa0b0f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffa0b0f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffa0b0f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffa0b9551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaab47659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaab47694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaab476aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaab4761fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff980e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff980e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaab47620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctor-trivial-copy.cpp.script: line 1: 2536471 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-inlining=constructors -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor-trivial-copy.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctor.mm (604 of 18966) ******************** TEST 'Clang :: Analysis/ctor.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -DI386 -analyzer-checker=core,debug.ExprInspection -fobjc-arc -analyzer-config c++-inlining=constructors -Wno-null-dereference -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor.mm : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -DI386 -analyzer-checker=core,debug.ExprInspection -fobjc-arc -analyzer-config c++-inlining=constructors -Wno-null-dereference -std=c++11 -verify -DTEST_INLINABLE_ALLOCATORS -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor.mm : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin12 -analyzer-checker=core,debug.ExprInspection -fobjc-arc -analyzer-config c++-inlining=constructors -Wno-null-dereference -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor.mm : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin12 -analyzer-checker=core,debug.ExprInspection -fobjc-arc -analyzer-config c++-inlining=constructors -Wno-null-dereference -std=c++11 -verify -DTEST_INLINABLE_ALLOCATORS -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -DI386 -analyzer-checker=core,debug.ExprInspection -fobjc-arc -analyzer-config c++-inlining=constructors -Wno-null-dereference -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor.mm 1. parser at end of file #0 0x0000ffffb46aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb46a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb46ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbd627800 (linux-vdso.so.1+0x800) #4 0x0000ffffbc9229e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbc9229e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbc9229e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbc9229e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbc9229e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbc9229e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbc9229e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbc9229e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbc5d0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbc5d0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbc5d0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbc5d0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbc5d0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbc5d0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbc5d0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbc5d0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbc5e3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbc5e3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbc5e3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbc5e5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbc5e5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbc5e5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbc5e4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbc5e4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbc5e4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbc5f0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbc5f0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbc5f0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbc5fa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbc5fa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbc5fa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbc55eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbc55eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbc55eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbc55eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbc55efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbc55efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbc55efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffbc532620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffbc532620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffbc532620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffbc56ef2c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffbc56ef2c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffbc56ef2c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffbc58ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffbc58ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffbc58ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffbc856bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffbc856bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffbc856bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffbc856bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffbc856bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffbc857b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffbc857b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffbc857b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffbc85c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffbc85c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffbc85c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffbc85c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffbc85c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffbacb2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffbacb2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffbacb2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffbacb2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffbc377450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffbc32f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffbc32f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffbc32f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffbc3b551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaac62059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaac62094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaac620aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaac6201fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffb390098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffb3900a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaac62020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctor.mm.script: line 4: 2536481 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -DI386 -analyzer-checker=core,debug.ExprInspection -fobjc-arc -analyzer-config c++-inlining=constructors -Wno-null-dereference -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctu-implicit.c (605 of 18966) ******************** TEST 'Clang :: Analysis/ctu-implicit.c' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-implicit.c.tmp && mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-implicit.c.tmp : 'RUN: at line 2'; mkdir -p /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-implicit.c.tmp/ctudir2 : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -emit-pch -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-implicit.c.tmp/ctudir2/ctu-import.c.ast /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-import.c : 'RUN: at line 5'; cp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-import.c.externalDefMap.ast-dump.txt /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-implicit.c.tmp/ctudir2/externalDefMap.txt : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config display-ctu-progress=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-implicit.c.tmp/ctudir2 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-implicit.c -- Exit Code: 139 Command Output (stderr): -- CTU loaded AST file: ctu-import.c.ast PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config display-ctu-progress=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-implicit.c.tmp/ctudir2 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-implicit.c 1. parser at end of file 2. While analyzing stack: #0 Calling func 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-implicit.c:19:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-implicit.c:19:3: Error evaluating statement #0 0x0000ffff7923acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff79239100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7923b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff821b8800 (linux-vdso.so.1+0x800) #4 0x0000ffff814b29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff814b29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff814b29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff814b29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff814b29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff814b29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff814b29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff814b29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff81160048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff81160048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff81160048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff81160048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff81160f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff81160f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff81160f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff81160f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff81173b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff81173b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff81173b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff81175060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff81175060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff81175060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff81174530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff81174530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff81174530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff81180b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff81180b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff81180b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8118a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8118a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8118a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff810eea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff810eea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff810eea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff810eea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff815e0ea4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff815e0ea4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff815e0ea4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff815e0ea4 getArgumentValueString(clang::CallExpr const*, clang::ento::CheckerContext&) (.part.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:150:20 #43 0x0000ffff811fbd10 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #44 0x0000ffff811fbd10 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #45 0x0000ffff811fbd10 (anonymous namespace)::ExprInspectionChecker::analyzerEval(clang::CallExpr const*, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:215:0 #46 0x0000ffff8122f4b0 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #47 0x0000ffff8122f4b0 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::ExprInspectionChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:0 #48 0x0000ffff810d938c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #49 0x0000ffff81138bec llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #50 0x0000ffff81138bec llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #51 0x0000ffff81138bec clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #52 0x0000ffff81138bec clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #53 0x0000ffff81139514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #54 0x0000ffff8111b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #55 0x0000ffff8111b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #56 0x0000ffff8111c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #57 0x0000ffff8111c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #58 0x0000ffff8111c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #59 0x0000ffff8111cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8111cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8111cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffff8111cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffff8111cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #64 0x0000ffff813e6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffff813e6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffff813e6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffff813e6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffff813e6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffff813e7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #70 0x0000ffff813e7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffff813e7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffff813ec130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffff813ec130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffff813ec130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffff813ec130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffff813ec130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffff7f842058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #78 0x0000ffff7f842058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffff7f842058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #80 0x0000ffff7f842058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffff80f07450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffff80ebf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffff80ebf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffff80ebf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffff80f4551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaae27e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaae27e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaae27eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaae27e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffff7849098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff78490a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaae27e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-implicit.c.script: line 5: 2536527 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config display-ctu-progress=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-implicit.c.tmp/ctudir2 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-implicit.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctu-main.c (606 of 18966) ******************** TEST 'Clang :: Analysis/ctu-main.c' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.c.tmp && mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.c.tmp : 'RUN: at line 2'; mkdir -p /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.c.tmp/ctudir2 : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -triple x86_64-pc-linux-gnu -emit-pch -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.c.tmp/ctudir2/ctu-other.c.ast /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-other.c : 'RUN: at line 5'; cp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-other.c.externalDefMap.ast-dump.txt /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.c.tmp/ctudir2/externalDefMap.txt : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -triple x86_64-pc-linux-gnu -fsyntax-only -std=c89 -analyze -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.c.tmp/ctudir2 -analyzer-config ctu-phase1-inlining=none -verify=newctu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.c : 'RUN: at line 17'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -triple x86_64-pc-linux-gnu -fsyntax-only -std=c89 -analyze -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.c.tmp/ctudir2 -analyzer-config ctu-phase1-inlining=all -verify=oldctu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.c -- Exit Code: 139 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-other.c:49:26: warning: declaration of 'struct DataType' will not be visible outside of this function [-Wvisibility] 49 | int structInProto(struct DataType {int a;int b; } * d) { | ^ 1 warning generated. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-other.c:49:26: error: cannot import unsupported AST node Record 49 | int structInProto(struct DataType {int a;int b; } * d) { | ^ PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -triple x86_64-pc-linux-gnu -fsyntax-only -std=c89 -analyze -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.c.tmp/ctudir2 -analyzer-config ctu-phase1-inlining=none -verify=newctu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.c 1. parser at end of file 2. While analyzing stack: #0 Calling testStructDefInArgument 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.c:102:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.c:102:3: Error evaluating statement #0 0x0000ffffa538acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa5389100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa538b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffae304800 (linux-vdso.so.1+0x800) #4 0x0000ffffad6029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffad6029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffad6029e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffad6029e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffad6029e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffad6029e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffad6029e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffad6029e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffad2b0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffad2b0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffad2b0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffad2b0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffad2b0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffad2b0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffad2b0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffad2b0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffad2c3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffad2c3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffad2c3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffad2c5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffad2c5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffad2c5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffad2c4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffad2c4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffad2c4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffad2d0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffad2d0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffad2d0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffad2da414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffad2da414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffad2da414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffad23ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffad23ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffad23ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffad23ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffad730ea4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffad730ea4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffad730ea4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffad730ea4 getArgumentValueString(clang::CallExpr const*, clang::ento::CheckerContext&) (.part.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:150:20 #43 0x0000ffffad34bd10 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #44 0x0000ffffad34bd10 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #45 0x0000ffffad34bd10 (anonymous namespace)::ExprInspectionChecker::analyzerEval(clang::CallExpr const*, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:215:0 #46 0x0000ffffad37f4b0 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #47 0x0000ffffad37f4b0 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::ExprInspectionChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:0 #48 0x0000ffffad22938c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #49 0x0000ffffad288bec llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #50 0x0000ffffad288bec llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #51 0x0000ffffad288bec clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #52 0x0000ffffad288bec clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #53 0x0000ffffad289514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #54 0x0000ffffad26b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #55 0x0000ffffad26b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #56 0x0000ffffad26c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #57 0x0000ffffad26c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #58 0x0000ffffad26c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #59 0x0000ffffad26cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffad26cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffad26cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffffad26cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffffad26cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #64 0x0000ffffad536bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffffad536bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffffad536bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffffad536bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffffad536bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffffad537b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #70 0x0000ffffad537b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffffad537b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffffad53c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffffad53c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffffad53c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffffad53c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffffad53c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffffab992058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #78 0x0000ffffab992058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffffab992058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #80 0x0000ffffab992058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffffad057450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffffad00f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffffad00f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffffad00f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffffad09551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaae25059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaae25094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaae250aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaae2501fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffffa45e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffffa45e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaae25020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.c.script: line 6: 2536546 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -triple x86_64-pc-linux-gnu -fsyntax-only -std=c89 -analyze -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.c.tmp/ctudir2 -analyzer-config ctu-phase1-inlining=none -verify=newctu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctu-on-demand-parsing.cpp (607 of 18966) ******************** TEST 'Clang :: Analysis/ctu-on-demand-parsing.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp : 'RUN: at line 2'; mkdir -p /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/Inputs : 'RUN: at line 3'; cp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-on-demand-parsing.cpp /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/ctu-on-demand-parsing.cpp : 'RUN: at line 4'; cp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-hdr.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/ctu-hdr.h : 'RUN: at line 5'; cp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-chain.cpp /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/Inputs/ctu-chain.cpp : 'RUN: at line 6'; cp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-other.cpp /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/Inputs/ctu-other.cpp : 'RUN: at line 10'; echo '[{"directory":"/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/Inputs","command":"clang++ ctu-chain.cpp","file":"ctu-chain.cpp"},{"directory":"/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/Inputs","command":"clang++ ctu-other.cpp","file":"ctu-other.cpp"}]' | sed -e 's/\\/\\\\/g' > /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/compile_commands.json : 'RUN: at line 12'; echo '{"/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/Inputs/ctu-chain.cpp": ["g++", "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/Inputs/ctu-chain.cpp"], "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/Inputs/ctu-other.cpp": ["g++", "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/Inputs/ctu-other.cpp"]}' | sed -e 's/\\/\\\\/g' > /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/invocations.yaml : 'RUN: at line 14'; cd "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp" && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-extdef-mapping Inputs/ctu-chain.cpp Inputs/ctu-other.cpp > externalDefMap.txt : 'RUN: at line 16'; cd "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp" && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=. -analyzer-config ctu-invocation-list=invocations.yaml -analyzer-config ctu-phase1-inlining=all -verify ctu-on-demand-parsing.cpp : 'RUN: at line 23'; cd "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp" && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=. -analyzer-config ctu-invocation-list=invocations.yaml -analyzer-config display-ctu-progress=true ctu-on-demand-parsing.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/ctu-on-demand-parsing.cpp -- Exit Code: 139 Command Output (stderr): -- ctu-other.cpp:105:10: warning: 'extern' variable has an initializer [-Wextern-initializer] 105 | extern S extNonConstS = {.a = 4}; | ^ 1 warning generated. PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=. -analyzer-config ctu-invocation-list=invocations.yaml -analyzer-config ctu-phase1-inlining=all -verify ctu-on-demand-parsing.cpp 1. parser at end of file #0 0x0000ffff7757acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff77579100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7757b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff804f8800 (linux-vdso.so.1+0x800) #4 0x0000ffff7f44c024 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff7f44c024 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff7f44c024 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff7f44c024 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff7f44c024 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff7f44c024 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff7f44c024 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff7f44c024 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2911:0 #12 0x0000ffff7f44c948 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #13 0x0000ffff7f45c974 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #14 0x0000ffff7f45cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff7f45cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff7f45cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff7f45cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff7f45cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffff7f726bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff7f726bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff7f726bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff7f726bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff7f726bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff7f727b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffff7f727b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff7f727b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff7f72c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff7f72c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff7f72c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff7f72c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff7f72c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff7db82058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffff7db82058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff7db82058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffff7db82058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff7f247450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff7f1ff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff7f1ff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff7f1ff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff7f28551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaae0ea59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaae0ea94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaae0eaaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaae0ea1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff767d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff767d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaae0ea20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.script: line 11: 2536610 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=. -analyzer-config ctu-invocation-list=invocations.yaml -analyzer-config ctu-phase1-inlining=all -verify ctu-on-demand-parsing.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctu-main.cpp (608 of 18966) ******************** TEST 'Clang :: Analysis/ctu-main.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.tmp && mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.tmp : 'RUN: at line 2'; mkdir -p /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.tmp/ctudir : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -std=c++14 -triple x86_64-pc-linux-gnu -emit-pch -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.tmp/ctudir/ctu-other.cpp.ast /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-other.cpp : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -std=c++14 -triple x86_64-pc-linux-gnu -emit-pch -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.tmp/ctudir/ctu-chain.cpp.ast /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-chain.cpp : 'RUN: at line 7'; cp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-other.cpp.externalDefMap.ast-dump.txt /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.tmp/ctudir/externalDefMap.txt : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.tmp/ctudir -analyzer-config ctu-phase1-inlining=none -verify=newctu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.cpp : 'RUN: at line 19'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.tmp/ctudir -analyzer-config ctu-phase1-inlining=all -verify=oldctu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.cpp : 'RUN: at line 27'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.tmp/ctudir -analyzer-config display-ctu-progress=true 2>&1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.cpp | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.cpp -- Exit Code: 139 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-other.cpp:105:10: warning: 'extern' variable has an initializer [-Wextern-initializer] 105 | extern S extNonConstS = {.a = 4}; | ^ 1 warning generated. PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.tmp/ctudir -analyzer-config ctu-phase1-inlining=none -verify=newctu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling main() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.cpp:161:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.cpp:161:3: Error evaluating statement #0 0x0000ffff7c6aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7c6a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7c6ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8562e800 (linux-vdso.so.1+0x800) #4 0x0000ffff849229e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff849229e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff849229e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff849229e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff849229e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff849229e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff849229e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff849229e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff845d0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff845d0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff845d0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff845d0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff845d0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff845d0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff845d0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff845d0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff845e3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff845e3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff845e3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff845e5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff845e5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff845e5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff845e4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff845e4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff845e4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff845f0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff845f0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff845f0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff845fa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff845fa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff845fa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8455ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8455ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8455ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8455ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff84a50ea4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff84a50ea4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff84a50ea4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff84a50ea4 getArgumentValueString(clang::CallExpr const*, clang::ento::CheckerContext&) (.part.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:150:20 #43 0x0000ffff8466bd10 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #44 0x0000ffff8466bd10 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #45 0x0000ffff8466bd10 (anonymous namespace)::ExprInspectionChecker::analyzerEval(clang::CallExpr const*, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:215:0 #46 0x0000ffff8469f4b0 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #47 0x0000ffff8469f4b0 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::ExprInspectionChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:0 #48 0x0000ffff8454938c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #49 0x0000ffff845a8bec llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #50 0x0000ffff845a8bec llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #51 0x0000ffff845a8bec clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #52 0x0000ffff845a8bec clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #53 0x0000ffff845a9514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #54 0x0000ffff8458b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #55 0x0000ffff8458b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #56 0x0000ffff8458c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #57 0x0000ffff8458c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #58 0x0000ffff8458c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #59 0x0000ffff8458cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8458cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8458cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffff8458cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffff8458cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #64 0x0000ffff84856bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffff84856bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffff84856bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffff84856bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffff84856bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffff84857b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #70 0x0000ffff84857b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffff84857b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffff8485c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffff8485c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffff8485c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffff8485c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffff8485c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffff82cb2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #78 0x0000ffff82cb2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffff82cb2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #80 0x0000ffff82cb2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffff84377450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffff8432f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffff8432f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffff8432f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffff843b551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaab55059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaab55094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaab550aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaab5501fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffff7b90098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff7b900a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaab55020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.script: line 8: 2536555 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.tmp/ctudir -analyzer-config ctu-phase1-inlining=none -verify=newctu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctu-onego-indirect.cpp (611 of 18966) ******************** TEST 'Clang :: Analysis/ctu-onego-indirect.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-indirect.cpp.tmp && mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-indirect.cpp.tmp : 'RUN: at line 2'; mkdir -p /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-indirect.cpp.tmp/ctudir : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -std=c++14 -triple x86_64-pc-linux-gnu -emit-pch -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-indirect.cpp.tmp/ctudir/ctu-onego-indirect-other.cpp.ast /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-onego-indirect-other.cpp : 'RUN: at line 5'; cp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-onego-indirect-other.cpp.externalDefMap.ast-dump.txt /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-indirect.cpp.tmp/ctudir/externalDefMap.txt : 'RUN: at line 14'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-indirect.cpp.tmp/ctudir -analyzer-display-progress -analyzer-inlining-mode=all -analyzer-config ctu-phase1-inlining=none -analyzer-config ctu-max-nodes-pct=100 -analyzer-config ctu-max-nodes-min=1000 2>&1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-indirect.cpp | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-indirect.cpp : 'RUN: at line 27'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-indirect.cpp.tmp/ctudir -analyzer-display-progress -analyzer-inlining-mode=all -analyzer-config ctu-phase1-inlining=none -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-indirect.cpp -analyzer-config ctu-max-nodes-pct=100 -analyzer-config ctu-max-nodes-min=1000 -- Exit Code: 139 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-indirect.cpp.script: line 6: 2536616 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-indirect.cpp.tmp/ctudir -analyzer-display-progress -analyzer-inlining-mode=all -analyzer-config ctu-phase1-inlining=none -analyzer-config ctu-max-nodes-pct=100 -analyzer-config ctu-max-nodes-min=1000 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-indirect.cpp 2>&1 2536617 Done | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-indirect.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctu-on-demand-parsing.c (613 of 18966) ******************** TEST 'Clang :: Analysis/ctu-on-demand-parsing.c' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.tmp : 'RUN: at line 2'; mkdir -p /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.tmp : 'RUN: at line 3'; cp "/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-on-demand-parsing.c" "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.tmp/ctu-on-demand-parsing.c" : 'RUN: at line 4'; cp "/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-other.c" "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.tmp/ctu-other.c" : 'RUN: at line 8'; echo '[{"directory":"/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.tmp","command":"gcc -std=c89 -Wno-visibility ctu-other.c","file":"ctu-other.c"}]' | sed -e 's/\\/\\\\/g' > /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.tmp/compile_commands.json : 'RUN: at line 10'; echo '"/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.tmp/ctu-other.c": ["gcc", "-std=c89", "-Wno-visibility", "ctu-other.c"]' | sed -e 's/\\/\\\\/g' > /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.tmp/invocations.yaml : 'RUN: at line 12'; cd "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.tmp" && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-extdef-mapping "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.tmp/ctu-other.c" > externalDefMap.txt : 'RUN: at line 14'; cd "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.tmp" && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -fsyntax-only -std=c89 -analyze -analyzer-checker=core,debug.ExprInspection -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=. -analyzer-config ctu-invocation-list=invocations.yaml -analyzer-config ctu-phase1-inlining=all -verify ctu-on-demand-parsing.c -- Exit Code: 139 Command Output (stderr): -- ctu-other.c:39:18: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths] 39 | : "=r"(res)); | ^ ctu-other.c:38:21: note: use constraint modifier "w" 38 | __asm__("mov $42, %0" | ^~ | %w0 1 warning generated. PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -fsyntax-only -std=c89 -analyze -analyzer-checker=core,debug.ExprInspection -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=. -analyzer-config ctu-invocation-list=invocations.yaml -analyzer-config ctu-phase1-inlining=all -verify ctu-on-demand-parsing.c 1. parser at end of file 2. While analyzing stack: #0 Calling testStructDefInArgument 3. ctu-on-demand-parsing.c:86:23: Error evaluating statement 4. ctu-on-demand-parsing.c:86:23: Error evaluating statement #0 0x0000ffff7c43acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7c439100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7c43b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff853b7800 (linux-vdso.so.1+0x800) #4 0x0000ffff846b29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff846b29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff846b29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff846b29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff846b29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff846b29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff846b29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff846b29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff84360048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff84360048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff84360048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff84360048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff84360f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff84360f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff84360f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff84360f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff84373b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff84373b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff84373b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff84375060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff84375060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff84375060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff84374530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff84374530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff84374530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff84380b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff84380b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff84380b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8438a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8438a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8438a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff842eea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff842eea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff842eea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff842eea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff847dc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff847dc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff847dc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff84301ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff84301ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff84301ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff8431c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff8431c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff8431c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff8431c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff8431c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff8431c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffff8431c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffff8431c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffff8431cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8431cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8431cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8431cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8431cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff845e6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff845e6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff845e6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff845e6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff845e6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff845e7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff845e7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff845e7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff845ec130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff845ec130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff845ec130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff845ec130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff845ec130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff82a42058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff82a42058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff82a42058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff82a42058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff84107450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff840bf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff840bf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff840bf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8414551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad48659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad48694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad486aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad4861fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7b69098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7b690a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad48620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.script: line 8: 2536577 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -fsyntax-only -std=c89 -analyze -analyzer-checker=core,debug.ExprInspection -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=. -analyzer-config ctu-invocation-list=invocations.yaml -analyzer-config ctu-phase1-inlining=all -verify ctu-on-demand-parsing.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctu-onego-small.cpp (614 of 18966) ******************** TEST 'Clang :: Analysis/ctu-onego-small.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-small.cpp.tmp && mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-small.cpp.tmp : 'RUN: at line 2'; mkdir -p /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-small.cpp.tmp/ctudir : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -std=c++14 -triple x86_64-pc-linux-gnu -emit-pch -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-small.cpp.tmp/ctudir/ctu-onego-small-other.cpp.ast /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-onego-small-other.cpp : 'RUN: at line 5'; cp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-onego-small-other.cpp.externalDefMap.ast-dump.txt /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-small.cpp.tmp/ctudir/externalDefMap.txt : 'RUN: at line 14'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-small.cpp.tmp/ctudir -analyzer-config display-ctu-progress=true -analyzer-display-progress -analyzer-config ctu-max-nodes-pct=0 -analyzer-config ctu-max-nodes-min=0 2>&1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-small.cpp | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-small.cpp : 'RUN: at line 25'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-small.cpp.tmp/ctudir -analyzer-config ctu-max-nodes-pct=0 -analyzer-config ctu-phase1-inlining=none -analyzer-config ctu-max-nodes-min=0 -verify=inline-none /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-small.cpp : 'RUN: at line 34'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-small.cpp.tmp/ctudir -analyzer-config ctu-max-nodes-pct=0 -analyzer-config ctu-phase1-inlining=small -analyzer-config ctu-max-nodes-min=0 -verify=inline-small /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-small.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-small.cpp.tmp/ctudir -analyzer-config ctu-max-nodes-pct=0 -analyzer-config ctu-phase1-inlining=none -analyzer-config ctu-max-nodes-min=0 -verify=inline-none /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-small.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling baruser(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-small.cpp:50:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-small.cpp:50:3: Error evaluating statement #0 0x0000ffffb427acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb4279100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb427b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbd1f2800 (linux-vdso.so.1+0x800) #4 0x0000ffffbc4f29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbc4f29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbc4f29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbc4f29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbc4f29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbc4f29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbc4f29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbc4f29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbc1a0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbc1a0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbc1a0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbc1a0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbc1a0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbc1a0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbc1a0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbc1a0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbc1b3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbc1b3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbc1b3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbc1b5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbc1b5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbc1b5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbc1b4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbc1b4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbc1b4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbc1c0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbc1c0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbc1c0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbc1ca414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbc1ca414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbc1ca414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbc12ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbc12ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbc12ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbc12ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffbc620ea4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbc620ea4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbc620ea4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffbc620ea4 getArgumentValueString(clang::CallExpr const*, clang::ento::CheckerContext&) (.part.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:150:20 #43 0x0000ffffbc23bd10 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #44 0x0000ffffbc23bd10 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #45 0x0000ffffbc23bd10 (anonymous namespace)::ExprInspectionChecker::analyzerEval(clang::CallExpr const*, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:215:0 #46 0x0000ffffbc26f4b0 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #47 0x0000ffffbc26f4b0 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::ExprInspectionChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:0 #48 0x0000ffffbc11938c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #49 0x0000ffffbc178bec llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #50 0x0000ffffbc178bec llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #51 0x0000ffffbc178bec clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #52 0x0000ffffbc178bec clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #53 0x0000ffffbc179514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #54 0x0000ffffbc15b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #55 0x0000ffffbc15b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #56 0x0000ffffbc15c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #57 0x0000ffffbc15c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #58 0x0000ffffbc15c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #59 0x0000ffffbc15cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffbc15cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffbc15cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffffbc15cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffffbc15cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #64 0x0000ffffbc426bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffffbc426bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffffbc426bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffffbc426bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffffbc426bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffffbc427b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #70 0x0000ffffbc427b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffffbc427b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffffbc42c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffffbc42c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffffbc42c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffffbc42c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffffbc42c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffffba882058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #78 0x0000ffffba882058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffffba882058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #80 0x0000ffffba882058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffffbbf47450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffffbbeff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffffbbeff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffffbbeff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffffbbf8551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaacd5859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaacd5894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaacd58aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaacd581fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffffb34d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffffb34d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaacd5820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-small.cpp.script: line 7: 2536633 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-small.cpp.tmp/ctudir -analyzer-config ctu-max-nodes-pct=0 -analyzer-config ctu-phase1-inlining=none -analyzer-config ctu-max-nodes-min=0 -verify=inline-none /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-small.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctu-onego-toplevel.cpp (615 of 18966) ******************** TEST 'Clang :: Analysis/ctu-onego-toplevel.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-toplevel.cpp.tmp && mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-toplevel.cpp.tmp : 'RUN: at line 2'; mkdir -p /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-toplevel.cpp.tmp/ctudir : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -std=c++14 -triple x86_64-pc-linux-gnu -emit-pch -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-toplevel.cpp.tmp/ctudir/ctu-onego-toplevel-other.cpp.ast /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-onego-toplevel-other.cpp : 'RUN: at line 5'; cp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-onego-toplevel-other.cpp.externalDefMap.ast-dump.txt /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-toplevel.cpp.tmp/ctudir/externalDefMap.txt : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-toplevel.cpp.tmp/ctudir -analyzer-config ctu-phase1-inlining=none -verify=ctu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-toplevel.cpp : 'RUN: at line 15'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-toplevel.cpp.tmp/ctudir -analyzer-config ctu-phase1-inlining=none -analyzer-config display-ctu-progress=true -analyzer-display-progress -verify=ctu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-toplevel.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-toplevel.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-toplevel.cpp.tmp/ctudir -analyzer-config ctu-phase1-inlining=none -verify=ctu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-toplevel.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling b(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-toplevel.cpp:50:7: Error evaluating branch #0 0x0000ffff9eadacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9ead9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9eadb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa7a5e800 (linux-vdso.so.1+0x800) #4 0x0000ffffa6d529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa6d529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa6d529e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa6d529e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa6d529e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa6d529e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa6d529e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa6d529e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa6a00048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa6a00048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa6a00048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa6a00048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa6a00f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa6a00f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa6a00f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa6a00f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa6a13b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa6a13b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa6a13b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa6a15060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa6a15060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa6a15060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa6a14530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa6a14530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa6a14530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa6a20b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa6a20b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa6a20b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa6a2a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa6a2a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa6a2a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa698ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa698ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa698ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa698ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffa6e7c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa6e7c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa6e7c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa69a4c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffa69a4c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffa69a4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffa69a4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffa69a4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffa69a4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffa69a4c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffa69a4c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffa69a4c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffa69a4c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffa69a5200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffa69bcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa69bcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa69bcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa69bcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa69bcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffa6c86bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa6c86bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa6c86bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa6c86bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa6c86bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa6c87b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffa6c87b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa6c87b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa6c8c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa6c8c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa6c8c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa6c8c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa6c8c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa50e2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffa50e2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa50e2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffa50e2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa67a7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa675f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa675f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa675f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa67e551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad24259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad24294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad242aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad2421fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9dd3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff9dd30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad24220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-toplevel.cpp.script: line 6: 2536649 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-toplevel.cpp.tmp/ctudir -analyzer-config ctu-phase1-inlining=none -verify=ctu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-toplevel.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-for-range.cpp (616 of 18966) ******************** TEST 'Clang :: Analysis/cxx-for-range.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core -analyzer-output=plist-multi-file -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-for-range.cpp.tmp.plist -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-for-range.cpp : 'RUN: at line 2'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling get2() at line 73 #1 Calling testLoopOpaqueIterator() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-for-range.cpp:69:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-for-range.cpp:69:10: Error evaluating statement #0 0x0000ffff816eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff816e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff816eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8a668800 (linux-vdso.so.1+0x800) #4 0x0000ffff895bda74 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff895bda74 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff895bda74 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff895bda74 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff895bda74 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff895bda74 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff895bda74 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff895bda74 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffff895bde64 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #13 0x0000ffff895bde64 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffff895bde64 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff895bde64 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffff895bde64 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffff895be5fc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #18 0x0000ffff895be5fc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #19 0x0000ffff895be5fc clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:472:0 #20 0x0000ffff895c5dd0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #21 0x0000ffff895c5dd0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #22 0x0000ffff895c5dd0 clang::ento::ExprEngine::handleConstructionContext(clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::ento::NodeBuilderContext const*, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions&, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:753:0 #23 0x0000ffff895c5dd0 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:665:0 #24 0x0000ffff895cb22c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #25 0x0000ffff895cb22c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #26 0x0000ffff895cc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #27 0x0000ffff895cc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #28 0x0000ffff895cc6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #29 0x0000ffff895cc9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #30 0x0000ffff895ccb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #31 0x0000ffff895ccb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #32 0x0000ffff895ccb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #33 0x0000ffff895ccb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #34 0x0000ffff895ccb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #35 0x0000ffff89896bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff89896bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff89896bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #38 0x0000ffff89896bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #39 0x0000ffff89896bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #40 0x0000ffff89897b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #41 0x0000ffff89897b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #42 0x0000ffff89897b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #43 0x0000ffff8989c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #44 0x0000ffff8989c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #45 0x0000ffff8989c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #46 0x0000ffff8989c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #47 0x0000ffff8989c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #48 0x0000ffff87cf2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #49 0x0000ffff87cf2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #50 0x0000ffff87cf2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #51 0x0000ffff87cf2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #52 0x0000ffff893b7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #53 0x0000ffff8936f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #54 0x0000ffff8936f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #55 0x0000ffff8936f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #56 0x0000ffff893f551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #57 0x0000aaaab6a359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #58 0x0000aaaab6a394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #59 0x0000aaaab6a3aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #60 0x0000aaaab6a31fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #61 0x0000ffff8094098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #62 0x0000ffff80940a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #63 0x0000aaaab6a320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-for-range.cpp.script: line 2: 2536698 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core -analyzer-output=plist-multi-file -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-for-range.cpp.tmp.plist -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-for-range.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-inherited-ctor-init-expr.cpp (617 of 18966) ******************** TEST 'Clang :: Analysis/cxx-inherited-ctor-init-expr.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-inherited-ctor-init-expr.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-inherited-ctor-init-expr.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling arguments_with_constructors::test_B() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-inherited-ctor-init-expr.cpp:48:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-inherited-ctor-init-expr.cpp:48:7: Error evaluating statement #0 0x0000ffffac2facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffac2f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffac2fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb527e800 (linux-vdso.so.1+0x800) #4 0x0000ffffb41cda74 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffb41cda74 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb41cda74 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb41cda74 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb41cda74 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb41cda74 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb41cda74 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb41cda74 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffffb41cde64 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #13 0x0000ffffb41cde64 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffffb41cde64 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffffb41cde64 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffffb41cde64 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffffb41ce298 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #18 0x0000ffffb41ce298 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #19 0x0000ffffb41ce298 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x0000ffffb41ce298 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:507:0 #21 0x0000ffffb41d5dd0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #22 0x0000ffffb41d5dd0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #23 0x0000ffffb41d5dd0 clang::ento::ExprEngine::handleConstructionContext(clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::ento::NodeBuilderContext const*, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions&, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:753:0 #24 0x0000ffffb41d5dd0 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:665:0 #25 0x0000ffffb41db22c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #26 0x0000ffffb41db22c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #27 0x0000ffffb41dc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #28 0x0000ffffb41dc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #29 0x0000ffffb41dc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #30 0x0000ffffb41dcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #31 0x0000ffffb41dcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #32 0x0000ffffb41dcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #33 0x0000ffffb41dcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #34 0x0000ffffb41dcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #35 0x0000ffffb44a6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb44a6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb44a6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #38 0x0000ffffb44a6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #39 0x0000ffffb44a6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #40 0x0000ffffb44a7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #41 0x0000ffffb44a7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #42 0x0000ffffb44a7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #43 0x0000ffffb44ac130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #44 0x0000ffffb44ac130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #45 0x0000ffffb44ac130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #46 0x0000ffffb44ac130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #47 0x0000ffffb44ac130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #48 0x0000ffffb2902058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #49 0x0000ffffb2902058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #50 0x0000ffffb2902058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #51 0x0000ffffb2902058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #52 0x0000ffffb3fc7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #53 0x0000ffffb3f7f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #54 0x0000ffffb3f7f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #55 0x0000ffffb3f7f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #56 0x0000ffffb400551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #57 0x0000aaaaad1a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #58 0x0000aaaaad1a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #59 0x0000aaaaad1aaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #60 0x0000aaaaad1a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #61 0x0000ffffab55098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #62 0x0000ffffab550a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #63 0x0000aaaaad1a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-inherited-ctor-init-expr.cpp.script: line 1: 2536705 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-inherited-ctor-init-expr.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-inherited-ctor-is-skipped-as-top-level.cpp (618 of 18966) ******************** TEST 'Clang :: Analysis/cxx-inherited-ctor-is-skipped-as-top-level.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-display-progress /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-inherited-ctor-is-skipped-as-top-level.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-inherited-ctor-is-skipped-as-top-level.cpp -- Exit Code: 139 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-inherited-ctor-is-skipped-as-top-level.cpp.script: line 1: 2536708 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-display-progress /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-inherited-ctor-is-skipped-as-top-level.cpp 2>&1 2536709 Done | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-inherited-ctor-is-skipped-as-top-level.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-dynamic-memory-analysis-order.cpp (619 of 18966) ******************** TEST 'Clang :: Analysis/cxx-dynamic-memory-analysis-order.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++20 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-dynamic-memory-analysis-order.cpp -analyzer-checker=core -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:PreStmtCXXNewExpr=true -analyzer-config debug.AnalysisOrder:PostStmtCXXNewExpr=true -analyzer-config debug.AnalysisOrder:PreStmtCXXDeleteExpr=true -analyzer-config debug.AnalysisOrder:PostStmtCXXDeleteExpr=true -analyzer-config debug.AnalysisOrder:PreCall=true -analyzer-config debug.AnalysisOrder:PostCall=true 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-dynamic-memory-analysis-order.cpp -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-dynamic-memory-analysis-order.cpp:37:17: error: CHECK-NEXT: expected string not found in input // CHECK-NEXT: PostCall (operator new) [CXXAllocatorCall] ^ :1:42: note: scanning from here PreCall (operator new) [CXXAllocatorCall] ^ :8:104: note: possible intended match here 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-dynamic-memory-analysis-order.cpp:34:14: Error evaluating New Allocator Call ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-dynamic-memory-analysis-order.cpp -dump-input=help explains the following input dump. Input was: <<<<<< 1: PreCall (operator new) [CXXAllocatorCall] next:37'0 X error: no match found 2: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3: Stack dump: next:37'0 ~~~~~~~~~~~~ 4: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++20 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-dynamic-memory-analysis-order.cpp -analyzer-checker=core -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:PreStmtCXXNewExpr=true -analyzer-config debug.AnalysisOrder:PostStmtCXXNewExpr=true -analyzer-config debug.AnalysisOrder:PreStmtCXXDeleteExpr=true -analyzer-config debug.AnalysisOrder:PostStmtCXXDeleteExpr=true -analyzer-config debug.AnalysisOrder:PreCall=true -analyzer-config debug.AnalysisOrder:PostCall=true next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: 1. parser at end of file next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: 2. While analyzing stack: next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: #0 Calling f() next:37'0 ~~~~~~~~~~~~~~~~ 8: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-dynamic-memory-analysis-order.cpp:34:14: Error evaluating New Allocator Call next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next:37'1 ? possible intended match 9: #0 0x0000ffffa485acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10: #1 0x0000ffffa4859100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11: #2 0x0000ffffa485b388 (/usr/lib64/libLLVM-17.so+0x9bb388) next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 12: #3 0x0000ffffad7db800 (linux-vdso.so.1+0x800) next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 13: #4 0x0000ffffacad29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-crashes.cpp (620 of 18966) ******************** TEST 'Clang :: Analysis/cxx-crashes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-crashes.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-crashes.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling vla(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-crashes.cpp:63:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-crashes.cpp:63:3: Error evaluating statement #0 0x0000ffffa136acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa1369100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa136b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaa2e2800 (linux-vdso.so.1+0x800) #4 0x0000ffffa95e29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa95e29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa95e29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa95e29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa95e29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa95e29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa95e29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa95e29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa9290048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa9290048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa9290048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa9290048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa9290f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa9290f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa9290f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa9290f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa92a4cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa92a4cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa92a4cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffa92a4f90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa92a4f90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa92a4f90 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffa92a4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa92a4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa92a4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa92b0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa92b0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa92b0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa92ba414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa92ba414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa92ba414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa921eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa921eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa921eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa921eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa970c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa970c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa970c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa95c4f8c std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffffa95c4f8c std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffffa95c4f8c std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffffa95c4f8c std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffffa95c4f8c std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffffa95c4f8c checkVLAIndexSize /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp:175:0 #48 0x0000ffffa95c4f8c (anonymous namespace)::VLASizeChecker::checkVLA(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, clang::VariableArrayType const*, clang::ento::SVal&) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp:83:0 #49 0x0000ffffa94b5528 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #50 0x0000ffffa94b5528 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #51 0x0000ffffa94b5528 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp:297:44 #52 0x0000ffffa94b5528 void clang::ento::check::PreStmt::_checkStmt<(anonymous namespace)::VLASizeChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:85:45 #53 0x0000ffffa92074f8 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #54 0x0000ffffa92074f8 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #55 0x0000ffffa923d29c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #56 0x0000ffffa923d29c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #57 0x0000ffffa923d29c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #58 0x0000ffffa923d29c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #59 0x0000ffffa923d29c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #60 0x0000ffffa923d29c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #61 0x0000ffffa923d29c clang::ento::ExprEngine::VisitDeclStmt(clang::DeclStmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:587:0 #62 0x0000ffffa924bbec clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #63 0x0000ffffa924bbec clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2239:0 #64 0x0000ffffa924c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #65 0x0000ffffa924c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #66 0x0000ffffa924c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #67 0x0000ffffa924cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffffa924cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffffa924cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #70 0x0000ffffa924cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #71 0x0000ffffa924cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #72 0x0000ffffa9516bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #73 0x0000ffffa9516bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #74 0x0000ffffa9516bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #75 0x0000ffffa9516bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #76 0x0000ffffa9516bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #77 0x0000ffffa9517b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #78 0x0000ffffa9517b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #79 0x0000ffffa9517b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #80 0x0000ffffa951c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #81 0x0000ffffa951c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #82 0x0000ffffa951c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #83 0x0000ffffa951c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #84 0x0000ffffa951c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #85 0x0000ffffa7972058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #86 0x0000ffffa7972058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #87 0x0000ffffa7972058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #88 0x0000ffffa7972058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #89 0x0000ffffa9037450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #90 0x0000ffffa8fef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #91 0x0000ffffa8fef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #92 0x0000ffffa8fef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #93 0x0000ffffa907551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #94 0x0000aaaae7fa59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #95 0x0000aaaae7fa94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #96 0x0000aaaae7faaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #97 0x0000aaaae7fa1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #98 0x0000ffffa05c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #99 0x0000ffffa05c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #100 0x0000aaaae7fa20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-crashes.cpp.script: line 1: 2536685 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-crashes.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-member-initializer-const-field.cpp (621 of 18966) ******************** TEST 'Clang :: Analysis/cxx-member-initializer-const-field.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-member-initializer-const-field.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-member-initializer-const-field.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling NonAggregate::compliant2(NonAggregate) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-member-initializer-const-field.cpp:106:12: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-member-initializer-const-field.cpp:106:12: Error evaluating statement #0 0x0000ffff9dc2acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9dc29100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9dc2b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa6ba9800 (linux-vdso.so.1+0x800) #4 0x0000ffffa5ea29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa5ea29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa5ea29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa5ea29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa5ea29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa5ea29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa5ea29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa5ea29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa5b50048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa5b50048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa5b50048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa5b50048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa5b50f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa5b50f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa5b50f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa5b50f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa5b63b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa5b63b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa5b63b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa5b65060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa5b65060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa5b65060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa5b64530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa5b64530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa5b64530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa5b70b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa5b70b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa5b70b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa5b7a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa5b7a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa5b7a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa5adeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa5adeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa5adeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa5adeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa5bff1d8 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:9 #40 0x0000ffffa5bff1d8 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:21 #41 0x0000ffffa5bff1d8 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:44 #42 0x0000ffffa5bff1d8 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:25 #43 0x0000ffffa5bff1d8 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:44 #44 0x0000ffffa5bff1d8 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp:99:11 #45 0x0000ffffa5bff1d8 void clang::ento::check::PreStmt::_checkStmt<(anonymous namespace)::DivZeroChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:85:45 #46 0x0000ffffa5ac74f8 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffa5ac74f8 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #48 0x0000ffffa5aff188 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #49 0x0000ffffa5aff188 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #50 0x0000ffffa5aff188 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #51 0x0000ffffa5aff188 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #52 0x0000ffffa5aff188 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #53 0x0000ffffa5aff188 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #54 0x0000ffffa5aff188 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:50:0 #55 0x0000ffffa5b0bfa8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #56 0x0000ffffa5b0c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #57 0x0000ffffa5b0c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #58 0x0000ffffa5b0c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #59 0x0000ffffa5b0cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa5b0cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa5b0cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffffa5b0cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffffa5b0cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #64 0x0000ffffa5dd6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffffa5dd6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffffa5dd6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffffa5dd6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffffa5dd6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffffa5dd7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #70 0x0000ffffa5dd7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffffa5dd7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffffa5ddc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffffa5ddc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffffa5ddc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffffa5ddc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffffa5ddc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffffa4232058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #78 0x0000ffffa4232058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffffa4232058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #80 0x0000ffffa4232058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffffa58f7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffffa58af104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffffa58af104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffffa58af104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffffa593551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaaba9659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaaba9694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaaba96aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaaba961fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffff9ce8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff9ce80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaaba9620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-member-initializer-const-field.cpp.script: line 1: 2536717 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-member-initializer-const-field.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-method-names.cpp (622 of 18966) ******************** TEST 'Clang :: Analysis/cxx-method-names.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix,osx,alpha.unix,alpha.security.taint -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-method-names.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix,osx,alpha.unix,alpha.security.taint -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-method-names.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test(Evil &) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-method-names.cpp:16:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-method-names.cpp:16:3: Error evaluating statement #0 0x0000ffff951eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff951e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff951eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9e16f800 (linux-vdso.so.1+0x800) #4 0x0000ffff9d2b1518 isEqual /usr/include/llvm/ADT/ImmutableMap.h:45:41 #5 0x0000ffff9d2b1518 remove_internal /usr/include/llvm/ADT/ImmutableSet.h:558:26 #6 0x0000ffff9d2b1518 remove /usr/include/llvm/ADT/ImmutableSet.h:403:0 #7 0x0000ffff9d2b1518 remove /usr/include/llvm/ADT/ImmutableMap.h:105:0 #8 0x0000ffff9d2b1518 Remove /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:175:0 #9 0x0000ffff9d2b1518 remove<(anonymous namespace)::LockMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:669:0 #10 0x0000ffff9d2b1518 llvm::IntrusiveRefCntPtr clang::ento::ProgramState::remove<(anonymous namespace)::LockMap>(clang::ento::ProgramStateTrait<(anonymous namespace)::LockMap>::key_type) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:854:0 #11 0x0000ffff9d2cd264 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #12 0x0000ffff9d2cd264 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #13 0x0000ffff9d2cd264 checkRegionChanges /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp:689:0 #14 0x0000ffff9d2cd264 llvm::IntrusiveRefCntPtr clang::ento::check::RegionChanges::_checkRegionChanges<(anonymous namespace)::PthreadLockChecker>(void*, llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:344:0 #15 0x0000ffff9d06b4a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff9d06b4a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff9d06b4a4 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*)>::operator()(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff9d06b4a4 clang::ento::CheckerManager::runCheckersForRegionChanges(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:608:0 #19 0x0000ffff9d0fc6f0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x0000ffff9d0fc6f0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x0000ffff9d0fc6f0 clang::ento::ExprEngine::processRegionChanges(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:681:0 #22 0x0000ffff9d0fc6f0 clang::ento::ProgramState::invalidateRegionsImpl(llvm::ArrayRef, clang::Expr const*, unsigned int, clang::LocationContext const*, bool, llvm::DenseSet>*, clang::ento::RegionAndSymbolInvalidationTraits*, clang::ento::CallEvent const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:215:0 #23 0x0000ffff9d07fbf4 std::_Rb_tree, std::less, std::allocator>::~_Rb_tree() /usr/include/c++/12/bits/stl_tree.h:986:0 #24 0x0000ffff9d07fbf4 std::set, std::allocator>::~set() /usr/include/c++/12/bits/stl_set.h:281:0 #25 0x0000ffff9d07fbf4 llvm::SmallSet>::~SmallSet() /usr/include/llvm/ADT/SmallSet.h:135:0 #26 0x0000ffff9d07fbf4 clang::ento::CallEvent::invalidateRegions(unsigned int, llvm::IntrusiveRefCntPtr) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:286:0 #27 0x0000ffff9d0ffcb0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #28 0x0000ffff9d0ffcb0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #29 0x0000ffff9d0ffcb0 clang::ento::ExprEngine::conservativeEvalCall(clang::ento::CallEvent const&, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:833:0 #30 0x0000ffff9d1006c4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x0000ffff9d1006c4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x0000ffff9d1006c4 clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1266:0 #33 0x0000ffff9d089458 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #34 0x0000ffff9d0e8bec llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #35 0x0000ffff9d0e8bec llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #36 0x0000ffff9d0e8bec clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #37 0x0000ffff9d0e8bec clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #38 0x0000ffff9d0e9514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #39 0x0000ffff9d0cb270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #40 0x0000ffff9d0cb270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #41 0x0000ffff9d0cc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #42 0x0000ffff9d0cc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #43 0x0000ffff9d0cc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #44 0x0000ffff9d0ccb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffff9d0ccb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffff9d0ccb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #47 0x0000ffff9d0ccb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #48 0x0000ffff9d0ccb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #49 0x0000ffff9d396bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #50 0x0000ffff9d396bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #51 0x0000ffff9d396bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #52 0x0000ffff9d396bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #53 0x0000ffff9d396bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #54 0x0000ffff9d397b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #55 0x0000ffff9d397b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #56 0x0000ffff9d397b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #57 0x0000ffff9d39c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #58 0x0000ffff9d39c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #59 0x0000ffff9d39c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #60 0x0000ffff9d39c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #61 0x0000ffff9d39c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #62 0x0000ffff9b7f2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #63 0x0000ffff9b7f2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #64 0x0000ffff9b7f2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #65 0x0000ffff9b7f2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #66 0x0000ffff9ceb7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #67 0x0000ffff9ce6f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #68 0x0000ffff9ce6f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #69 0x0000ffff9ce6f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #70 0x0000ffff9cef551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #71 0x0000aaaac5e259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #72 0x0000aaaac5e294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #73 0x0000aaaac5e2aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #74 0x0000aaaac5e21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #75 0x0000ffff9444098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #76 0x0000ffff94440a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #77 0x0000aaaac5e220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-method-names.cpp.script: line 1: 2536726 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix,osx,alpha.unix,alpha.security.taint -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-method-names.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-uninitialized-object-inheritance.cpp (624 of 18966) ******************** TEST 'Clang :: Analysis/cxx-uninitialized-object-inheritance.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-inheritance.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-inheritance.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling fSymbolicSuperRegionTest() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-inheritance.cpp:832:30: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-inheritance.cpp:832:30: Error evaluating statement #0 0x0000ffff8fafacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8faf9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8fafb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff98a78800 (linux-vdso.so.1+0x800) #4 0x0000ffff979c7804 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff979c7804 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff979c7804 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff979c7804 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff979c7804 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff979c7804 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff979c7804 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff979c7804 clang::ento::ExprEngine::getObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:607:55 #12 0x0000ffff979903fc std::_Optional_base_impl>::_M_is_engaged() const /usr/include/c++/12/optional:471:0 #13 0x0000ffff979903fc std::optional::has_value() const /usr/include/c++/12/optional:988:0 #14 0x0000ffff979903fc clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:431:0 #15 0x0000ffff979903fc addParameterValuesToBindings(clang::StackFrameContext const*, llvm::SmallVectorImpl>&, clang::ento::SValBuilder&, clang::ento::CallEvent const&, llvm::ArrayRef) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:478:0 #16 0x0000ffff979913fc clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x0000ffff979913fc clang::ento::AnyCXXConstructorCall::getInitialStackFrameContents(clang::StackFrameContext const*, llvm::SmallVectorImpl>&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:915:0 #18 0x0000ffff97a52050 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #19 0x0000ffff97a52050 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #20 0x0000ffff97a0d2d8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #21 0x0000ffff97a0d2d8 clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #22 0x0000ffff97a0d488 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #23 0x0000ffff97a0d488 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffff97a0d488 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #25 0x0000ffff97a0ff20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x0000ffff97a0ff20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x0000ffff97a0ff20 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #28 0x0000ffff97a1094c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #29 0x0000ffff97a1094c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffff97a1094c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff97a1094c clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #32 0x0000ffff97999458 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #33 0x0000ffff979d53f8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #34 0x0000ffff979d53f8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #35 0x0000ffff979d53f8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #36 0x0000ffff979d53f8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #37 0x0000ffff979d53f8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #38 0x0000ffff979d53f8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #39 0x0000ffff979d53f8 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #40 0x0000ffff979db22c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #41 0x0000ffff979db22c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #42 0x0000ffff979dc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #43 0x0000ffff979dc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #44 0x0000ffff979dc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #45 0x0000ffff979dcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffff979dcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffff979dcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #48 0x0000ffff979dcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #49 0x0000ffff979dcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #50 0x0000ffff97ca6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffff97ca6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff97ca6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #53 0x0000ffff97ca6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #54 0x0000ffff97ca6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #55 0x0000ffff97ca7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #56 0x0000ffff97ca7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x0000ffff97ca7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #58 0x0000ffff97cac130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffff97cac130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffff97cac130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x0000ffff97cac130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x0000ffff97cac130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x0000ffff96102058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #64 0x0000ffff96102058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x0000ffff96102058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #66 0x0000ffff96102058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x0000ffff977c7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #68 0x0000ffff9777f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #69 0x0000ffff9777f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #70 0x0000ffff9777f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #71 0x0000ffff9780551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #72 0x0000aaaac2e259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #73 0x0000aaaac2e294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #74 0x0000aaaac2e2aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #75 0x0000aaaac2e21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #76 0x0000ffff8ed5098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #77 0x0000ffff8ed50a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #78 0x0000aaaac2e220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-uninitialized-object-inheritance.cpp.script: line 1: 2536735 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-inheritance.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-uninitialized-object-notes-as-warnings.cpp (625 of 18966) ******************** TEST 'Clang :: Analysis/cxx-uninitialized-object-notes-as-warnings.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:NotesAsWarnings=true -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-notes-as-warnings.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:NotesAsWarnings=true -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-notes-as-warnings.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling NotesAsWarningsTest::NotesAsWarningsTest() at line 17 #1 Calling fNotesAsWarningsTest() #0 0x0000ffffa705acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa7059100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa705b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaffd4800 (linux-vdso.so.1+0x800) #4 0x0000ffffaf1a0454 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffaf1a0454 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffaf1a0454 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffaf1a0454 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffaf1a0454 llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:38 #9 0x0000ffffaf1a0454 clang::ento::ProgramStatePartialTrait>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:204:35 #10 0x0000ffffaf1a0454 contains<(anonymous namespace)::AnalyzedRegions> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:470:42 #11 0x0000ffffaf1a0454 clang::ento::FindUninitializedFields::addFieldToUninits(clang::ento::FieldChainInfo, clang::ento::MemRegion const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp:255:39 #12 0x0000ffffaf1a2ec8 clang::ento::FindUninitializedFields::isNonUnionUninit(clang::ento::TypedValueRegion const*, clang::ento::FieldChainInfo) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp:339:9 #13 0x0000ffffaf1a30a8 clang::ento::FindUninitializedFields::FindUninitializedFields(llvm::IntrusiveRefCntPtr, clang::ento::TypedValueRegion const*, clang::ento::UninitObjCheckerOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp:236:24 #14 0x0000ffffaf2b5584 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #15 0x0000ffffaf2b5584 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #16 0x0000ffffaf2b5584 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffffaf2b5584 (anonymous namespace)::UninitializedObjectChecker::checkEndFunction(clang::ReturnStmt const*, clang::ento::CheckerContext&) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp:158:0 #18 0x0000ffffaeed08c4 clang::ento::CheckerManager::runCheckersForEndFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:456:30 #19 0x0000ffffaef2c330 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2957:0 #20 0x0000ffffaef2c948 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #21 0x0000ffffaef3c974 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #22 0x0000ffffaef3cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #23 0x0000ffffaef3cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #24 0x0000ffffaef3cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #25 0x0000ffffaef3cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #26 0x0000ffffaef3cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #27 0x0000ffffaf206bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x0000ffffaf206bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x0000ffffaf206bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #30 0x0000ffffaf206bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #31 0x0000ffffaf206bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #32 0x0000ffffaf207b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #33 0x0000ffffaf207b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x0000ffffaf207b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #35 0x0000ffffaf20c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffaf20c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffaf20c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x0000ffffaf20c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x0000ffffaf20c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x0000ffffad662058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #41 0x0000ffffad662058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x0000ffffad662058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #43 0x0000ffffad662058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x0000ffffaed27450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #45 0x0000ffffaecdf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #46 0x0000ffffaecdf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #47 0x0000ffffaecdf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #48 0x0000ffffaed6551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #49 0x0000aaaac10259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x0000aaaac10294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x0000aaaac102aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x0000aaaac1021fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x0000ffffa62b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #54 0x0000ffffa62b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #55 0x0000aaaac10220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-uninitialized-object-notes-as-warnings.cpp.script: line 1: 2536758 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:NotesAsWarnings=true -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-notes-as-warnings.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-uninitialized-object-no-dereference.cpp (626 of 18966) ******************** TEST 'Clang :: Analysis/cxx-uninitialized-object-no-dereference.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -std=c++11 -DPEDANTIC -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-no-dereference.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -std=c++11 -DPEDANTIC -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-no-dereference.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling fUninitPointeeTest() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-no-dereference.cpp:26:21: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-no-dereference.cpp:26:21: Error evaluating statement #0 0x0000ffff88d8acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff88d89100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff88d8b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff91d00800 (linux-vdso.so.1+0x800) #4 0x0000ffff90c57804 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff90c57804 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff90c57804 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff90c57804 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff90c57804 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff90c57804 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff90c57804 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff90c57804 clang::ento::ExprEngine::getObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:607:55 #12 0x0000ffff90c203fc std::_Optional_base_impl>::_M_is_engaged() const /usr/include/c++/12/optional:471:0 #13 0x0000ffff90c203fc std::optional::has_value() const /usr/include/c++/12/optional:988:0 #14 0x0000ffff90c203fc clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:431:0 #15 0x0000ffff90c203fc addParameterValuesToBindings(clang::StackFrameContext const*, llvm::SmallVectorImpl>&, clang::ento::SValBuilder&, clang::ento::CallEvent const&, llvm::ArrayRef) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:478:0 #16 0x0000ffff90c213fc clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x0000ffff90c213fc clang::ento::AnyCXXConstructorCall::getInitialStackFrameContents(clang::StackFrameContext const*, llvm::SmallVectorImpl>&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:915:0 #18 0x0000ffff90ce2050 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #19 0x0000ffff90ce2050 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #20 0x0000ffff90c9d2d8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #21 0x0000ffff90c9d2d8 clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #22 0x0000ffff90c9d488 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #23 0x0000ffff90c9d488 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffff90c9d488 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #25 0x0000ffff90c9ff20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x0000ffff90c9ff20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x0000ffff90c9ff20 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #28 0x0000ffff90ca094c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #29 0x0000ffff90ca094c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffff90ca094c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff90ca094c clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #32 0x0000ffff90c29458 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #33 0x0000ffff90c653f8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #34 0x0000ffff90c653f8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #35 0x0000ffff90c653f8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #36 0x0000ffff90c653f8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #37 0x0000ffff90c653f8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #38 0x0000ffff90c653f8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #39 0x0000ffff90c653f8 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #40 0x0000ffff90c6b22c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #41 0x0000ffff90c6b22c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #42 0x0000ffff90c6c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #43 0x0000ffff90c6c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #44 0x0000ffff90c6c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #45 0x0000ffff90c6cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffff90c6cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffff90c6cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #48 0x0000ffff90c6cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #49 0x0000ffff90c6cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #50 0x0000ffff90f36bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffff90f36bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff90f36bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #53 0x0000ffff90f36bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #54 0x0000ffff90f36bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #55 0x0000ffff90f37b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #56 0x0000ffff90f37b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x0000ffff90f37b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #58 0x0000ffff90f3c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffff90f3c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffff90f3c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x0000ffff90f3c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x0000ffff90f3c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x0000ffff8f392058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #64 0x0000ffff8f392058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x0000ffff8f392058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #66 0x0000ffff8f392058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x0000ffff90a57450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #68 0x0000ffff90a0f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #69 0x0000ffff90a0f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #70 0x0000ffff90a0f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #71 0x0000ffff90a9551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #72 0x0000aaaabbd959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #73 0x0000aaaabbd994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #74 0x0000aaaabbd9aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #75 0x0000aaaabbd91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #76 0x0000ffff87fe098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #77 0x0000ffff87fe0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #78 0x0000aaaabbd920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-uninitialized-object-no-dereference.cpp.script: line 1: 2536756 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -std=c++11 -DPEDANTIC -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-no-dereference.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-uninitialized-object.cpp (627 of 18966) ******************** TEST 'Clang :: Analysis/cxx-uninitialized-object.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object.cpp -analyzer-checker=core -analyzer-checker=optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true : 'RUN: at line 8'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object.cpp -analyzer-checker=core -analyzer-checker=optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object.cpp -analyzer-checker=core -analyzer-checker=optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true 1. parser at end of file 2. While analyzing stack: #0 Calling ComplexInitTest::ComplexInitTest() at line 1180 #1 Calling fComplexTest() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object.cpp:1172:10: Error evaluating statement #0 0x0000ffff77dfacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff77df9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff77dfb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff80d79800 (linux-vdso.so.1+0x800) #4 0x0000ffff7fcc7188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff7fcc7188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff7fcc7188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff7fcc7188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff7fcc7188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff7fcc7188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff7fcc7188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff7fcc7188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff7fcdc264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff7fcdc264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff7fcdc264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff7fcdc264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff7fcdc264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff7fcdc264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff7fcdc264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff7fcdc264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff7fcdc264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffff7fcdc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #22 0x0000ffff7fcdc6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffff7fcdc9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffff7fcdcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff7fcdcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff7fcdcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff7fcdcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff7fcdcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #29 0x0000ffff7ffa6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff7ffa6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff7ffa6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff7ffa6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff7ffa6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff7ffa7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #35 0x0000ffff7ffa7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff7ffa7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff7ffac130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff7ffac130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff7ffac130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff7ffac130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff7ffac130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff7e402058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #43 0x0000ffff7e402058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff7e402058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #45 0x0000ffff7e402058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff7fac7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff7fa7f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff7fa7f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff7fa7f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff7fb0551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaae64259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaae64294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaae642aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaae6421fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff7705098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff77050a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaae64220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-uninitialized-object.cpp.script: line 2: 2536789 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object.cpp -analyzer-checker=core -analyzer-checker=optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-uninitialized-object-unguarded-access.cpp (628 of 18966) ******************** TEST 'Clang :: Analysis/cxx-uninitialized-object-unguarded-access.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:IgnoreGuardedFields=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-unguarded-access.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:IgnoreGuardedFields=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-unguarded-access.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling fConditionalOperatorGuardedFieldsTest() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-unguarded-access.cpp:437:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-unguarded-access.cpp:437:7: Error evaluating statement #0 0x0000ffff963dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff963d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff963db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9f352800 (linux-vdso.so.1+0x800) #4 0x0000ffff9e2a7804 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9e2a7804 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9e2a7804 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9e2a7804 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9e2a7804 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9e2a7804 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9e2a7804 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff9e2a7804 clang::ento::ExprEngine::getObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:607:55 #12 0x0000ffff9e2703fc std::_Optional_base_impl>::_M_is_engaged() const /usr/include/c++/12/optional:471:0 #13 0x0000ffff9e2703fc std::optional::has_value() const /usr/include/c++/12/optional:988:0 #14 0x0000ffff9e2703fc clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:431:0 #15 0x0000ffff9e2703fc addParameterValuesToBindings(clang::StackFrameContext const*, llvm::SmallVectorImpl>&, clang::ento::SValBuilder&, clang::ento::CallEvent const&, llvm::ArrayRef) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:478:0 #16 0x0000ffff9e2713fc clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x0000ffff9e2713fc clang::ento::AnyCXXConstructorCall::getInitialStackFrameContents(clang::StackFrameContext const*, llvm::SmallVectorImpl>&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:915:0 #18 0x0000ffff9e332050 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #19 0x0000ffff9e332050 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #20 0x0000ffff9e2ed2d8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #21 0x0000ffff9e2ed2d8 clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #22 0x0000ffff9e2ed488 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #23 0x0000ffff9e2ed488 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffff9e2ed488 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #25 0x0000ffff9e2eff20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x0000ffff9e2eff20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x0000ffff9e2eff20 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #28 0x0000ffff9e2f094c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #29 0x0000ffff9e2f094c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffff9e2f094c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff9e2f094c clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #32 0x0000ffff9e279458 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #33 0x0000ffff9e2b53f8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #34 0x0000ffff9e2b53f8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #35 0x0000ffff9e2b53f8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #36 0x0000ffff9e2b53f8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #37 0x0000ffff9e2b53f8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #38 0x0000ffff9e2b53f8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #39 0x0000ffff9e2b53f8 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #40 0x0000ffff9e2bb22c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #41 0x0000ffff9e2bb22c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #42 0x0000ffff9e2bc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #43 0x0000ffff9e2bc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #44 0x0000ffff9e2bc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #45 0x0000ffff9e2bcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffff9e2bcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffff9e2bcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #48 0x0000ffff9e2bcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #49 0x0000ffff9e2bcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #50 0x0000ffff9e586bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffff9e586bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff9e586bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #53 0x0000ffff9e586bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #54 0x0000ffff9e586bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #55 0x0000ffff9e587b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #56 0x0000ffff9e587b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x0000ffff9e587b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #58 0x0000ffff9e58c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffff9e58c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffff9e58c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x0000ffff9e58c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x0000ffff9e58c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x0000ffff9c9e2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #64 0x0000ffff9c9e2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x0000ffff9c9e2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #66 0x0000ffff9c9e2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x0000ffff9e0a7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #68 0x0000ffff9e05f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #69 0x0000ffff9e05f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #70 0x0000ffff9e05f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #71 0x0000ffff9e0e551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #72 0x0000aaaac0ef59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #73 0x0000aaaac0ef94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #74 0x0000aaaac0efaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #75 0x0000aaaac0ef1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #76 0x0000ffff9563098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #77 0x0000ffff95630a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #78 0x0000aaaac0ef20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-uninitialized-object-unguarded-access.cpp.script: line 1: 2536774 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:IgnoreGuardedFields=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-unguarded-access.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-uninitialized-object-ptr-ref.cpp (629 of 18966) ******************** TEST 'Clang :: Analysis/cxx-uninitialized-object-ptr-ref.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-ptr-ref.cpp : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-ptr-ref.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-ptr-ref.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling fMultipleObjectsReferencingTheSameObjectTest() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-ptr-ref.cpp:947:24: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-ptr-ref.cpp:947:24: Error evaluating statement #0 0x0000ffff88afacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff88af9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff88afb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff91a79800 (linux-vdso.so.1+0x800) #4 0x0000ffff909c7804 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff909c7804 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff909c7804 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff909c7804 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff909c7804 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff909c7804 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff909c7804 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff909c7804 clang::ento::ExprEngine::getObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:607:55 #12 0x0000ffff909903fc std::_Optional_base_impl>::_M_is_engaged() const /usr/include/c++/12/optional:471:0 #13 0x0000ffff909903fc std::optional::has_value() const /usr/include/c++/12/optional:988:0 #14 0x0000ffff909903fc clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:431:0 #15 0x0000ffff909903fc addParameterValuesToBindings(clang::StackFrameContext const*, llvm::SmallVectorImpl>&, clang::ento::SValBuilder&, clang::ento::CallEvent const&, llvm::ArrayRef) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:478:0 #16 0x0000ffff909913fc clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x0000ffff909913fc clang::ento::AnyCXXConstructorCall::getInitialStackFrameContents(clang::StackFrameContext const*, llvm::SmallVectorImpl>&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:915:0 #18 0x0000ffff90a52050 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #19 0x0000ffff90a52050 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #20 0x0000ffff90a0d2d8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #21 0x0000ffff90a0d2d8 clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #22 0x0000ffff90a0d488 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #23 0x0000ffff90a0d488 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffff90a0d488 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #25 0x0000ffff90a0ff20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x0000ffff90a0ff20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x0000ffff90a0ff20 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #28 0x0000ffff90a1094c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #29 0x0000ffff90a1094c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffff90a1094c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff90a1094c clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #32 0x0000ffff90999458 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #33 0x0000ffff909d53f8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #34 0x0000ffff909d53f8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #35 0x0000ffff909d53f8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #36 0x0000ffff909d53f8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #37 0x0000ffff909d53f8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #38 0x0000ffff909d53f8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #39 0x0000ffff909d53f8 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #40 0x0000ffff909db22c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #41 0x0000ffff909db22c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #42 0x0000ffff909dc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #43 0x0000ffff909dc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #44 0x0000ffff909dc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #45 0x0000ffff909dcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffff909dcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffff909dcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #48 0x0000ffff909dcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #49 0x0000ffff909dcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #50 0x0000ffff90ca6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffff90ca6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff90ca6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #53 0x0000ffff90ca6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #54 0x0000ffff90ca6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #55 0x0000ffff90ca7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #56 0x0000ffff90ca7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x0000ffff90ca7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #58 0x0000ffff90cac130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffff90cac130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffff90cac130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x0000ffff90cac130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x0000ffff90cac130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x0000ffff8f102058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #64 0x0000ffff8f102058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x0000ffff8f102058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #66 0x0000ffff8f102058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x0000ffff907c7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #68 0x0000ffff9077f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #69 0x0000ffff9077f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #70 0x0000ffff9077f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #71 0x0000ffff9080551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #72 0x0000aaaabd2959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #73 0x0000aaaabd2994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #74 0x0000aaaabd29aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #75 0x0000aaaabd291fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #76 0x0000ffff87d5098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #77 0x0000ffff87d50a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #78 0x0000aaaabd2920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-uninitialized-object-ptr-ref.cpp.script: line 2: 2536772 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-ptr-ref.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-uninitialized-object-unionlike-constructs.cpp (630 of 18966) ******************** TEST 'Clang :: Analysis/cxx-uninitialized-object-unionlike-constructs.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:IgnoreRecordsWithField="[Tt]ag|[Kk]ind" -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-unionlike-constructs.cpp : 'RUN: at line 6'; not /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-unionlike-constructs.cpp -analyzer-checker=core -analyzer-checker=optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:IgnoreRecordsWithField="([)]" 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-unionlike-constructs.cpp -check-prefix=CHECK-UNINIT-INVALID-REGEX -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:IgnoreRecordsWithField=[Tt]ag|[Kk]ind -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-unionlike-constructs.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling fUnionLikeStruct5() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-unionlike-constructs.cpp:149:20: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-unionlike-constructs.cpp:149:20: Error evaluating statement #0 0x0000ffff8282acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff82829100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8282b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8b7a7800 (linux-vdso.so.1+0x800) #4 0x0000ffff8a6f7804 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8a6f7804 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8a6f7804 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8a6f7804 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8a6f7804 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8a6f7804 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8a6f7804 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff8a6f7804 clang::ento::ExprEngine::getObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:607:55 #12 0x0000ffff8a6c03fc std::_Optional_base_impl>::_M_is_engaged() const /usr/include/c++/12/optional:471:0 #13 0x0000ffff8a6c03fc std::optional::has_value() const /usr/include/c++/12/optional:988:0 #14 0x0000ffff8a6c03fc clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:431:0 #15 0x0000ffff8a6c03fc addParameterValuesToBindings(clang::StackFrameContext const*, llvm::SmallVectorImpl>&, clang::ento::SValBuilder&, clang::ento::CallEvent const&, llvm::ArrayRef) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:478:0 #16 0x0000ffff8a6c13fc clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x0000ffff8a6c13fc clang::ento::AnyCXXConstructorCall::getInitialStackFrameContents(clang::StackFrameContext const*, llvm::SmallVectorImpl>&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:915:0 #18 0x0000ffff8a782050 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #19 0x0000ffff8a782050 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #20 0x0000ffff8a73d2d8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #21 0x0000ffff8a73d2d8 clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #22 0x0000ffff8a73d488 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #23 0x0000ffff8a73d488 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffff8a73d488 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #25 0x0000ffff8a73ff20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x0000ffff8a73ff20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x0000ffff8a73ff20 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #28 0x0000ffff8a74094c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #29 0x0000ffff8a74094c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffff8a74094c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff8a74094c clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #32 0x0000ffff8a6c9458 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #33 0x0000ffff8a7053f8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #34 0x0000ffff8a7053f8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #35 0x0000ffff8a7053f8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #36 0x0000ffff8a7053f8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #37 0x0000ffff8a7053f8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #38 0x0000ffff8a7053f8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #39 0x0000ffff8a7053f8 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #40 0x0000ffff8a70b22c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #41 0x0000ffff8a70b22c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #42 0x0000ffff8a70c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #43 0x0000ffff8a70c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #44 0x0000ffff8a70c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #45 0x0000ffff8a70cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffff8a70cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffff8a70cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #48 0x0000ffff8a70cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #49 0x0000ffff8a70cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #50 0x0000ffff8a9d6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffff8a9d6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff8a9d6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #53 0x0000ffff8a9d6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #54 0x0000ffff8a9d6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #55 0x0000ffff8a9d7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #56 0x0000ffff8a9d7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x0000ffff8a9d7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #58 0x0000ffff8a9dc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffff8a9dc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffff8a9dc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x0000ffff8a9dc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x0000ffff8a9dc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x0000ffff88e32058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #64 0x0000ffff88e32058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x0000ffff88e32058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #66 0x0000ffff88e32058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x0000ffff8a4f7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #68 0x0000ffff8a4af104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #69 0x0000ffff8a4af104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #70 0x0000ffff8a4af104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #71 0x0000ffff8a53551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #72 0x0000aaaab58459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #73 0x0000aaaab58494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #74 0x0000aaaab584aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #75 0x0000aaaab5841fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #76 0x0000ffff81a8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #77 0x0000ffff81a80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #78 0x0000aaaab58420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-uninitialized-object-unionlike-constructs.cpp.script: line 2: 2536780 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:IgnoreRecordsWithField="[Tt]ag|[Kk]ind" -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-unionlike-constructs.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxxctr-array-evalcall-analysis-order.cpp (635 of 18966) ******************** TEST 'Clang :: Analysis/cxxctr-array-evalcall-analysis-order.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxctr-array-evalcall-analysis-order.cpp -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:PreCall=true -analyzer-config debug.AnalysisOrder:PostCall=true 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxctr-array-evalcall-analysis-order.cpp -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxctr-array-evalcall-analysis-order.cpp:22:16: error: CHECK-NEXT: expected string not found in input // CHECK-NEXT: PostCall (C::C) [CXXConstructorCall] ^ :1:36: note: scanning from here PreCall (C::C) [CXXConstructorCall] ^ :4:512: note: possible intended match here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxctr-array-evalcall-analysis-order.cpp -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:PreCall=true -analyzer-config debug.AnalysisOrder:PostCall=true ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxctr-array-evalcall-analysis-order.cpp -dump-input=help explains the following input dump. Input was: <<<<<< 1: PreCall (C::C) [CXXConstructorCall] next:22'0 X error: no match found 2: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. next:22'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3: Stack dump: next:22'0 ~~~~~~~~~~~~ 4: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxctr-array-evalcall-analysis-order.cpp -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:PreCall=true -analyzer-config debug.AnalysisOrder:PostCall=true next:22'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next:22'1 ? possible intended match 5: 1. parser at end of file next:22'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #0 0x0000ffffa6d5acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) next:22'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: #1 0x0000ffffa6d59100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) next:22'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: #2 0x0000ffffa6d5b388 (/usr/lib64/libLLVM-17.so+0x9bb388) next:22'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9: #3 0x0000ffffafcda800 (linux-vdso.so.1+0x800) next:22'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxxctr-evalcall-analysis-order.cpp (639 of 18966) ******************** TEST 'Clang :: Analysis/cxxctr-evalcall-analysis-order.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxctr-evalcall-analysis-order.cpp -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:EvalCall=true -analyzer-config debug.AnalysisOrder:PreCall=true -analyzer-config debug.AnalysisOrder:PostCall=true 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxctr-evalcall-analysis-order.cpp -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxctr-evalcall-analysis-order.cpp:26:16: error: CHECK-NEXT: expected string not found in input // CHECK-NEXT: PreCall (C::C) [CXXConstructorCall] ^ :3:37: note: scanning from here PostCall (C::C) [CXXConstructorCall] ^ :21:45: note: possible intended match here #10 0x0000ffffb32d7188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxctr-evalcall-analysis-order.cpp -dump-input=help explains the following input dump. Input was: <<<<<< 1: PreCall (C::C) [CXXConstructorCall] 2: EvalCall (C::C) {argno: 0} [CXXConstructorCall] 3: PostCall (C::C) [CXXConstructorCall] next:26'0 X error: no match found 4: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: Stack dump: next:26'0 ~~~~~~~~~~~~ 6: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxctr-evalcall-analysis-order.cpp -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:EvalCall=true -analyzer-config debug.AnalysisOrder:PreCall=true -analyzer-config debug.AnalysisOrder:PostCall=true next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: 1. parser at end of file next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: 2. While analyzing stack: next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . 16: #5 0x0000ffffb32d7188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 17: #6 0x0000ffffb32d7188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18: #7 0x0000ffffb32d7188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19: #8 0x0000ffffb32d7188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 20: #9 0x0000ffffb32d7188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 21: #10 0x0000ffffb32d7188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next:26'1 ? possible intended match 22: #11 0x0000ffffb32d7188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23: #12 0x0000ffffb32ec264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 24: #13 0x0000ffffb32ec264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 25: #14 0x0000ffffb32ec264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 26: #15 0x0000ffffb32ec264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxxnewexpr-callback.cpp (641 of 18966) ******************** TEST 'Clang :: Analysis/cxxnewexpr-callback.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.AnalysisOrder -analyzer-config c++-allocator-inlining=true,debug.AnalysisOrder:PreStmtCXXNewExpr=true,debug.AnalysisOrder:PostStmtCXXNewExpr=true,debug.AnalysisOrder:PreCall=true,debug.AnalysisOrder:PostCall=true,debug.AnalysisOrder:NewAllocator=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxnewexpr-callback.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxnewexpr-callback.cpp --check-prefixes=CHECK,CHECK-INLINE : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.AnalysisOrder -analyzer-config c++-allocator-inlining=false,debug.AnalysisOrder:PreStmtCXXNewExpr=true,debug.AnalysisOrder:PostStmtCXXNewExpr=true,debug.AnalysisOrder:PreCall=true,debug.AnalysisOrder:PostCall=true,debug.AnalysisOrder:NewAllocator=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxnewexpr-callback.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxnewexpr-callback.cpp --check-prefixes=CHECK,CHECK-NO-INLINE -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxnewexpr-callback.cpp:33:23: error: CHECK-INLINE-NEXT: expected string not found in input // CHECK-INLINE-NEXT: PostCall (operator new) ^ :3:23: note: scanning from here PostCall (std::malloc) [SimpleFunctionCall] ^ :9:2: note: possible intended match here #0 Calling operator new(size_t) at line 22 ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxnewexpr-callback.cpp -dump-input=help explains the following input dump. Input was: <<<<<< 1: PreCall (operator new) [CXXAllocatorCall] 2: PreCall (std::malloc) [SimpleFunctionCall] 3: PostCall (std::malloc) [SimpleFunctionCall] next:33'0 X~~~~~~~~~~~~~~~~~~~~~ error: no match found 4: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: Stack dump: next:33'0 ~~~~~~~~~~~~ 6: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.AnalysisOrder -analyzer-config c++-allocator-inlining=true,debug.AnalysisOrder:PreStmtCXXNewExpr=true,debug.AnalysisOrder:PostStmtCXXNewExpr=true,debug.AnalysisOrder:PreCall=true,debug.AnalysisOrder:PostCall=true,debug.AnalysisOrder:NewAllocator=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxnewexpr-callback.cpp next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: 1. parser at end of file next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: 2. While analyzing stack: next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9: #0 Calling operator new(size_t) at line 22 next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next:33'1 ? possible intended match 10: #1 Calling test() next:33'0 ~~~~~~~~~~~~~~~~~~~ 11: #0 0x0000ffffb2e7acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 12: #1 0x0000ffffb2e79100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 13: #2 0x0000ffffb2e7b388 (/usr/lib64/libLLVM-17.so+0x9bb388) next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14: #3 0x0000ffffbbdf9800 (linux-vdso.so.1+0x800) next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/dead-stores.c (642 of 18966) ******************** TEST 'Clang :: Analysis/dead-stores.c' FAILED ******************** Script: -- : 'RUN: at line 1'; "/usr/bin/python3.11" /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/check-analyzer-fixit.py /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dead-stores.c /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dead-stores.c.tmp -Wunused-variable -fblocks -Wno-unreachable-code -analyzer-checker=core,deadcode.DeadStores -analyzer-config deadcode.DeadStores:ShowFixIts=true -analyzer-config deadcode.DeadStores:WarnForDeadNestedAssignments=false -verify=non-nested : 'RUN: at line 9'; "/usr/bin/python3.11" /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/check-analyzer-fixit.py /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dead-stores.c /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dead-stores.c.tmp -Wunused-variable -fblocks -Wno-unreachable-code -analyzer-checker=core,deadcode.DeadStores -analyzer-config deadcode.DeadStores:ShowFixIts=true -verify=non-nested,nested -- Exit Code: 1 Command Output (stdout): -- Running ['clang', '-cc1', '-internal-isystem', '/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include\n', '-nostdsysteminc', '-analyze', '-analyzer-constraints=range', '-analyzer-config', 'apply-fixits=true', '-Wunused-variable', '-fblocks', '-Wno-unreachable-code', '-analyzer-checker=core,deadcode.DeadStores', '-analyzer-config', 'deadcode.DeadStores:ShowFixIts=true', '-analyzer-config', 'deadcode.DeadStores:WarnForDeadNestedAssignments=false', '-verify=non-nested', '-verify', '/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dead-stores.c.tmp.c']... Clang Static Analyzer test failed: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include\n -nostdsysteminc -analyze -analyzer-constraints=range -analyzer-config apply-fixits=true -Wunused-variable -fblocks -Wno-unreachable-code -analyzer-checker=core,deadcode.DeadStores -analyzer-config deadcode.DeadStores:ShowFixIts=true -analyzer-config deadcode.DeadStores:WarnForDeadNestedAssignments=false -verify=non-nested -verify /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dead-stores.c.tmp.c 1. parser at end of file 2. While analyzing stack: #0 Calling rdar34122265_test_nested 3. /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dead-stores.c.tmp.c:675:12: Error evaluating statement #0 0x0000ffff7925acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff79259100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7925b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff821da800 (linux-vdso.so.1+0x800) #4 0x0000ffff8117c134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8117c134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8117c134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8117c134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff8117c134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff8117c134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff8112748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff8112748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff8112748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff8113c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff8113c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff8113c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff8113c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff8113c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff8113c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff8113c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff8113c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff8113c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff8113c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #23 0x0000ffff8113c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff8113c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff8113cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff8113cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff8113cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff8113cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff8113cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #30 0x0000ffff81406bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff81406bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff81406bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff81406bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff81406bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff81407b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #36 0x0000ffff81407b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff81407b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff8140c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff8140c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff8140c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff8140c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff8140c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff7f862058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #44 0x0000ffff7f862058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff7f862058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #46 0x0000ffff7f862058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff80f27450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff80edf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff80edf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff80edf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff80f6551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaadb5059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaadb5094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaadb50aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaadb501fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff784b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff784b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaadb5020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17+0x120b0) -- Command Output (stderr): -- Traceback (most recent call last): File "/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/check-analyzer-fixit.py", line 144, in main() File "/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/check-analyzer-fixit.py", line 140, in main run_test_once(args, extra_args) File "/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/check-analyzer-fixit.py", line 92, in run_test_once clang_analyzer_output = subprocess.check_output( ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/subprocess.py", line 466, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/subprocess.py", line 571, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['clang', '-cc1', '-internal-isystem', '/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include\n', '-nostdsysteminc', '-analyze', '-analyzer-constraints=range', '-analyzer-config', 'apply-fixits=true', '-Wunused-variable', '-fblocks', '-Wno-unreachable-code', '-analyzer-checker=core,deadcode.DeadStores', '-analyzer-config', 'deadcode.DeadStores:ShowFixIts=true', '-analyzer-config', 'deadcode.DeadStores:WarnForDeadNestedAssignments=false', '-verify=non-nested', '-verify', '/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dead-stores.c.tmp.c']' died with . -- ******************** Testing: 0 FAIL: Clang :: Analysis/dead-stores.m (645 of 18966) ******************** TEST 'Clang :: Analysis/dead-stores.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=deadcode.DeadStores,osx.cocoa.RetainCount -fblocks -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dead-stores.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=deadcode.DeadStores,osx.cocoa.RetainCount -fblocks -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dead-stores.m 1. parser at end of file #0 0x0000ffffb34dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb34d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb34db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbc451800 (linux-vdso.so.1+0x800) #4 0x0000ffffbb7529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbb7529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbb7529e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbb7529e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbb7529e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbb7529e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbb7529e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbb7529e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbb400048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbb400048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbb400048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbb400048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbb400f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbb400f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbb400f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbb400f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbb413b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbb413b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbb413b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbb415060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbb415060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbb415060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbb414530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbb414530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbb414530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbb420b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbb420b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbb420b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbb42a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbb42a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbb42a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbb38eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbb38eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbb38eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbb38eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbb38efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbb38efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbb38efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffbb362620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffbb362620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffbb362620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffbb39ef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffbb39ef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffbb39ef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffbb3bce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffbb3bce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffbb3bce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffbb686bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffbb686bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffbb686bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffbb686bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffbb686bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffbb687b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffbb687b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffbb687b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffbb68c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffbb68c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffbb68c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffbb68c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffbb68c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffb9ae2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffb9ae2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffb9ae2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffb9ae2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffbb1a7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffbb15f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffbb15f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffbb15f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffbb1e551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaac99159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaac99194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaac991aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaac9911fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffb273098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffb2730a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaac99120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dead-stores.m.script: line 1: 2536865 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=deadcode.DeadStores,osx.cocoa.RetainCount -fblocks -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dead-stores.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/debug-exprinspection-istainted.c (646 of 18966) ******************** TEST 'Clang :: Analysis/debug-exprinspection-istainted.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-exprinspection-istainted.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-checker=alpha.security.taint -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-exprinspection-istainted.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-checker=alpha.security.taint 1. parser at end of file 2. While analyzing stack: #0 Calling exactly_one_argument_required 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-exprinspection-istainted.c:24:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-exprinspection-istainted.c:24:3: Error evaluating statement #0 0x0000ffff9361acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff93619100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9361b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9c59d800 (linux-vdso.so.1+0x800) #4 0x0000ffff9b888f68 llvm::ImutAVLTree>>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9b888f68 llvm::IntrusiveRefCntPtrInfo>>>>::retain(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9b888f68 llvm::IntrusiveRefCntPtr>>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9b888f68 llvm::IntrusiveRefCntPtr>>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9b888f68 llvm::ImmutableMap>, llvm::ImutKeyValueInfo>>>::ImmutableMap(llvm::ImutAVLTree>>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9b888f68 clang::ento::ProgramStatePartialTrait>, llvm::ImutKeyValueInfo>>>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9b888f68 get<(anonymous namespace)::TaintArgsOnPostVisit> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9b888f68 (anonymous namespace)::GenericTaintChecker::checkPostCall(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp:842:0 #12 0x0000ffff9b4b89a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffff9b4b89a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffff9b4b89a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #15 0x0000ffff9b4b89a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #16 0x0000ffff9b4b89a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #17 0x0000ffff9b518c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #18 0x0000ffff9b518c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #19 0x0000ffff9b518c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #20 0x0000ffff9b518c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #21 0x0000ffff9b518c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #22 0x0000ffff9b518c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #23 0x0000ffff9b519514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #24 0x0000ffff9b4fb270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #25 0x0000ffff9b4fb270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #26 0x0000ffff9b4fc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #27 0x0000ffff9b4fc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #28 0x0000ffff9b4fc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #29 0x0000ffff9b4fcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #30 0x0000ffff9b4fcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #31 0x0000ffff9b4fcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #32 0x0000ffff9b4fcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #33 0x0000ffff9b4fcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #34 0x0000ffff9b7c6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x0000ffff9b7c6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x0000ffff9b7c6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #37 0x0000ffff9b7c6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #38 0x0000ffff9b7c6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #39 0x0000ffff9b7c7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #40 0x0000ffff9b7c7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x0000ffff9b7c7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #42 0x0000ffff9b7cc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x0000ffff9b7cc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x0000ffff9b7cc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x0000ffff9b7cc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x0000ffff9b7cc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x0000ffff99c22058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #48 0x0000ffff99c22058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #49 0x0000ffff99c22058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #50 0x0000ffff99c22058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #51 0x0000ffff9b2e7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #52 0x0000ffff9b29f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #53 0x0000ffff9b29f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #54 0x0000ffff9b29f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #55 0x0000ffff9b32551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #56 0x0000aaaac57459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #57 0x0000aaaac57494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #58 0x0000aaaac574aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #59 0x0000aaaac5741fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #60 0x0000ffff9287098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #61 0x0000ffff92870a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #62 0x0000aaaac57420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/debug-exprinspection-istainted.c.script: line 1: 2536882 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-exprinspection-istainted.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-checker=alpha.security.taint -- ******************** Testing: 0 FAIL: Clang :: Analysis/debug-container-modeling.cpp (647 of 18966) ******************** TEST 'Clang :: Analysis/debug-container-modeling.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus -analyzer-checker=debug.DebugContainerModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-container-modeling.cpp -verify : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus -analyzer-checker=debug.DebugContainerModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=true -DINLINE=1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-container-modeling.cpp -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus -analyzer-checker=debug.DebugContainerModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-container-modeling.cpp -verify 1. parser at end of file 2. While analyzing stack: #0 Calling container_begin_end(const std::vector) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-container-modeling.cpp:23:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-container-modeling.cpp:23:3: Error evaluating statement #0 0x0000ffff9bbaacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9bba9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9bbab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa4b2c800 (linux-vdso.so.1+0x800) #4 0x0000ffffa3aa9cd0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffa3aa9cd0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa3aa9cd0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa3aa9cd0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa3aa9cd0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa3aa9cd0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa3aa9cd0 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffffa3aa9cd0 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffffa3aa9cd0 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x0000ffffa3aa9dac (anonymous namespace)::RangeConstraintManager::getSymVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2862:36 #14 0x0000ffffa3afd3d8 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #15 0x0000ffffa3afd3d8 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier::getConstOrVisit(clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1246:0 #16 0x0000ffffa3afcc14 VisitSymIntExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1270:0 #17 0x0000ffffa3afcc14 clang::ento::SymExprVisitor<(anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier, clang::ento::SVal>::Visit(clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:0 #18 0x0000ffffa3f09dd4 VisitNonLocSymbolVal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1365:0 #19 0x0000ffffa3f09dd4 Visit /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def:67:0 #20 0x0000ffffa3f09dd4 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1371:0 #21 0x0000ffffa3ae4824 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #22 0x0000ffffa3ae4824 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #23 0x0000ffffa3ae3df8 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #24 0x0000ffffa3ae3efc clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #25 0x0000ffffa3ae4f3c clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:26:17 #26 0x0000ffffa3ae4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa3ae4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa3ae4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa3af0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa3af0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa3af0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa3afa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa3afa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa3afa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa3a5ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa3a5ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa3a5ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa3a5ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffa3a5efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa3a5efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa3a5efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa3a32620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa3a32620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa3a32620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa3be5894 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #46 0x0000ffffa3be5894 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #47 0x0000ffffa3be5894 clang::ento::iterator::assumeNoOverflow(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, long) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/Iterator.cpp:291:0 #48 0x0000ffffa3b61d18 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #49 0x0000ffffa3b61d18 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa3b61d18 createContainerBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:850:0 #51 0x0000ffffa3b61d18 handleBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:258:0 #52 0x0000ffffa3b61d18 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:193:0 #53 0x0000ffffa3b61d18 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::ContainerModeling>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #54 0x0000ffffa3a489a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #55 0x0000ffffa3a489a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x0000ffffa3a489a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #57 0x0000ffffa3a489a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #58 0x0000ffffa3a489a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #59 0x0000ffffa3aa8c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #60 0x0000ffffa3aa8c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #61 0x0000ffffa3aa8c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #62 0x0000ffffa3aa8c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #63 0x0000ffffa3aa8c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #64 0x0000ffffa3aa8c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #65 0x0000ffffa3aa9514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #66 0x0000ffffa3a8b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #67 0x0000ffffa3a8b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #68 0x0000ffffa3a8c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #69 0x0000ffffa3a8c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #70 0x0000ffffa3a8c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #71 0x0000ffffa3a8cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x0000ffffa3a8cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x0000ffffa3a8cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #74 0x0000ffffa3a8cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #75 0x0000ffffa3a8cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #76 0x0000ffffa3d56bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #77 0x0000ffffa3d56bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #78 0x0000ffffa3d56bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #79 0x0000ffffa3d56bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #80 0x0000ffffa3d56bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #81 0x0000ffffa3d57b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #82 0x0000ffffa3d57b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #83 0x0000ffffa3d57b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #84 0x0000ffffa3d5c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #85 0x0000ffffa3d5c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #86 0x0000ffffa3d5c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #87 0x0000ffffa3d5c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #88 0x0000ffffa3d5c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #89 0x0000ffffa21b2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #90 0x0000ffffa21b2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #91 0x0000ffffa21b2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #92 0x0000ffffa21b2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #93 0x0000ffffa3877450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #94 0x0000ffffa382f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #95 0x0000ffffa382f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #96 0x0000ffffa382f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #97 0x0000ffffa38b551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #98 0x0000aaaad4b859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #99 0x0000aaaad4b894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #100 0x0000aaaad4b8aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #101 0x0000aaaad4b81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #102 0x0000ffff9ae0098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #103 0x0000ffff9ae00a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #104 0x0000aaaad4b820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/debug-container-modeling.cpp.script: line 2: 2536874 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus -analyzer-checker=debug.DebugContainerModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-container-modeling.cpp -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/debug-iterator-modeling.cpp (648 of 18966) ******************** TEST 'Clang :: Analysis/debug-iterator-modeling.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus -analyzer-checker=debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-iterator-modeling.cpp -verify : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus -analyzer-checker=debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=true -DINLINE=1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-iterator-modeling.cpp -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus -analyzer-checker=debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-iterator-modeling.cpp -verify 1. parser at end of file 2. While analyzing stack: #0 Calling iterator_validity(std::vector) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-iterator-modeling.cpp:52:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-iterator-modeling.cpp:52:13: Error evaluating statement #0 0x0000ffff7979acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff79799100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7979b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff82712800 (linux-vdso.so.1+0x800) #4 0x0000ffff8166da74 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff8166da74 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8166da74 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8166da74 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8166da74 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8166da74 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8166da74 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8166da74 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffff8166de64 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #13 0x0000ffff8166de64 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffff8166de64 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff8166de64 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffff8166de64 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffff8166e544 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #18 0x0000ffff8166e544 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #19 0x0000ffff8166e544 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:463:0 #20 0x0000ffff816af86c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #21 0x0000ffff816af86c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #22 0x0000ffff816af86c clang::ento::ExprEngine::handleConstructionContext(clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::ento::NodeBuilderContext const*, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions&, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:753:0 #23 0x0000ffff816af86c clang::ento::ExprEngine::bindReturnValue(clang::ento::CallEvent const&, clang::LocationContext const*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:773:0 #24 0x0000ffff816afd08 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #25 0x0000ffff816afd08 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #26 0x0000ffff816afd08 clang::ento::ExprEngine::conservativeEvalCall(clang::ento::CallEvent const&, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:834:0 #27 0x0000ffff816b06c4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #28 0x0000ffff816b06c4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #29 0x0000ffff816b06c4 clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1266:0 #30 0x0000ffff81639458 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #31 0x0000ffff81698bec llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #32 0x0000ffff81698bec llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #33 0x0000ffff81698bec clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #34 0x0000ffff81698bec clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #35 0x0000ffff81699514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #36 0x0000ffff8167b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #37 0x0000ffff8167b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #38 0x0000ffff8167c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #39 0x0000ffff8167c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #40 0x0000ffff8167c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #41 0x0000ffff8167cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x0000ffff8167cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x0000ffff8167cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #44 0x0000ffff8167cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #45 0x0000ffff8167cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #46 0x0000ffff81946bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #47 0x0000ffff81946bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #48 0x0000ffff81946bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #49 0x0000ffff81946bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #50 0x0000ffff81946bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #51 0x0000ffff81947b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #52 0x0000ffff81947b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #53 0x0000ffff81947b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #54 0x0000ffff8194c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffff8194c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffff8194c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #57 0x0000ffff8194c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #58 0x0000ffff8194c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #59 0x0000ffff7fda2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #60 0x0000ffff7fda2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #61 0x0000ffff7fda2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #62 0x0000ffff7fda2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #63 0x0000ffff81467450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #64 0x0000ffff8141f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #65 0x0000ffff8141f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #66 0x0000ffff8141f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #67 0x0000ffff814a551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #68 0x0000aaaab69559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #69 0x0000aaaab69594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #70 0x0000aaaab695aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #71 0x0000aaaab6951fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #72 0x0000ffff789f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #73 0x0000ffff789f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #74 0x0000aaaab69520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/debug-iterator-modeling.cpp.script: line 2: 2536902 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus -analyzer-checker=debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-iterator-modeling.cpp -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/delegates.m (649 of 18966) ******************** TEST 'Clang :: Analysis/delegates.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -Wno-objc-root-class -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/delegates.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -Wno-objc-root-class -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/delegates.m 1. parser at end of file #0 0x0000ffff9949acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff99499100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9949b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa2413800 (linux-vdso.so.1+0x800) #4 0x0000ffffa17129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa17129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa17129e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa17129e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa17129e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa17129e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa17129e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa17129e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa13c0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa13c0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa13c0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa13c0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa13c0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa13c0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa13c0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa13c0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa13d3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa13d3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa13d3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa13d5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa13d5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa13d5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa13d4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa13d4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa13d4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa13e0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa13e0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa13e0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa13ea414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa13ea414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa13ea414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa134eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa134eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa134eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa134eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa134efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa134efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa134efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa1322620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa1322620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa1322620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa135ef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa135ef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa135ef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffa137ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa137ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa137ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa1646bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa1646bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa1646bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa1646bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa1646bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa1647b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffa1647b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa1647b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa164c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa164c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa164c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa164c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa164c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff9faa2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff9faa2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff9faa2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff9faa2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa1167450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa111f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa111f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa111f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa11a551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaaea9b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaaea9b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaaea9baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaaea9b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff986f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff986f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaaea9b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/delegates.m.script: line 1: 2536915 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -Wno-objc-root-class -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/delegates.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/derived-to-base.cpp (650 of 18966) ******************** TEST 'Clang :: Analysis/derived-to-base.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/derived-to-base.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -DCONSTRUCTORS=1 -analyzer-config c++-inlining=constructors -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/derived-to-base.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/derived-to-base.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling Bug16309::Derived::Derived() at line 469 #1 Calling Bug16309::g() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/derived-to-base.cpp:458:10: Error evaluating statement #0 0x0000ffff8942acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff89429100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8942b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff923ac800 (linux-vdso.so.1+0x800) #4 0x0000ffff912f7188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff912f7188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff912f7188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff912f7188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff912f7188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff912f7188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff912f7188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff912f7188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff9130c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff9130c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff9130c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff9130c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff9130c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff9130c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff9130c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff9130c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff9130c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffff9130c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #22 0x0000ffff9130c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffff9130c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffff9130cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff9130cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff9130cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff9130cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff9130cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #29 0x0000ffff915d6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff915d6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff915d6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff915d6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff915d6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff915d7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #35 0x0000ffff915d7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff915d7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff915dc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff915dc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff915dc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff915dc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff915dc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff8fa32058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #43 0x0000ffff8fa32058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff8fa32058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #45 0x0000ffff8fa32058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff910f7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff910af104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff910af104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff910af104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff9113551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaaae2e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaaae2e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaaae2eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaaae2e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff8868098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff88680a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaaae2e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/derived-to-base.cpp.script: line 2: 2536936 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/derived-to-base.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/deref-track-symbolic-region.cpp (651 of 18966) ******************** TEST 'Clang :: Analysis/diagnostics/deref-track-symbolic-region.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/deref-track-symbolic-region.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/deref-track-symbolic-region.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testRefParam(int *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/deref-track-symbolic-region.cpp:20:6: Error evaluating branch #0 0x0000ffffa7f7acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa7f79100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa7f7b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb0eff800 (linux-vdso.so.1+0x800) #4 0x0000ffffb01f29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb01f29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb01f29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb01f29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb01f29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb01f29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb01f29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb01f29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffafea0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffafea0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffafea0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffafea0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffafea0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffafea0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffafea0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffafea0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffafeb3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffafeb3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffafeb3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffafeb5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffafeb5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffafeb5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffafeb4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffafeb4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffafeb4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffafec0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffafec0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffafec0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffafeca414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffafeca414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffafeca414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffafe2eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffafe2eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffafe2eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffafe2eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb031c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb031c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb031c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffafe44c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffafe44c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffafe44c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffafe44c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffafe44c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffafe44c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffafe44c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffafe44c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffafe44c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffafe44c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffafe45200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffafe5cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffafe5cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffafe5cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffafe5cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffafe5cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb0126bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb0126bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb0126bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb0126bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb0126bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb0127b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb0127b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb0127b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb012c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb012c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb012c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb012c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb012c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffae582058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffae582058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffae582058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffae582058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffafc47450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffafbff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffafbff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffafbff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffafc8551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaabdb459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaabdb494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaabdb4aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaabdb41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa71d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa71d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaabdb420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/deref-track-symbolic-region.cpp.script: line 1: 2536960 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/deref-track-symbolic-region.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/dtors.cpp (652 of 18966) ******************** TEST 'Clang :: Analysis/diagnostics/dtors.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -w -analyzer-checker=core,cplusplus -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/dtors.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -w -analyzer-checker=core,cplusplus -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/dtors.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling no_crash_on_delete_dtor::smart_ptr::get() at line 28 #1 Calling no_crash_on_delete_dtor::bar(smart_ptr) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/dtors.cpp:19:13: Error evaluating branch #0 0x0000ffffaa7eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaa7e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaa7eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb3765800 (linux-vdso.so.1+0x800) #4 0x0000ffffb2a629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb2a629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb2a629e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb2a629e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb2a629e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb2a629e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb2a629e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb2a629e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb2710048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb2710048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb2710048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb2710048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb2710f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb2710f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb2710f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb2710f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb2723b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb2723b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb2723b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb2725060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb2725060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb2725060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb2724530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb2724530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb2724530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb2730b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb2730b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb2730b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb273a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb273a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb273a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb269eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb269eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb269eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb269eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb2b8c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb2b8c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb2b8c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb26b4c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffb26b4c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffb26b4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffb26b4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffb26b4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffb26b4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffb26b4c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffb26b4c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffb26b4c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffb26b4c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffb26b5200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffb26ccb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb26ccb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb26ccb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb26ccb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb26ccb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb2996bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb2996bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb2996bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb2996bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb2996bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb2997b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb2997b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb2997b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb299c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb299c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb299c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb299c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb299c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb0df2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb0df2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb0df2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb0df2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb24b7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb246f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb246f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb246f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb24f551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae6cd59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae6cd94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae6cdaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae6cd1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa9a4098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa9a40a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae6cd20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/dtors.cpp.script: line 1: 2536968 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -w -analyzer-checker=core,cplusplus -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/dtors.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/deref-track-symbolic-region.c (653 of 18966) ******************** TEST 'Clang :: Analysis/diagnostics/deref-track-symbolic-region.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/deref-track-symbolic-region.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=plist-multi-file /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/deref-track-symbolic-region.c -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/deref-track-symbolic-region.c.tmp.plist : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling testTrackConstraintBRVisitorIsTrackingTurnedOn 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/deref-track-symbolic-region.c:32:7: Error evaluating branch #0 0x0000ffffa9d6acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa9d69100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa9d6b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb2cec800 (linux-vdso.so.1+0x800) #4 0x0000ffffb1fe29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb1fe29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb1fe29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb1fe29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb1fe29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb1fe29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb1fe29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb1fe29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb1c90048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb1c90048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb1c90048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb1c90048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb1c90f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb1c90f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb1c90f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb1c90f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb1ca3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb1ca3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb1ca3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb1ca5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb1ca5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb1ca5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb1ca4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb1ca4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb1ca4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb1cb0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb1cb0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb1cb0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb1cba414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb1cba414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb1cba414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb1c1eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb1c1eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb1c1eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb1c1eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb210c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb210c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb210c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb1c34c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffb1c34c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffb1c34c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffb1c34c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffb1c34c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffb1c34c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffb1c34c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffb1c34c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffb1c34c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffb1c34c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffb1c35200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffb1c4cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb1c4cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb1c4cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb1c4cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb1c4cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb1f16bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb1f16bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb1f16bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb1f16bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb1f16bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb1f17b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb1f17b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb1f17b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb1f1c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb1f1c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb1f1c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb1f1c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb1f1c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb0372058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb0372058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb0372058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb0372058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb1a37450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb19ef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb19ef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb19ef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb1a7551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac2b759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac2b794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac2b7aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac2b71fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa8fc098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa8fc0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac2b720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/deref-track-symbolic-region.c.script: line 3: 2536958 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/deref-track-symbolic-region.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/explicit-suppression.cpp (654 of 18966) ******************** TEST 'Clang :: Analysis/diagnostics/explicit-suppression.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config suppress-c++-stdlib=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/explicit-suppression.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config suppress-c++-stdlib=true -DSUPPRESSED=1 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/explicit-suppression.cpp : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -DSUPPRESSED=1 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/explicit-suppression.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config suppress-c++-stdlib=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/explicit-suppression.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling std::__copy(class C *, class C *, class C *) at line /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/../Inputs/system-header-simulator-cxx.h:764:12 #1 Calling std::copy(class C *, class C *, class C *) at line 20 #2 Calling testCopyNull(C *, C *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/../Inputs/system-header-simulator-cxx.h:740:14: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/../Inputs/system-header-simulator-cxx.h:740:14: Error evaluating statement #0 0x0000ffffadb7acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffadb79100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffadb7b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb6af5800 (linux-vdso.so.1+0x800) #4 0x0000ffffb5aa0444 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb5aa0444 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb5aa0444 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb5aa0444 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb5aa0444 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb5aa0444 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb5aa0444 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb5aa0444 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2507:0 #12 0x0000ffffb5aa0444 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2494:0 #13 0x0000ffffb5aa0444 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2487:0 #14 0x0000ffffb5aa0444 trackDisequality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2155:0 #15 0x0000ffffb5aa0444 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2241:0 #16 0x0000ffffb5aa0444 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #17 0x0000ffffb5aa0444 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #18 0x0000ffffb5aa0444 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:0 #19 0x0000ffffb5aa0444 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:0 #20 0x0000ffffb5aa0444 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #21 0x0000ffffb5aa0444 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #22 0x0000ffffb5aa0d10 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #23 0x0000ffffb5aa0d10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #24 0x0000ffffb5aa0d10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffb5aa0d10 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #26 0x0000ffffb5ab3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb5ab3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb5ab3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #29 0x0000ffffb5ab517c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffb5ab517c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffb5ab517c clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:72:57 #32 0x0000ffffb5ab4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffffb5ab4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffffb5ab4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #35 0x0000ffffb5ac0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #36 0x0000ffffb5ac0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #37 0x0000ffffb5ac0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #38 0x0000ffffb5aca414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #39 0x0000ffffb5aca414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #40 0x0000ffffb5aca414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #41 0x0000ffffb5a2ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #42 0x0000ffffb5a2ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #43 0x0000ffffb5a2ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #44 0x0000ffffb5a2ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #45 0x0000ffffb5f1c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #46 0x0000ffffb5f1c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x0000ffffb5f1c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #48 0x0000ffffb5a41ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #49 0x0000ffffb5a41ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #50 0x0000ffffb5a41ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #51 0x0000ffffb5a5c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #52 0x0000ffffb5a5c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #53 0x0000ffffb5a5c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #54 0x0000ffffb5a5c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #55 0x0000ffffb5a5c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #56 0x0000ffffb5a5c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #57 0x0000ffffb5a5c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #58 0x0000ffffb5a5c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #59 0x0000ffffb5a5cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb5a5cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb5a5cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffffb5a5cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffffb5a5cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #64 0x0000ffffb5d26bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffffb5d26bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffffb5d26bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffffb5d26bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffffb5d26bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffffb5d27b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #70 0x0000ffffb5d27b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffffb5d27b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffffb5d2c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffffb5d2c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffffb5d2c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffffb5d2c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffffb5d2c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffffb4182058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #78 0x0000ffffb4182058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffffb4182058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #80 0x0000ffffb4182058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffffb5847450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffffb57ff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffffb57ff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffffb57ff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffffb588551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaaca2059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaaca2094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaaca20aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaaca201fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffffacdd098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffffacdd0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaaca2020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/explicit-suppression.cpp.script: line 3: 2536974 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config suppress-c++-stdlib=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/explicit-suppression.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/find_last_store.c (655 of 18966) ******************** TEST 'Clang :: Analysis/diagnostics/find_last_store.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/find_last_store.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/find_last_store.c 1. parser at end of file 2. While analyzing stack: #0 Calling no_find_last_store 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/find_last_store.c:11:10: Error evaluating branch #0 0x0000ffffa44eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa44e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa44eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffad463800 (linux-vdso.so.1+0x800) #4 0x0000ffffac7629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffac7629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffac7629e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffac7629e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffac7629e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffac7629e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffac7629e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffac7629e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffac410048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffac410048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffac410048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffac410048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffac410f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffac410f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffac410f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffac410f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffac423b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffac423b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffac423b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffac425060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffac425060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffac425060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffac424530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffac424530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffac424530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffac430b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffac430b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffac430b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffac43a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffac43a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffac43a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffac39eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffac39eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffac39eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffac39eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffac88c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffac88c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffac88c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffac3b4c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffac3b4c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffac3b4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffac3b4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffac3b4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffac3b4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffac3b4c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffac3b4c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffac3b4c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffac3b4c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffac3b5200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffac3ccb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffac3ccb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffac3ccb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffac3ccb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffac3ccb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffac696bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffac696bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffac696bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffac696bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffac696bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffac697b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffac697b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffac697b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffac69c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffac69c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffac69c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffac69c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffac69c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffaaaf2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffaaaf2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffaaaf2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffaaaf2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffac1b7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffac16f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffac16f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffac16f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffac1f551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaadc8659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaadc8694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaadc86aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaadc861fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa374098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa3740a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaadc8620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/find_last_store.c.script: line 1: 2536992 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/find_last_store.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/false-positive-suppression.c (656 of 18966) ******************** TEST 'Clang :: Analysis/diagnostics/false-positive-suppression.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -I /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/Inputs -analyzer-checker=core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/false-positive-suppression.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -I /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/Inputs -analyzer-checker=core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/false-positive-suppression.c 1. parser at end of file 2. While analyzing stack: #0 Calling radar12491259_inside_macro 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/false-positive-suppression.c:19:14: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/false-positive-suppression.c:19:14: Error evaluating statement #0 0x0000ffff8b62acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8b629100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8b62b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff945ac800 (linux-vdso.so.1+0x800) #4 0x0000ffff93889250 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff93889250 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff93889250 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff93889250 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff93889250 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff93889250 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff93889250 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff93889250 (anonymous namespace)::MallocChecker::evalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:3069:0 #12 0x0000ffff93697760 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffff93697760 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffff93697760 llvm::IntrusiveRefCntPtr clang::ento::eval::Assume::_evalAssume<(anonymous namespace)::MallocChecker>(void*, llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:463:74 #15 0x0000ffff934ab758 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff934ab758 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff934ab758 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff934ab758 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffff93570be4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff93570be4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff93570be4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffff93570be4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffff9357a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffff9357a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff9357a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #26 0x0000ffff934debd8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff934debd8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff934debd8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffff934debd8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffff939cc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff939cc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff939cc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #33 0x0000ffff936a3840 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffff936a3840 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffff936a3840 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffff936a3840 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffff936a3840 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffff936a3840 (anonymous namespace)::MallocChecker::ProcessZeroAllocCheck(clang::ento::CallEvent const&, unsigned int, llvm::IntrusiveRefCntPtr, std::optional) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1529:0 #39 0x0000ffff936a3c90 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffff936a3c90 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffff936a3c90 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #42 0x0000ffff936b0180 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffff936b0180 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffff934c89a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff934c89a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff934c89a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffff934c89a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffff934c89a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffff93528c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffff93528c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffff93528c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffff93528c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffff93528c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffff93528c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffff93529514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffff9350b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffff9350b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffff9350c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffff9350c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffff9350c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffff9350cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffff9350cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffff9350cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffff9350cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffff9350cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #66 0x0000ffff937d6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffff937d6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffff937d6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffff937d6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffff937d6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffff937d7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #72 0x0000ffff937d7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffff937d7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffff937dc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffff937dc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffff937dc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffff937dc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffff937dc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffff91c32058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #80 0x0000ffff91c32058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffff91c32058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #82 0x0000ffff91c32058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffff932f7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffff932af104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffff932af104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffff932af104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffff9333551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaab10859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaab10894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaab108aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaab1081fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff8a88098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff8a880a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaab10820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/false-positive-suppression.c.script: line 1: 2536987 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -I /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/Inputs -analyzer-checker=core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/false-positive-suppression.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/implicit-cxx-std-suppression.cpp (658 of 18966) ******************** TEST 'Clang :: Analysis/diagnostics/implicit-cxx-std-suppression.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete,debug.ExprInspection -analyzer-config c++-container-inlining=true -analyzer-config c++-stdlib-inlining=false -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/implicit-cxx-std-suppression.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete,debug.ExprInspection -analyzer-config c++-container-inlining=true -analyzer-config c++-stdlib-inlining=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/implicit-cxx-std-suppression.cpp : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete,debug.ExprInspection -analyzer-config c++-container-inlining=true -analyzer-config c++-stdlib-inlining=false -std=c++11 -DTEST_INLINABLE_ALLOCATORS -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/implicit-cxx-std-suppression.cpp : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete,debug.ExprInspection -analyzer-config c++-container-inlining=true -analyzer-config c++-stdlib-inlining=true -std=c++11 -DTEST_INLINABLE_ALLOCATORS -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/implicit-cxx-std-suppression.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete,debug.ExprInspection -analyzer-config c++-container-inlining=true -analyzer-config c++-stdlib-inlining=false -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/implicit-cxx-std-suppression.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testSuppression_std_shared_pointer() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/implicit-cxx-std-suppression.cpp:36:26: Error evaluating New Allocator Call #0 0x0000ffff83b4acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff83b49100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff83b4b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8cac1800 (linux-vdso.so.1+0x800) #4 0x0000ffff8bdc29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8bdc29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8bdc29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8bdc29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8bdc29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8bdc29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8bdc29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8bdc29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8ba70048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8ba70048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8ba70048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8ba70048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8ba70f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8ba70f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8ba70f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8ba70f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8ba83b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8ba83b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8ba83b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8ba85060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8ba85060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8ba85060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8ba84530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8ba84530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8ba84530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8ba90b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8ba90b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8ba90b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8ba9a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8ba9a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8ba9a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8b9feaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8b9feaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8b9feaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8b9feaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8b9fefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8b9fefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8b9fefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff8ba28f68 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff8ba28f68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff8ba28f68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff8ba28f68 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff8ba28f68 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff8ba2937c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff8ba2937c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff8ba2937c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff8ba2937c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff8ba2937c clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffff8ba2c5fc clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffff8ba2c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #54 0x0000ffff8ba2c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffff8ba2cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffff8ba2cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffff8ba2cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffff8ba2cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffff8ba2cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #60 0x0000ffff8bcf6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffff8bcf6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffff8bcf6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffff8bcf6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffff8bcf6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffff8bcf7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #66 0x0000ffff8bcf7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffff8bcf7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffff8bcfc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffff8bcfc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffff8bcfc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffff8bcfc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffff8bcfc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffff8a152058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #74 0x0000ffff8a152058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffff8a152058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #76 0x0000ffff8a152058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffff8b817450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffff8b7cf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffff8b7cf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffff8b7cf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffff8b85551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaae40959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaae40994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaae409aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaae4091fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffff82da098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffff82da0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaae40920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/implicit-cxx-std-suppression.cpp.script: line 4: 2537004 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete,debug.ExprInspection -analyzer-config c++-container-inlining=true -analyzer-config c++-stdlib-inlining=false -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/implicit-cxx-std-suppression.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/initializer.cpp (659 of 18966) ******************** TEST 'Clang :: Analysis/diagnostics/initializer.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/initializer.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/initializer.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling note_on_skipped_vbases::D::D() at line 40 #1 Calling note_on_skipped_vbases::test_prunability() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/initializer.cpp:36:11: Error evaluating statement #0 0x0000ffff910eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff910e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff910eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9a064800 (linux-vdso.so.1+0x800) #4 0x0000ffff98fb7188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff98fb7188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff98fb7188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff98fb7188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff98fb7188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff98fb7188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff98fb7188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff98fb7188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff98fcc264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff98fcc264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff98fcc264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff98fcc264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff98fcc264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff98fcc264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff98fcc264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff98fcc264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff98fcc264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffff98fcc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #22 0x0000ffff98fcc6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffff98fcc9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffff98fccb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff98fccb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff98fccb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff98fccb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff98fccb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #29 0x0000ffff99296bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff99296bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff99296bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff99296bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff99296bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff99297b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #35 0x0000ffff99297b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff99297b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff9929c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff9929c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff9929c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff9929c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff9929c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff976f2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #43 0x0000ffff976f2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff976f2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #45 0x0000ffff976f2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff98db7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff98d6f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff98d6f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff98d6f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff98df551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaaea4b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaaea4b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaaea4baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaaea4b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff9034098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff90340a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaaea4b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/initializer.cpp.script: line 1: 2537013 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/initializer.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/invalid-srcloc-fix.cpp (660 of 18966) ******************** TEST 'Clang :: Analysis/diagnostics/invalid-srcloc-fix.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/invalid-srcloc-fix.cpp -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/invalid-srcloc-fix.cpp.tmp.plist -analyzer-checker=core -analyzer-checker=debug.ReportStmts -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/invalid-srcloc-fix.cpp -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/invalid-srcloc-fix.cpp.tmp.plist -analyzer-checker=core -analyzer-checker=debug.ReportStmts 1. parser at end of file 2. While analyzing stack: #0 Calling k() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/invalid-srcloc-fix.cpp:11:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/invalid-srcloc-fix.cpp:11:10: Error evaluating statement #0 0x0000ffff8b73acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8b739100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8b73b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff946b7800 (linux-vdso.so.1+0x800) #4 0x0000ffff93607804 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff93607804 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff93607804 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff93607804 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff93607804 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff93607804 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff93607804 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff93607804 clang::ento::ExprEngine::getObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:607:55 #12 0x0000ffff9360a3e4 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #13 0x0000ffff9360a3e4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffff9360a3e4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff9360a3e4 clang::ento::ExprEngine::createTemporaryRegionIfNeeded(llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::Expr const*, clang::Expr const*, clang::ento::SubRegion const**) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:386:0 #16 0x0000ffff9360b410 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #17 0x0000ffff9360b410 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #18 0x0000ffff9360b410 clang::ento::ExprEngine::CreateCXXTemporaryObject(clang::MaterializeTemporaryExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:38:0 #19 0x0000ffff9361b024 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2269:0 #20 0x0000ffff9361c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #21 0x0000ffff9361c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #22 0x0000ffff9361c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #23 0x0000ffff9361cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #24 0x0000ffff9361cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #25 0x0000ffff9361cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #26 0x0000ffff9361cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #27 0x0000ffff9361cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #28 0x0000ffff938e6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #29 0x0000ffff938e6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #30 0x0000ffff938e6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #31 0x0000ffff938e6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #32 0x0000ffff938e6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #33 0x0000ffff938e7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #34 0x0000ffff938e7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x0000ffff938e7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #36 0x0000ffff938ec130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x0000ffff938ec130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x0000ffff938ec130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x0000ffff938ec130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x0000ffff938ec130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x0000ffff91d42058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #42 0x0000ffff91d42058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x0000ffff91d42058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #44 0x0000ffff91d42058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x0000ffff93407450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #46 0x0000ffff933bf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #47 0x0000ffff933bf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #48 0x0000ffff933bf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #49 0x0000ffff9344551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #50 0x0000aaaaaebc59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x0000aaaaaebc94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x0000aaaaaebcaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x0000aaaaaebc1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x0000ffff8a99098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #55 0x0000ffff8a990a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #56 0x0000aaaaaebc20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/invalid-srcloc-fix.cpp.script: line 1: 2537033 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/invalid-srcloc-fix.cpp -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/invalid-srcloc-fix.cpp.tmp.plist -analyzer-checker=core -analyzer-checker=debug.ReportStmts -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/macro-null-return-suppression.cpp (662 of 18966) ******************** TEST 'Clang :: Analysis/diagnostics/macro-null-return-suppression.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macro-null-return-suppression.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macro-null-return-suppression.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling noSuppressMacroUnrelated 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macro-null-return-suppression.cpp:54:7: Error evaluating branch #0 0x0000ffff9f76acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9f769100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9f76b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa86e7800 (linux-vdso.so.1+0x800) #4 0x0000ffffa79e29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa79e29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa79e29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa79e29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa79e29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa79e29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa79e29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa79e29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa7690048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa7690048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa7690048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa7690048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa7690f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa7690f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa7690f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa7690f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa76a3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa76a3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa76a3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa76a5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa76a5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa76a5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa76a4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa76a4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa76a4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa76b0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa76b0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa76b0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa76ba414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa76ba414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa76ba414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa761eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa761eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa761eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa761eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa7b0c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa7b0c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa7b0c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa7634c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffa7634c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffa7634c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffa7634c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffa7634c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffa7634c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffa7634c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffa7634c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffa7634c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffa7634c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffa7635200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffa764cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa764cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa764cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa764cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa764cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffa7916bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa7916bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa7916bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa7916bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa7916bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa7917b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffa7917b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa7917b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa791c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa791c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa791c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa791c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa791c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa5d72058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffa5d72058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa5d72058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffa5d72058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa7437450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa73ef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa73ef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa73ef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa747551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaea1859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaea1894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaea18aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaea181fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9e9c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff9e9c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaea1820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/macro-null-return-suppression.cpp.script: line 1: 2537038 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macro-null-return-suppression.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/macros.cpp (663 of 18966) ******************** TEST 'Clang :: Analysis/diagnostics/macros.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,osx -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macros.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,osx -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macros.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testNestedNullSplitMacro(int, int *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macros.cpp:68:3 : Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macros.cpp:68:3 : Error evaluating statement #0 0x0000ffff7782acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff77829100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7782b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff807a0800 (linux-vdso.so.1+0x800) #4 0x0000ffff7faa29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff7faa29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff7faa29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff7faa29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff7faa29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff7faa29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff7faa29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff7faa29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff7f750048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff7f750048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff7f750048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff7f750048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff7f750f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff7f750f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff7f750f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff7f750f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff7f763b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff7f763b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff7f763b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff7f765060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff7f765060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff7f765060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff7f764530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff7f764530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff7f764530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff7f770b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff7f770b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff7f770b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff7f77a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff7f77a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff7f77a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff7f6deaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff7f6deaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff7f6deaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff7f6deaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff7fbcc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff7fbcc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff7fbcc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff7f6f1ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff7f6f1ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff7f6f1ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff7f70c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff7f70c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff7f70c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff7f70c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff7f70c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff7f70c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffff7f70c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffff7f70c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffff7f70cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff7f70cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff7f70cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff7f70cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff7f70cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff7f9d6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff7f9d6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff7f9d6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff7f9d6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff7f9d6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff7f9d7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff7f9d7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff7f9d7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff7f9dc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff7f9dc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff7f9dc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff7f9dc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff7f9dc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff7de32058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff7de32058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff7de32058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff7de32058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff7f4f7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff7f4af104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff7f4af104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff7f4af104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff7f53551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad98959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad98994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad989aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad9891fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff76a8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff76a80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad98920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/macros.cpp.script: line 1: 2537040 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,osx -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macros.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/macros.m (664 of 18966) ******************** TEST 'Clang :: Analysis/diagnostics/macros.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -fblocks -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macros.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -fblocks -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macros.m 1. parser at end of file 2. While analyzing stack: #0 Calling testNilMacro 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macros.m:24:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macros.m:24:7: Error evaluating statement #0 0x0000ffff83e1acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff83e19100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff83e1b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8cd95800 (linux-vdso.so.1+0x800) #4 0x0000ffff8c0929e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8c0929e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8c0929e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8c0929e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8c0929e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8c0929e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8c0929e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8c0929e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8bd40048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8bd40048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8bd40048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8bd40048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8bd40f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8bd40f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8bd40f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8bd40f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8bd53b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8bd53b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8bd53b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8bd55060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8bd55060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8bd55060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8bd54530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8bd54530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8bd54530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8bd60b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8bd60b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8bd60b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8bd6a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8bd6a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8bd6a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8bccea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8bccea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8bccea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8bccea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8c1bc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8c1bc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8c1bc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8bce1ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff8bce1ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff8bce1ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff8bcfc07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff8bcfc07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff8bcfc07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff8bcfc07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff8bcfc07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff8bcfc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffff8bcfc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffff8bcfc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffff8bcfcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8bcfcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8bcfcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8bcfcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8bcfcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff8bfc6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8bfc6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8bfc6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8bfc6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8bfc6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff8bfc7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff8bfc7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff8bfc7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8bfcc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8bfcc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8bfcc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8bfcc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8bfcc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff8a422058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff8a422058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff8a422058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff8a422058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff8bae7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8ba9f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8ba9f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8ba9f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8bb2551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab2fa59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab2fa94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab2faaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab2fa1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8307098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff83070a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab2fa20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/macros.m.script: line 1: 2537049 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -fblocks -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macros.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/no-store-func-path-notes.cpp (666 of 18966) ******************** TEST 'Clang :: Analysis/diagnostics/no-store-func-path-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -std=c++14 -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/no-store-func-path-notes.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -std=c++14 -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/no-store-func-path-notes.cpp 1. parser at end of file #0 0x0000ffff8332acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff83329100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8332b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8c2a4800 (linux-vdso.so.1+0x800) #4 0x0000ffff8b1fc024 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff8b1fc024 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8b1fc024 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8b1fc024 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8b1fc024 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8b1fc024 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8b1fc024 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8b1fc024 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2911:0 #12 0x0000ffff8b1fc948 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #13 0x0000ffff8b20c974 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #14 0x0000ffff8b20cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff8b20cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff8b20cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff8b20cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff8b20cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffff8b4d6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff8b4d6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff8b4d6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff8b4d6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff8b4d6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff8b4d7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffff8b4d7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff8b4d7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff8b4dc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff8b4dc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff8b4dc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff8b4dc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff8b4dc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff89932058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffff89932058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff89932058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffff89932058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff8aff7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff8afaf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff8afaf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff8afaf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff8b03551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaae4f459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaae4f494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaae4f4aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaae4f41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff8258098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff82580a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaae4f420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/no-store-func-path-notes.cpp.script: line 1: 2537072 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -std=c++14 -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/no-store-func-path-notes.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/no-store-func-path-notes.c (667 of 18966) ******************** TEST 'Clang :: Analysis/diagnostics/no-store-func-path-notes.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -Wno-implicit-function-declaration -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/no-store-func-path-notes.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -Wno-implicit-function-declaration -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/no-store-func-path-notes.c 1. parser at end of file 2. While analyzing stack: #0 Calling test_implicit_function_decl 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/no-store-func-path-notes.c:256:7: Error evaluating branch #0 0x0000ffff82f4acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff82f49100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff82f4b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8becf800 (linux-vdso.so.1+0x800) #4 0x0000ffff8b1c29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8b1c29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8b1c29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8b1c29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8b1c29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8b1c29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8b1c29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8b1c29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8ae70048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8ae70048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8ae70048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8ae70048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8ae70f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8ae70f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8ae70f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8ae70f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8ae83b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8ae83b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8ae83b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8ae85060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8ae85060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8ae85060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8ae84530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8ae84530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8ae84530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8ae90b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8ae90b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8ae90b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8ae9a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8ae9a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8ae9a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8adfeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8adfeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8adfeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8adfeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8b2ec8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8b2ec8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8b2ec8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8ae14c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff8ae14c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff8ae14c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff8ae14c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff8ae14c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff8ae14c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff8ae14c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff8ae14c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff8ae14c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff8ae14c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff8ae15200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff8ae2cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8ae2cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8ae2cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8ae2cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8ae2cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff8b0f6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8b0f6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8b0f6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8b0f6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8b0f6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff8b0f7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff8b0f7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff8b0f7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8b0fc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8b0fc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8b0fc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8b0fc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8b0fc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff89552058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff89552058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff89552058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff89552058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff8ac17450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8abcf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8abcf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8abcf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8ac5551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad98c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad98c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad98caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad98c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff821a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff821a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad98c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/no-store-func-path-notes.c.script: line 1: 2537066 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -Wno-implicit-function-declaration -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/no-store-func-path-notes.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/plist-diagnostics-include-check.cpp (669 of 18966) ******************** TEST 'Clang :: Analysis/diagnostics/plist-diagnostics-include-check.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -analyzer-output=plist-multi-file /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/plist-diagnostics-include-check.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/plist-diagnostics-include-check.cpp.tmp.plist : 'RUN: at line 2'; tail -n +11 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/plist-diagnostics-include-check.cpp.tmp.plist | grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' | diff -ub /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/Inputs/expected-plists/plist-diagnostics-include-check.cpp.plist - -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -analyzer-output=plist-multi-file /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/plist-diagnostics-include-check.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/plist-diagnostics-include-check.cpp.tmp.plist 1. parser at end of file #0 0x0000ffff7af5acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7af59100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7af5b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff83eda800 (linux-vdso.so.1+0x800) #4 0x0000ffff82e2c024 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff82e2c024 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff82e2c024 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff82e2c024 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff82e2c024 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff82e2c024 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff82e2c024 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff82e2c024 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2911:0 #12 0x0000ffff82e2c948 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #13 0x0000ffff82e3c974 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #14 0x0000ffff82e3cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff82e3cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff82e3cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff82e3cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff82e3cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffff83106bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff83106bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff83106bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff83106bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff83106bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff83107b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffff83107b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff83107b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff8310c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff8310c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff8310c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff8310c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff8310c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff81562058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffff81562058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff81562058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffff81562058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff82c27450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff82bdf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff82bdf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff82bdf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff82c6551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaadbea59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaadbea94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaadbeaaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaadbea1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff7a1b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff7a1b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaadbea20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/plist-diagnostics-include-check.cpp.script: line 2: 2537092 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -analyzer-output=plist-multi-file /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/plist-diagnostics-include-check.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/plist-diagnostics-include-check.cpp.tmp.plist -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/no-store-func-path-notes.m (670 of 18966) ******************** TEST 'Clang :: Analysis/diagnostics/no-store-func-path-notes.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x objective-c -analyzer-checker=core,nullability -analyzer-output=text -Wno-objc-root-class -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/no-store-func-path-notes.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x objective-c -analyzer-checker=core,nullability -analyzer-output=text -Wno-objc-root-class -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/no-store-func-path-notes.m 1. parser at end of file #0 0x0000ffff8b89acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8b899100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8b89b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff94810800 (linux-vdso.so.1+0x800) #4 0x0000ffff93b129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff93b129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff93b129e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff93b129e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff93b129e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff93b129e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff93b129e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff93b129e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff937c0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff937c0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff937c0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff937c0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff937c0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff937c0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff937c0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff937c0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff937d3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff937d3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff937d3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff937d5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff937d5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff937d5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff937d4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff937d4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff937d4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff937e0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff937e0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff937e0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff937ea414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff937ea414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff937ea414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9374eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9374eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9374eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9374eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9374efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9374efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9374efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff93722620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff93722620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff93722620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff9375ef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff9375ef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff9375ef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff9377ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff9377ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff9377ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff93a46bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff93a46bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff93a46bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff93a46bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff93a46bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff93a47b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff93a47b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff93a47b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff93a4c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff93a4c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff93a4c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff93a4c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff93a4c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff91ea2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff91ea2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff91ea2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff91ea2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff93567450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff9351f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff9351f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff9351f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff935a551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaac9ad59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaac9ad94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaac9adaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaac9ad1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff8aaf098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff8aaf0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaac9ad20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/no-store-func-path-notes.m.script: line 1: 2537085 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x objective-c -analyzer-checker=core,nullability -analyzer-output=text -Wno-objc-root-class -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/no-store-func-path-notes.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/sarif-multi-diagnostic-test.c (672 of 18966) ******************** TEST 'Clang :: Analysis/diagnostics/sarif-multi-diagnostic-test.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.security.taint,debug.TaintTest,unix.Malloc /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/sarif-multi-diagnostic-test.c -verify -analyzer-output=sarif -o - | grep -Ev '^[[:space:]]*("uri": "file:.*sarif-multi-diagnostic-test.c"|"version": ".* version .*"|"version": "2.1.0")[[:space:]]*$' | diff -U1 -b /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/Inputs/expected-sarif/sarif-multi-diagnostic-test.c.sarif - -- Exit Code: 1 Command Output (stdout): -- --- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/Inputs/expected-sarif/sarif-multi-diagnostic-test.c.sarif 2023-11-28 16:52:28.000000000 +0800 +++ - 2024-05-29 12:20:19.481409618 +0800 @@ -1,506 +0,0 @@ -{ - "$schema": "https://docs.oasis-open.org/sarif/sarif/v2.1.0/cos02/schemas/sarif-schema-2.1.0.json", - "runs": [ - { - "artifacts": [ - { - "length": 1081, - "location": { - "index": 0, - }, - "mimeType": "text/plain", - "roles": [ - "resultFile" - ] - } - ], - "columnKind": "unicodeCodePoints", - "results": [ - { - "codeFlows": [ - { - "threadFlows": [ - { - "locations": [ - { - "importance": "essential", - "location": { - "message": { - "text": "Calling 'f'" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 6, - "endLine": 39, - "startColumn": 3, - "startLine": 39 - } - } - } - }, - { - "importance": "essential", - "location": { - "message": { - "text": "tainted" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 18, - "endLine": 11, - "startColumn": 11, - "startLine": 11 - } - } - } - } - ] - } - ] - } - ], - "level": "warning", - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 18, - "endLine": 11, - "startColumn": 11, - "startLine": 11 - } - } - } - ], - "message": { - "text": "tainted" - }, - "ruleId": "debug.TaintTest", - "ruleIndex": 0 - }, - { - "codeFlows": [ - { - "threadFlows": [ - { - "locations": [ - { - "importance": "essential", - "location": { - "message": { - "text": "Calling 'g'" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 6, - "endLine": 40, - "startColumn": 3, - "startLine": 40 - } - } - } - }, - { - "importance": "essential", - "location": { - "message": { - "text": "'fp' declared without an initial value" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 12, - "endLine": 15, - "startColumn": 3, - "startLine": 15 - } - } - } - }, - { - "importance": "essential", - "location": { - "message": { - "text": "Called function pointer is an uninitialized pointer value" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 9, - "endLine": 16, - "startColumn": 3, - "startLine": 16 - } - } - } - } - ] - } - ] - } - ], - "level": "warning", - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 9, - "endLine": 16, - "startColumn": 3, - "startLine": 16 - } - } - } - ], - "message": { - "text": "Called function pointer is an uninitialized pointer value" - }, - "ruleId": "core.CallAndMessage", - "ruleIndex": 1 - }, - { - "codeFlows": [ - { - "threadFlows": [ - { - "locations": [ - { - "importance": "important", - "location": { - "message": { - "text": "Assuming 'i' is equal to 0" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 13, - "endLine": 20, - "startColumn": 7, - "startLine": 20 - } - } - } - }, - { - "importance": "unimportant", - "location": { - "message": { - "text": "Taking true branch" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 3, - "startColumn": 3, - "startLine": 20 - } - } - } - }, - { - "importance": "essential", - "location": { - "message": { - "text": "Division by zero" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 14, - "startColumn": 14, - "startLine": 21 - } - } - } - } - ] - } - ] - } - ], - "level": "warning", - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 14, - "startColumn": 14, - "startLine": 21 - } - } - } - ], - "message": { - "text": "Division by zero" - }, - "ruleId": "core.DivideZero", - "ruleIndex": 2 - }, - { - "codeFlows": [ - { - "threadFlows": [ - { - "locations": [ - { - "importance": "essential", - "location": { - "message": { - "text": "Memory is allocated" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 24, - "endLine": 26, - "startColumn": 15, - "startLine": 26 - } - } - } - }, - { - "importance": "important", - "location": { - "message": { - "text": "Assuming 'i' is < 4" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 12, - "endLine": 27, - "startColumn": 7, - "startLine": 27 - } - } - } - }, - { - "importance": "unimportant", - "location": { - "message": { - "text": "Taking true branch" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 3, - "startColumn": 3, - "startLine": 27 - } - } - } - }, - { - "importance": "essential", - "location": { - "message": { - "text": "Potential leak of memory pointed to by 'mem'" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 12, - "startColumn": 12, - "startLine": 28 - } - } - } - } - ] - } - ] - } - ], - "level": "warning", - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 12, - "startColumn": 12, - "startLine": 28 - } - } - } - ], - "message": { - "text": "Potential leak of memory pointed to by 'mem'" - }, - "ruleId": "unix.Malloc", - "ruleIndex": 3 - }, - { - "codeFlows": [ - { - "threadFlows": [ - { - "locations": [ - { - "importance": "essential", - "location": { - "message": { - "text": "'løçål' initialized to 0" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 12, - "endLine": 34, - "startColumn": 3, - "startLine": 34 - } - } - } - }, - { - "importance": "essential", - "location": { - "message": { - "text": "Division by zero" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 20, - "startColumn": 20, - "startLine": 35 - } - } - } - } - ] - } - ] - } - ], - "level": "warning", - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 20, - "startColumn": 20, - "startLine": 35 - } - } - } - ], - "message": { - "text": "Division by zero" - }, - "ruleId": "core.DivideZero", - "ruleIndex": 2 - } - ], - "tool": { - "driver": { - "fullName": "clang static analyzer", - "informationUri": "https://clang.llvm.org/docs/UsersManual.html", - "language": "en-US", - "name": "clang", - "rules": [ - { - "defaultConfiguration": { - "enabled": true, - "level": "warning", - "rank": -1 - }, - "fullDescription": { - "text": "Mark tainted symbols as such." - }, - "id": "debug.TaintTest", - "name": "debug.TaintTest" - }, - { - "defaultConfiguration": { - "enabled": true, - "level": "warning", - "rank": -1 - }, - "fullDescription": { - "text": "Check for logical errors for function calls and Objective-C message expressions (e.g., uninitialized arguments, null function pointers)" - }, - "helpUri": "https://clang.llvm.org/docs/analyzer/checkers.html#core-callandmessage", - "id": "core.CallAndMessage", - "name": "core.CallAndMessage" - }, - { - "defaultConfiguration": { - "enabled": true, - "level": "warning", - "rank": -1 - }, - "fullDescription": { - "text": "Check for division by zero" - }, - "helpUri": "https://clang.llvm.org/docs/analyzer/checkers.html#core-dividezero", - "id": "core.DivideZero", - "name": "core.DivideZero" - }, - { - "defaultConfiguration": { - "enabled": true, - "level": "warning", - "rank": -1 - }, - "fullDescription": { - "text": "Check for memory leaks, double free, and use-after-free problems. Traces memory managed by malloc()/free()." - }, - "helpUri": "https://clang.llvm.org/docs/analyzer/checkers.html#unix-malloc", - "id": "unix.Malloc", - "name": "unix.Malloc" - } - ], - } - } - } - ], -} -- Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.security.taint,debug.TaintTest,unix.Malloc /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/sarif-multi-diagnostic-test.c -verify -analyzer-output=sarif -o - 1. parser at end of file 2. While analyzing stack: #0 Calling f at line 39 #1 Calling main 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/sarif-multi-diagnostic-test.c:10:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/sarif-multi-diagnostic-test.c:10:3: Error evaluating statement #0 0x0000ffffb366acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb3669100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb366b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbc5e7800 (linux-vdso.so.1+0x800) #4 0x0000ffffbb8d8f68 llvm::ImutAVLTree>>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbb8d8f68 llvm::IntrusiveRefCntPtrInfo>>>>::retain(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbb8d8f68 llvm::IntrusiveRefCntPtr>>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbb8d8f68 llvm::IntrusiveRefCntPtr>>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbb8d8f68 llvm::ImmutableMap>, llvm::ImutKeyValueInfo>>>::ImmutableMap(llvm::ImutAVLTree>>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbb8d8f68 clang::ento::ProgramStatePartialTrait>, llvm::ImutKeyValueInfo>>>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbb8d8f68 get<(anonymous namespace)::TaintArgsOnPostVisit> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbb8d8f68 (anonymous namespace)::GenericTaintChecker::checkPostCall(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp:842:0 #12 0x0000ffffbb5089a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffffbb5089a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffffbb5089a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #15 0x0000ffffbb5089a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #16 0x0000ffffbb5089a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #17 0x0000ffffbb568c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #18 0x0000ffffbb568c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #19 0x0000ffffbb568c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #20 0x0000ffffbb568c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #21 0x0000ffffbb568c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #22 0x0000ffffbb568c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #23 0x0000ffffbb569514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #24 0x0000ffffbb54b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #25 0x0000ffffbb54b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #26 0x0000ffffbb54c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #27 0x0000ffffbb54c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #28 0x0000ffffbb54c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #29 0x0000ffffbb54cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #30 0x0000ffffbb54cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #31 0x0000ffffbb54cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #32 0x0000ffffbb54cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #33 0x0000ffffbb54cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #34 0x0000ffffbb816bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x0000ffffbb816bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x0000ffffbb816bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #37 0x0000ffffbb816bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #38 0x0000ffffbb816bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #39 0x0000ffffbb817b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #40 0x0000ffffbb817b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x0000ffffbb817b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #42 0x0000ffffbb81c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x0000ffffbb81c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x0000ffffbb81c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x0000ffffbb81c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x0000ffffbb81c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x0000ffffb9c72058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #48 0x0000ffffb9c72058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #49 0x0000ffffb9c72058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #50 0x0000ffffb9c72058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #51 0x0000ffffbb337450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #52 0x0000ffffbb2ef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #53 0x0000ffffbb2ef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #54 0x0000ffffbb2ef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #55 0x0000ffffbb37551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #56 0x0000aaaac64659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #57 0x0000aaaac64694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #58 0x0000aaaac646aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #59 0x0000aaaac6461fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #60 0x0000ffffb28c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #61 0x0000ffffb28c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #62 0x0000aaaac64620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/report-issues-within-main-file.cpp (673 of 18966) ******************** TEST 'Clang :: Analysis/diagnostics/report-issues-within-main-file.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -analyzer-output=plist-multi-file -analyzer-config report-in-main-source-file=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/report-issues-within-main-file.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/report-issues-within-main-file.cpp.tmp.plist : 'RUN: at line 2'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling mainPlusHeader() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/report-issues-within-main-file.cpp:6:20: Error evaluating New Allocator Call #0 0x0000ffffb66eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb66e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb66eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbf66e800 (linux-vdso.so.1+0x800) #4 0x0000ffffbe9629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbe9629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbe9629e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbe9629e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbe9629e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbe9629e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbe9629e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbe9629e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbe610048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbe610048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbe610048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbe610048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbe610f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbe610f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbe610f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbe610f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbe623b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbe623b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbe623b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbe625060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbe625060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbe625060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbe624530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbe624530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbe624530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbe630b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbe630b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbe630b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbe63a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbe63a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbe63a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbe59eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbe59eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbe59eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbe59eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbe59efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbe59efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbe59efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffbe5c8f68 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffbe5c8f68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffbe5c8f68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffbe5c8f68 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffbe5c8f68 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffbe5c937c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffbe5c937c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffbe5c937c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffbe5c937c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffbe5c937c clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffffbe5cc5fc clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffffbe5cc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #54 0x0000ffffbe5ccb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffffbe5ccb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffffbe5ccb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffffbe5ccb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffffbe5ccb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #59 0x0000ffffbe896bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffffbe896bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffffbe896bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffffbe896bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffffbe896bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffffbe897b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #65 0x0000ffffbe897b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffffbe897b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffffbe89c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffffbe89c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffffbe89c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffffbe89c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffffbe89c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffffbccf2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #73 0x0000ffffbccf2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffffbccf2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #75 0x0000ffffbccf2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffffbe3b7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffffbe36f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffffbe36f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffffbe36f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffffbe3f551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaab71359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaab71394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaab713aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaab7131fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffffb594098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffffb5940a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaab71320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/report-issues-within-main-file.cpp.script: line 2: 2537112 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -analyzer-output=plist-multi-file -analyzer-config report-in-main-source-file=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/report-issues-within-main-file.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/report-issues-within-main-file.cpp.tmp.plist -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/sarif-diagnostics-taint-test.c (674 of 18966) ******************** TEST 'Clang :: Analysis/diagnostics/sarif-diagnostics-taint-test.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.taint,debug.TaintTest /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/sarif-diagnostics-taint-test.c -verify -analyzer-output=sarif -o - | grep -Ev '^[[:space:]]*("uri": "file:.*sarif-diagnostics-taint-test.c"|"version": ".* version .*"|"version": "2.1.0")[[:space:]]*$' | diff -U1 -b /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/Inputs/expected-sarif/sarif-diagnostics-taint-test.c.sarif - -- Exit Code: 1 Command Output (stdout): -- --- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/Inputs/expected-sarif/sarif-diagnostics-taint-test.c.sarif 2023-11-28 16:52:28.000000000 +0800 +++ - 2024-05-29 12:20:19.464038224 +0800 @@ -1,115 +0,0 @@ -{ - "$schema": "https://docs.oasis-open.org/sarif/sarif/v2.1.0/cos02/schemas/sarif-schema-2.1.0.json", - "runs": [ - { - "artifacts": [ - { - "length": 434, - "location": { - "index": 0, - }, - "mimeType": "text/plain", - "roles": [ - "resultFile" - ] - } - ], - "columnKind": "unicodeCodePoints", - "results": [ - { - "codeFlows": [ - { - "threadFlows": [ - { - "locations": [ - { - "importance": "essential", - "location": { - "message": { - "text": "Calling 'f'" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 6, - "endLine": 13, - "startColumn": 3, - "startLine": 13 - } - } - } - }, - { - "importance": "essential", - "location": { - "message": { - "text": "tainted" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 18, - "endLine": 9, - "startColumn": 11, - "startLine": 9 - } - } - } - } - ] - } - ] - } - ], - "level": "warning", - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 18, - "endLine": 9, - "startColumn": 11, - "startLine": 9 - } - } - } - ], - "message": { - "text": "tainted" - }, - "ruleId": "debug.TaintTest", - "ruleIndex": 0 - } - ], - "tool": { - "driver": { - "fullName": "clang static analyzer", - "informationUri": "https://clang.llvm.org/docs/UsersManual.html", - "language": "en-US", - "name": "clang", - "rules": [ - { - "defaultConfiguration": { - "enabled": true, - "level": "warning", - "rank": -1 - }, - "fullDescription": { - "text": "Mark tainted symbols as such." - }, - "id": "debug.TaintTest", - "name": "debug.TaintTest" - } - ], - } - } - } - ], -} -- Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.taint,debug.TaintTest /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/sarif-diagnostics-taint-test.c -verify -analyzer-output=sarif -o - 1. parser at end of file 2. While analyzing stack: #0 Calling f at line 13 #1 Calling main 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/sarif-diagnostics-taint-test.c:8:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/sarif-diagnostics-taint-test.c:8:3: Error evaluating statement #0 0x0000ffff773eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff773e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff773eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff80367800 (linux-vdso.so.1+0x800) #4 0x0000ffff7f658f68 llvm::ImutAVLTree>>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff7f658f68 llvm::IntrusiveRefCntPtrInfo>>>>::retain(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff7f658f68 llvm::IntrusiveRefCntPtr>>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff7f658f68 llvm::IntrusiveRefCntPtr>>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff7f658f68 llvm::ImmutableMap>, llvm::ImutKeyValueInfo>>>::ImmutableMap(llvm::ImutAVLTree>>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff7f658f68 clang::ento::ProgramStatePartialTrait>, llvm::ImutKeyValueInfo>>>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff7f658f68 get<(anonymous namespace)::TaintArgsOnPostVisit> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff7f658f68 (anonymous namespace)::GenericTaintChecker::checkPostCall(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp:842:0 #12 0x0000ffff7f2889a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffff7f2889a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffff7f2889a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #15 0x0000ffff7f2889a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #16 0x0000ffff7f2889a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #17 0x0000ffff7f2e8c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #18 0x0000ffff7f2e8c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #19 0x0000ffff7f2e8c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #20 0x0000ffff7f2e8c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #21 0x0000ffff7f2e8c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #22 0x0000ffff7f2e8c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #23 0x0000ffff7f2e9514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #24 0x0000ffff7f2cb270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #25 0x0000ffff7f2cb270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #26 0x0000ffff7f2cc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #27 0x0000ffff7f2cc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #28 0x0000ffff7f2cc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #29 0x0000ffff7f2ccb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #30 0x0000ffff7f2ccb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #31 0x0000ffff7f2ccb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #32 0x0000ffff7f2ccb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #33 0x0000ffff7f2ccb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #34 0x0000ffff7f596bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x0000ffff7f596bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x0000ffff7f596bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #37 0x0000ffff7f596bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #38 0x0000ffff7f596bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #39 0x0000ffff7f597b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #40 0x0000ffff7f597b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x0000ffff7f597b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #42 0x0000ffff7f59c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x0000ffff7f59c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x0000ffff7f59c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x0000ffff7f59c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x0000ffff7f59c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x0000ffff7d9f2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #48 0x0000ffff7d9f2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #49 0x0000ffff7d9f2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #50 0x0000ffff7d9f2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #51 0x0000ffff7f0b7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #52 0x0000ffff7f06f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #53 0x0000ffff7f06f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #54 0x0000ffff7f06f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #55 0x0000ffff7f0f551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #56 0x0000aaaaaed559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #57 0x0000aaaaaed594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #58 0x0000aaaaaed5aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #59 0x0000aaaaaed51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #60 0x0000ffff7664098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #61 0x0000ffff76640a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #62 0x0000aaaaaed520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/track_subexpressions.cpp (675 of 18966) ******************** TEST 'Clang :: Analysis/diagnostics/track_subexpressions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/track_subexpressions.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/track_subexpressions.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling multi_array_index_tracking::getIndex(int) at line 76 #1 Calling multi_array_index_tracking::testArrayIndexTracking() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/track_subexpressions.cpp:62:9: Error evaluating statement #0 0x0000ffffa47dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa47d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa47db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffad758800 (linux-vdso.so.1+0x800) #4 0x0000ffffac6fc134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffac6fc134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffac6fc134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffac6fc134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffac6fc134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffac6fc134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffac6a748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffac6a748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffac6a748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffac6bc264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffac6bc264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffac6bc264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffac6bc264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffac6bc264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffac6bc264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffac6bc264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffac6bc264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffac6bc264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffac6bc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #23 0x0000ffffac6bc6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffac6bc9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffac6bcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffac6bcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffac6bcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffac6bcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffac6bcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #30 0x0000ffffac986bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffac986bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffac986bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffac986bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffac986bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffac987b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #36 0x0000ffffac987b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffac987b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffac98c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffac98c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffac98c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffac98c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffac98c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffaade2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #44 0x0000ffffaade2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffaade2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #46 0x0000ffffaade2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffac4a7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffac45f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffac45f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffac45f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffac4e551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaad01959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaad01994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaad019aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaad0191fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffffa3a3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffffa3a30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaad01920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/track_subexpressions.cpp.script: line 1: 2537150 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/track_subexpressions.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/text-diagnostics.c (676 of 18966) ******************** TEST 'Clang :: Analysis/diagnostics/text-diagnostics.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.NullDereference -analyzer-output=text -fno-caret-diagnostics /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/text-diagnostics.c 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/text-diagnostics.c -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/text-diagnostics.c:7:18: error: CHECK-LABEL: expected string not found in input // CHECK-LABEL: text-diagnostics.c:{{.*}}:6: warning: Dereference of null pointer (loaded from variable 'p') ^ :1:1: note: scanning from here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/text-diagnostics.c -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. label:7 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: Stack dump: label:7 ~~~~~~~~~~~~ 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.NullDereference -analyzer-output=text -fno-caret-diagnostics /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/text-diagnostics.c label:7 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4: 1. parser at end of file label:7 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: 2. While analyzing stack: label:7 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #0 Calling testB label:7 ~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/undef-value-param.c (679 of 18966) ******************** TEST 'Clang :: Analysis/diagnostics/undef-value-param.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/undef-value-param.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=plist-multi-file /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/undef-value-param.c -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/undef-value-param.c.tmp.plist : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling initStruct at line 60 #1 Calling testPassingParentRegionStruct 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/undef-value-param.c:55:11: Error evaluating statement #0 0x0000ffff7d18acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7d189100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7d18b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff86104800 (linux-vdso.so.1+0x800) #4 0x0000ffff850ac134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff850ac134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff850ac134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff850ac134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff850ac134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff850ac134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff8505748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff8505748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff8505748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff8506c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff8506c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff8506c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff8506c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff8506c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff8506c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff8506c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff8506c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff8506c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff8506c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #23 0x0000ffff8506c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff8506c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff8506cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff8506cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff8506cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff8506cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff8506cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #30 0x0000ffff85336bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff85336bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff85336bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff85336bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff85336bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff85337b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #36 0x0000ffff85337b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff85337b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff8533c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff8533c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff8533c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff8533c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff8533c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff83792058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #44 0x0000ffff83792058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff83792058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #46 0x0000ffff83792058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff84e57450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff84e0f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff84e0f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff84e0f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff84e9551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaab58859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaab58894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaab588aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaab5881fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff7c3e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff7c3e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaab58820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/undef-value-param.c.script: line 3: 2537166 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/undef-value-param.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/undef-value-param.m (680 of 18966) ******************** TEST 'Clang :: Analysis/diagnostics/undef-value-param.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/undef-value-param.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -analyzer-output=plist-multi-file /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/undef-value-param.m -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/undef-value-param.m.tmp.plist : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file #0 0x0000ffffafc2acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffafc29100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffafc2b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb8bab800 (linux-vdso.so.1+0x800) #4 0x0000ffffb7ea29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb7ea29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb7ea29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb7ea29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb7ea29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb7ea29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb7ea29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb7ea29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb7b50048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb7b50048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb7b50048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb7b50048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb7b50f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb7b50f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb7b50f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb7b50f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb7b63b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb7b63b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb7b63b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb7b65060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb7b65060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb7b65060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb7b64530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb7b64530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb7b64530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb7b70b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb7b70b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb7b70b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb7b7a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb7b7a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb7b7a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb7adeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb7adeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb7adeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb7adeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb7adefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb7adefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb7adefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb7ab2620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffb7ab2620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffb7ab2620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffb7aeef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffb7aeef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffb7aeef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffb7b0ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffb7b0ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffb7b0ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffb7dd6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffb7dd6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffb7dd6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffb7dd6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffb7dd6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffb7dd7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffb7dd7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffb7dd7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffb7ddc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb7ddc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb7ddc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffb7ddc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffb7ddc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffb6232058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffb6232058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffb6232058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffb6232058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffb78f7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffb78af104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffb78af104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffb78af104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffb793551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaae4d559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaae4d594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaae4d5aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaae4d51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffaee8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffaee80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaae4d520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/undef-value-param.m.script: line 3: 2537170 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/undef-value-param.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/dispatch-once.m (681 of 18966) ******************** TEST 'Clang :: Analysis/dispatch-once.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dispatch-once.m -analyzer-checker=core -analyzer-checker=osx.API -analyzer-checker=unix.Malloc -analyzer-config display-checker-name=false : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -fblocks -fobjc-arc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dispatch-once.m -analyzer-checker=core -analyzer-checker=osx.API -analyzer-checker=unix.Malloc -analyzer-config display-checker-name=false -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dispatch-once.m -analyzer-checker=core -analyzer-checker=osx.API -analyzer-checker=unix.Malloc -analyzer-config display-checker-name=false 1. parser at end of file 2. While analyzing stack: #0 Calling dispatch_once at line 123 #1 Calling anonymous code 3. Error evaluating statement 4. Error evaluating statement #0 0x0000ffff8156acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff81569100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8156b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8a4ef800 (linux-vdso.so.1+0x800) #4 0x0000ffff897e29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff897e29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff897e29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff897e29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff897e29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff897e29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff897e29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff897e29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff89490048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff89490048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff89490048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff89490048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff89490f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff89490f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff89490f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff89490f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff894a3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff894a3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff894a3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff894a5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff894a5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff894a5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff894a4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff894a4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff894a4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff894b0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff894b0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff894b0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff894ba414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff894ba414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff894ba414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8941eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8941eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8941eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8941eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8990c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8990c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8990c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff89431ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff89431ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff89431ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff8944c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff8944c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff8944c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff8944c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff8944c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff8944c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffff8944c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffff8944c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffff8944cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8944cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8944cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8944cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8944cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff89716bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff89716bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff89716bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff89716bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff89716bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff89717b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff89717b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff89717b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8971c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8971c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8971c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8971c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8971c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff87b72058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff87b72058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff87b72058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff87b72058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff89237450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff891ef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff891ef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff891ef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8927551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac0f559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac0f594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac0f5aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac0f51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff807c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff807c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac0f520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dispatch-once.m.script: line 2: 2537187 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dispatch-once.m -analyzer-checker=core -analyzer-checker=osx.API -analyzer-checker=unix.Malloc -analyzer-config display-checker-name=false -- ******************** Testing: 0 FAIL: Clang :: Analysis/division-by-zero-track-zero.cpp (682 of 18966) ******************** TEST 'Clang :: Analysis/division-by-zero-track-zero.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/division-by-zero-track-zero.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/division-by-zero-track-zero.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_tracking_of_assignment::f(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/division-by-zero-track-zero.cpp:91:5: Error evaluating statement #0 0x0000ffff877aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff877a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff877ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9072f800 (linux-vdso.so.1+0x800) #4 0x0000ffff8f6cc134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8f6cc134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8f6cc134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8f6cc134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff8f6cc134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff8f6cc134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff8f67748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff8f67748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff8f67748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff8f68c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff8f68c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff8f68c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff8f68c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff8f68c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff8f68c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff8f68c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff8f68c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff8f68c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff8f68c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #23 0x0000ffff8f68c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #24 0x0000ffff8f68cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff8f68cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff8f68cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff8f68cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff8f68cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #29 0x0000ffff8f956bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff8f956bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff8f956bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff8f956bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff8f956bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff8f957b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #35 0x0000ffff8f957b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff8f957b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff8f95c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff8f95c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff8f95c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff8f95c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff8f95c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff8ddb2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #43 0x0000ffff8ddb2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff8ddb2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #45 0x0000ffff8ddb2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff8f477450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff8f42f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff8f42f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff8f42f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff8f4b551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaac90859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaac90894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaac908aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaac9081fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff86a0098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff86a00a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaac90820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/division-by-zero-track-zero.cpp.script: line 1: 2537216 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/division-by-zero-track-zero.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/division-by-zero-track-zero.c (683 of 18966) ******************** TEST 'Clang :: Analysis/division-by-zero-track-zero.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/division-by-zero-track-zero.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/division-by-zero-track-zero.c 1. parser at end of file 2. While analyzing stack: #0 Calling track_mul_lhs_0 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/division-by-zero-track-zero.c:6:3: Error evaluating statement #0 0x0000ffff774dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff774d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff774db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff80454800 (linux-vdso.so.1+0x800) #4 0x0000ffff7f3fc134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff7f3fc134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff7f3fc134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff7f3fc134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff7f3fc134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff7f3fc134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff7f3a748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff7f3a748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff7f3a748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff7f3bc264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff7f3bc264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff7f3bc264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff7f3bc264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff7f3bc264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff7f3bc264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff7f3bc264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff7f3bc264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff7f3bc264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff7f3bc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #23 0x0000ffff7f3bc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #24 0x0000ffff7f3bcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff7f3bcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff7f3bcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff7f3bcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff7f3bcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #29 0x0000ffff7f686bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff7f686bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff7f686bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff7f686bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff7f686bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff7f687b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #35 0x0000ffff7f687b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff7f687b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff7f68c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff7f68c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff7f68c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff7f68c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff7f68c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff7dae2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #43 0x0000ffff7dae2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff7dae2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #45 0x0000ffff7dae2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff7f1a7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff7f15f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff7f15f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff7f15f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff7f1e551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaac28b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaac28b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaac28baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaac28b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff7673098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff76730a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaac28b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/division-by-zero-track-zero.c.script: line 1: 2537211 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/division-by-zero-track-zero.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/div-zero.cpp (685 of 18966) ******************** TEST 'Clang :: Analysis/div-zero.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.DivideZero -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/div-zero.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.DivideZero -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/div-zero.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling fooPR10616(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/div-zero.cpp:7:11: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/div-zero.cpp:7:11: Error evaluating statement #0 0x0000ffff9973acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff99739100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9973b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa26b0800 (linux-vdso.so.1+0x800) #4 0x0000ffffa19b29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa19b29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa19b29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa19b29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa19b29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa19b29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa19b29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa19b29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa1660048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa1660048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa1660048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa1660048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa1660f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa1660f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa1660f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa1660f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa1673b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa1673b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa1673b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa1675060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa1675060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa1675060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa1674530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa1674530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa1674530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa1680b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa1680b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa1680b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa168a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa168a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa168a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa15eeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa15eeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa15eeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa15eeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa1adc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa1adc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa1adc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa1601ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffa1601ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffa1601ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffa161c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffa161c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffa161c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffa161c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffa161c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffa161c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffffa161c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffffa161c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffffa161cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa161cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa161cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa161cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa161cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffa18e6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa18e6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa18e6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa18e6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa18e6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa18e7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffa18e7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa18e7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa18ec130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa18ec130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa18ec130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa18ec130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa18ec130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff9fd42058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff9fd42058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff9fd42058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff9fd42058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa1407450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa13bf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa13bf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa13bf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa144551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab3f059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab3f094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab3f0aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab3f01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9899098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff98990a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab3f020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/div-zero.cpp.script: line 1: 2537210 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.DivideZero -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/div-zero.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/division-by-zero.c (686 of 18966) ******************** TEST 'Clang :: Analysis/division-by-zero.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.Malloc /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/division-by-zero.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.Malloc /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/division-by-zero.c 1. parser at end of file 2. While analyzing stack: #0 Calling f 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/division-by-zero.c:5:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/division-by-zero.c:5:7: Error evaluating statement #0 0x0000ffff7b0aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7b0a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7b0ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8402f800 (linux-vdso.so.1+0x800) #4 0x0000ffff833229e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff833229e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff833229e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff833229e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff833229e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff833229e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff833229e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff833229e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff82fd0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff82fd0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff82fd0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff82fd0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff82fd0974 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff82fd0974 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff82fd0974 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff82fd0974 (anonymous namespace)::RangeConstraintManager::assumeSymLE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3214:0 #20 0x0000ffff82fe3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff82fe3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff82fe3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff82fe5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff82fe5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff82fe5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff82fe4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff82fe4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff82fe4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff82ff0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff82ff0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff82ff0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff82ffa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff82ffa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff82ffa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff82f5ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff82f5ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff82f5ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff82f5ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8344c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8344c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8344c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff82f71ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff82f71ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff82f71ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff82f8c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff82f8c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff82f8c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff82f8c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff82f8c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff82f8c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffff82f8c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffff82f8c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffff82f8cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff82f8cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff82f8cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff82f8cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff82f8cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff83256bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff83256bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff83256bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff83256bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff83256bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff83257b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff83257b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff83257b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8325c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8325c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8325c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8325c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8325c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff816b2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff816b2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff816b2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff816b2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff82d77450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff82d2f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff82d2f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff82d2f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff82db551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaada459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaada494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaada4aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaada41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7a30098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7a300a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaada420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/division-by-zero.c.script: line 1: 2537229 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.Malloc /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/division-by-zero.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/double-ranges-bug.c (691 of 18966) ******************** TEST 'Clang :: Analysis/double-ranges-bug.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/double-ranges-bug.c -analyzer-checker=core -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/double-ranges-bug.c -analyzer-checker=core 1. parser at end of file 2. While analyzing stack: #0 Calling foo 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/double-ranges-bug.c:17:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/double-ranges-bug.c:17:7: Error evaluating statement #0 0x0000ffffa0e3acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa0e39100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa0e3b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa9dba800 (linux-vdso.so.1+0x800) #4 0x0000ffffa90b29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa90b29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa90b29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa90b29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa90b29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa90b29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa90b29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa90b29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa8d60048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa8d60048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa8d60048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa8d60048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa8d60f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa8d60f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa8d60f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa8d60f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa8d73b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa8d73b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa8d73b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa8d75060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa8d75060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa8d75060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa8d74530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa8d74530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa8d74530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa8d80b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa8d80b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa8d80b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa8d8a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa8d8a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa8d8a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa8ceeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa8ceeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa8ceeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa8ceeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa91dc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa91dc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa91dc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa8e0e270 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffa8e0e270 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffa8e0e270 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffffa8e0e270 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffffa8cd8e38 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffa8d01640 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffffa8d01640 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffffa8d0187c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffffa8d0187c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffffa8d0187c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffa8d0187c clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffffa8d11540 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffa8d11540 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffa8d11540 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffffa8d1ac54 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffffa8d1ac54 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffffa8d1ac54 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffffa8d1c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #60 0x0000ffffa8d1c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #61 0x0000ffffa8d1c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #62 0x0000ffffa8d1cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffffa8d1cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffffa8d1cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffffa8d1cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffffa8d1cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #67 0x0000ffffa8fe6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffffa8fe6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffffa8fe6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffffa8fe6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffffa8fe6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffffa8fe7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #73 0x0000ffffa8fe7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffffa8fe7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffffa8fec130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffffa8fec130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffffa8fec130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffffa8fec130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffffa8fec130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffffa7442058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #81 0x0000ffffa7442058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffffa7442058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #83 0x0000ffffa7442058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffffa8b07450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffffa8abf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffffa8abf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffffa8abf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffffa8b4551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaac83659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaac83694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaac836aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaac8361fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffffa009098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffffa0090a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaac83620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/double-ranges-bug.c.script: line 1: 2537240 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/double-ranges-bug.c -analyzer-checker=core -- ******************** Testing: 0 FAIL: Clang :: Analysis/dtor-cxx11.cpp (692 of 18966) ******************** TEST 'Clang :: Analysis/dtor-cxx11.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,unix.Malloc,debug.ExprInspection -Wno-null-dereference -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor-cxx11.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,unix.Malloc,debug.ExprInspection -Wno-null-dereference -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor-cxx11.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling Cxx11BraceInit::testInitializerList() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor-cxx11.cpp:12:21: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor-cxx11.cpp:12:21: Error evaluating statement #0 0x0000ffffadffacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffadff9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffadffb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb6f71800 (linux-vdso.so.1+0x800) #4 0x0000ffffb5ecda74 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffb5ecda74 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb5ecda74 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb5ecda74 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb5ecda74 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb5ecda74 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb5ecda74 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb5ecda74 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffffb5ecde64 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #13 0x0000ffffb5ecde64 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffffb5ecde64 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffffb5ecde64 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffffb5ecde64 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffffb5ece37c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #18 0x0000ffffb5ece37c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #19 0x0000ffffb5ece37c clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:486:0 #20 0x0000ffffb5ed5dd0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #21 0x0000ffffb5ed5dd0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #22 0x0000ffffb5ed5dd0 clang::ento::ExprEngine::handleConstructionContext(clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::ento::NodeBuilderContext const*, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions&, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:753:0 #23 0x0000ffffb5ed5dd0 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:665:0 #24 0x0000ffffb5edb22c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #25 0x0000ffffb5edb22c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #26 0x0000ffffb5edc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #27 0x0000ffffb5edc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #28 0x0000ffffb5edc6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #29 0x0000ffffb5edc9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #30 0x0000ffffb5edcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #31 0x0000ffffb5edcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #32 0x0000ffffb5edcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #33 0x0000ffffb5edcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #34 0x0000ffffb5edcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #35 0x0000ffffb61a6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb61a6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb61a6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #38 0x0000ffffb61a6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #39 0x0000ffffb61a6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #40 0x0000ffffb61a7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #41 0x0000ffffb61a7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #42 0x0000ffffb61a7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #43 0x0000ffffb61ac130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #44 0x0000ffffb61ac130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #45 0x0000ffffb61ac130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #46 0x0000ffffb61ac130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #47 0x0000ffffb61ac130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #48 0x0000ffffb4602058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #49 0x0000ffffb4602058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #50 0x0000ffffb4602058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #51 0x0000ffffb4602058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #52 0x0000ffffb5cc7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #53 0x0000ffffb5c7f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #54 0x0000ffffb5c7f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #55 0x0000ffffb5c7f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #56 0x0000ffffb5d0551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #57 0x0000aaaad5e659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #58 0x0000aaaad5e694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #59 0x0000aaaad5e6aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #60 0x0000aaaad5e61fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #61 0x0000ffffad25098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #62 0x0000ffffad250a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #63 0x0000aaaad5e620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dtor-cxx11.cpp.script: line 1: 2537256 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,unix.Malloc,debug.ExprInspection -Wno-null-dereference -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor-cxx11.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/dtor-array.cpp (693 of 18966) ******************** TEST 'Clang :: Analysis/dtor-array.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-inlining=destructors -verify -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor-array.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-inlining=destructors -verify -std=c++17 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor-array.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-inlining=destructors -verify -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor-array.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling crash6::top(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor-array.cpp:364:17: Error evaluating New Allocator Call #0 0x0000ffff894cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff894c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff894cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9244f800 (linux-vdso.so.1+0x800) #4 0x0000ffff917429e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff917429e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff917429e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff917429e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff917429e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff917429e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff917429e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff917429e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff913f0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff913f0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff913f0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff913f0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff913f0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff913f0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff913f0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff913f0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff91403b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff91403b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff91403b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff91405060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff91405060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff91405060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff91404530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff91404530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff91404530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff91410b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff91410b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff91410b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9141a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9141a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9141a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9137eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9137eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9137eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9137eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9137efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9137efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9137efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff913a8f68 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff913a8f68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff913a8f68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff913a8f68 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff913a8f68 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff913a937c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff913a937c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff913a937c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff913a937c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff913a937c clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffff913ac5fc clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffff913ac6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #54 0x0000ffff913ac9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffff913acb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffff913acb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffff913acb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffff913acb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffff913acb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #60 0x0000ffff91676bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffff91676bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffff91676bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffff91676bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffff91676bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffff91677b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #66 0x0000ffff91677b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffff91677b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffff9167c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffff9167c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffff9167c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffff9167c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffff9167c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffff8fad2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #74 0x0000ffff8fad2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffff8fad2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #76 0x0000ffff8fad2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffff91197450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffff9114f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffff9114f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffff9114f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffff911d551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaae70859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaae70894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaae708aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaae7081fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffff8872098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffff88720a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaae70820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dtor-array.cpp.script: line 2: 2537249 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-inlining=destructors -verify -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor-array.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/dtor.cpp (695 of 18966) ******************** TEST 'Clang :: Analysis/dtor.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection,cplusplus -analyzer-config c++-inlining=destructors -Wno-null-dereference -Wno-inaccessible-base -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection,cplusplus -analyzer-config c++-inlining=destructors -Wno-null-dereference -Wno-inaccessible-base -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling CustomOperators::operator new(size_t) at line 594 #1 Calling overrideDoubleDelete() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor.cpp:573:12: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor.cpp:573:12: Error evaluating statement #0 0x0000ffff82b2acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff82b29100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff82b2b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8baaf800 (linux-vdso.so.1+0x800) #4 0x0000ffff8ada29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8ada29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8ada29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8ada29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8ada29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8ada29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8ada29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8ada29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8aa50048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8aa50048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8aa50048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8aa50048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8aa50f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8aa50f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8aa50f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8aa50f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8aa63b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8aa63b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8aa63b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8aa65060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8aa65060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8aa65060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8aa64530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8aa64530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8aa64530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8aa70b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8aa70b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8aa70b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8aa7a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8aa7a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8aa7a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8a9dea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8a9dea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8a9dea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8a9dea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8aecc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8aecc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8aecc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8aba3840 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffff8aba3840 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffff8aba3840 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffff8aba3840 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffff8aba3840 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffff8aba3840 (anonymous namespace)::MallocChecker::ProcessZeroAllocCheck(clang::ento::CallEvent const&, unsigned int, llvm::IntrusiveRefCntPtr, std::optional) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1529:0 #48 0x0000ffff8aba3c90 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #49 0x0000ffff8aba3c90 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8aba3c90 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #51 0x0000ffff8abb0180 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #52 0x0000ffff8abb0180 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #53 0x0000ffff8a9c89a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffff8a9c89a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffff8a9c89a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #56 0x0000ffff8a9c89a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #57 0x0000ffff8a9c89a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #58 0x0000ffff8aa28c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #59 0x0000ffff8aa28c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #60 0x0000ffff8aa28c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #61 0x0000ffff8aa28c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #62 0x0000ffff8aa28c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #63 0x0000ffff8aa28c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #64 0x0000ffff8aa29514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #65 0x0000ffff8aa0b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #66 0x0000ffff8aa0b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #67 0x0000ffff8aa0c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #68 0x0000ffff8aa0c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #69 0x0000ffff8aa0c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #70 0x0000ffff8aa0cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x0000ffff8aa0cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x0000ffff8aa0cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #73 0x0000ffff8aa0cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #74 0x0000ffff8aa0cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #75 0x0000ffff8acd6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #76 0x0000ffff8acd6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #77 0x0000ffff8acd6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #78 0x0000ffff8acd6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #79 0x0000ffff8acd6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #80 0x0000ffff8acd7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #81 0x0000ffff8acd7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #82 0x0000ffff8acd7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #83 0x0000ffff8acdc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #84 0x0000ffff8acdc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #85 0x0000ffff8acdc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #86 0x0000ffff8acdc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #87 0x0000ffff8acdc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #88 0x0000ffff89132058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #89 0x0000ffff89132058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #90 0x0000ffff89132058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #91 0x0000ffff89132058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #92 0x0000ffff8a7f7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #93 0x0000ffff8a7af104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #94 0x0000ffff8a7af104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #95 0x0000ffff8a7af104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #96 0x0000ffff8a83551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #97 0x0000aaaab06f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #98 0x0000aaaab06f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #99 0x0000aaaab06faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #100 0x0000aaaab06f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #101 0x0000ffff81d8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #102 0x0000ffff81d80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #103 0x0000aaaab06f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dtor.cpp.script: line 1: 2537265 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection,cplusplus -analyzer-config c++-inlining=destructors -Wno-null-dereference -Wno-inaccessible-base -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/dump_egraph.cpp (696 of 18966) ******************** TEST 'Clang :: Analysis/dump_egraph.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-dump-egraph=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dump_egraph.cpp.tmp.dot /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dump_egraph.cpp : 'RUN: at line 2'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dump_egraph.cpp.tmp.dot | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dump_egraph.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-dump-egraph=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dump_egraph.cpp.tmp.dot /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dump_egraph.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling T::T() at line 15 #1 Calling foo() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dump_egraph.cpp:10:9: Error evaluating statement #0 0x0000ffffa7c0acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa7c09100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa7c0b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb0b8b800 (linux-vdso.so.1+0x800) #4 0x0000ffffafad7188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffafad7188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffafad7188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffafad7188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffafad7188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffafad7188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffafad7188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffafad7188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffffafaec264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffafaec264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffafaec264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffafaec264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffafaec264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffafaec264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffafaec264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffafaec264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffafaec264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffffafaec5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #22 0x0000ffffafaec6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffffafaec9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffffafaecb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffafaecb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffafaecb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffafaecb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffafaecb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #29 0x0000ffffafdb6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffafdb6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffafdb6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffafdb6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffafdb6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffafdb7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #35 0x0000ffffafdb7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffafdb7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffafdbc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffafdbc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffafdbc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffafdbc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffafdbc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffae212058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #43 0x0000ffffae212058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffae212058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #45 0x0000ffffae212058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffaf8d7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffaf88f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffaf88f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffaf88f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffaf91551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaacf9759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaacf9794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaacf97aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaacf971fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffffa6e6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffffa6e60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaacf9720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dump_egraph.cpp.script: line 2: 2537293 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-dump-egraph=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dump_egraph.cpp.tmp.dot /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dump_egraph.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/dynamic-cast.cpp (697 of 18966) ******************** TEST 'Clang :: Analysis/dynamic-cast.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=none -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dynamic-cast.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=none -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dynamic-cast.cpp 1. parser at end of file #0 0x0000ffff9185acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff91859100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9185b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9a7d6800 (linux-vdso.so.1+0x800) #4 0x0000ffff99ad29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff99ad29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff99ad29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff99ad29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff99ad29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff99ad29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff99ad29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff99ad29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff99780048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff99780048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff99780048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff99780048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff99780f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff99780f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff99780f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff99780f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff99793b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff99793b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff99793b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff99795060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff99795060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff99795060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff99794530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff99794530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff99794530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff997a0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff997a0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff997a0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff997aa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff997aa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff997aa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9970eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9970eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9970eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9970eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9970efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9970efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9970efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff996e2620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff996e2620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff996e2620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff9971ef2c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff9971ef2c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff9971ef2c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff9973ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff9973ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff9973ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff99a06bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff99a06bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff99a06bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff99a06bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff99a06bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff99a17348 VisitFunctionDecl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:319:0 #57 0x0000ffff99a17348 WalkUpFromFunctionDecl /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include/clang/AST/DeclNodes.inc:433:0 #58 0x0000ffff99a17348 WalkUpFromCXXDeductionGuideDecl /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include/clang/AST/DeclNodes.inc:437:0 #59 0x0000ffff99a17348 clang::RecursiveASTVisitor<(anonymous namespace)::AnalysisConsumer>::TraverseCXXDeductionGuideDecl(clang::CXXDeductionGuideDecl*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/RecursiveASTVisitor.h:2233:0 #60 0x0000ffff99a0c4f0 clang::RecursiveASTVisitor<(anonymous namespace)::AnalysisConsumer>::TraverseDeclContextHelper(clang::DeclContext*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/RecursiveASTVisitor.h:1489:0 #61 0x0000ffff99a09864 TraverseCXXRecordDecl /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/RecursiveASTVisitor.h:2015:0 #62 0x0000ffff99a09864 clang::RecursiveASTVisitor<(anonymous namespace)::AnalysisConsumer>::TraverseDecl(clang::Decl*) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include/clang/AST/DeclNodes.inc:295:0 #63 0x0000ffff99a0c054 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:552:0 #64 0x0000ffff99a0c054 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #65 0x0000ffff97e62058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #66 0x0000ffff97e62058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #67 0x0000ffff97e62058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #68 0x0000ffff97e62058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #69 0x0000ffff99527450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #70 0x0000ffff994df104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #71 0x0000ffff994df104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #72 0x0000ffff994df104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #73 0x0000ffff9956551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #74 0x0000aaaade3f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #75 0x0000aaaade3f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #76 0x0000aaaade3faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #77 0x0000aaaade3f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #78 0x0000ffff90ab098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #79 0x0000ffff90ab0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #80 0x0000aaaade3f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dynamic-cast.cpp.script: line 1: 2537297 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=none -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dynamic-cast.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/end-function-return-stmt.cpp (698 of 18966) ******************** TEST 'Clang :: Analysis/end-function-return-stmt.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:EndFunction=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/end-function-return-stmt.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/end-function-return-stmt.cpp -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/end-function-return-stmt.cpp:24:16: error: CHECK-NEXT: expected string not found in input // CHECK-NEXT: ReturnStmt: yes ^ :3:379: note: scanning from here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:EndFunction=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/end-function-return-stmt.cpp ^ :6:21: note: possible intended match here #0 Calling endsWithReturnStmt() ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/end-function-return-stmt.cpp -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. 2: Stack dump: 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:EndFunction=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/end-function-return-stmt.cpp next:24'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 4: 1. parser at end of file next:24'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: 2. While analyzing stack: next:24'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #0 Calling endsWithReturnStmt() next:24'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next:24'1 ? possible intended match 7: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/end-function-return-stmt.cpp:19:3: Error evaluating statement next:24'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: #0 0x0000ffffab37acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) next:24'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9: #1 0x0000ffffab379100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) next:24'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10: #2 0x0000ffffab37b388 (/usr/lib64/libLLVM-17.so+0x9bb388) next:24'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11: #3 0x0000ffffb42f9800 (linux-vdso.so.1+0x800) next:24'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/edges-new.mm (699 of 18966) ******************** TEST 'Clang :: Analysis/edges-new.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,deadcode.DeadStores,osx.cocoa.RetainCount,unix.Malloc,unix.MismatchedDeallocator -analyzer-output=plist -analyzer-config deadcode.DeadStores:ShowFixIts=true -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/edges-new.mm.tmp -w /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/edges-new.mm : 'RUN: at line 2'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file #0 0x0000ffffb5a8acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb5a89100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb5a8b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbea06800 (linux-vdso.so.1+0x800) #4 0x0000ffffbdd029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbdd029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbdd029e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbdd029e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbdd029e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbdd029e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbdd029e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbdd029e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbd9b0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbd9b0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbd9b0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbd9b0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbd9b0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbd9b0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbd9b0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbd9b0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbd9c3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbd9c3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbd9c3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbd9c5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbd9c5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbd9c5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbd9c4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbd9c4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbd9c4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbd9d0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbd9d0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbd9d0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbd9da414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbd9da414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbd9da414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbd93eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbd93eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbd93eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbd93eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbd93efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbd93efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbd93efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffbd912620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffbd912620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffbd912620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffbd94ef2c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffbd94ef2c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffbd94ef2c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffbd96ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffbd96ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffbd96ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffbdc36bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffbdc36bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffbdc36bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffbdc36bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffbdc36bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffbdc37b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffbdc37b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffbdc37b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffbdc3c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffbdc3c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffbdc3c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffbdc3c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffbdc3c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffbc092058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffbc092058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffbc092058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffbc092058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffbd757450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffbd70f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffbd70f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffbd70f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffbd79551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaab6fd59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaab6fd94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaab6fdaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaab6fd1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffb4ce098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffb4ce0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaab6fd20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/edges-new.mm.script: line 2: 2537312 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,deadcode.DeadStores,osx.cocoa.RetainCount,unix.Malloc,unix.MismatchedDeallocator -analyzer-output=plist -analyzer-config deadcode.DeadStores:ShowFixIts=true -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/edges-new.mm.tmp -w /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/edges-new.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/enum-cast-out-of-range.cpp (700 of 18966) ******************** TEST 'Clang :: Analysis/enum-cast-out-of-range.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.cplusplus.EnumCastOutOfRange -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/enum-cast-out-of-range.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.cplusplus.EnumCastOutOfRange -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/enum-cast-out-of-range.cpp 1. parser at end of file #0 0x0000ffff7dc0acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7dc09100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7dc0b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff86b82800 (linux-vdso.so.1+0x800) #4 0x0000ffff85adc024 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff85adc024 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff85adc024 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff85adc024 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff85adc024 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff85adc024 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff85adc024 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff85adc024 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2911:0 #12 0x0000ffff85adc948 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #13 0x0000ffff85aec974 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #14 0x0000ffff85aecb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff85aecb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff85aecb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff85aecb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff85aecb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffff85db6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff85db6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff85db6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff85db6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff85db6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff85db7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffff85db7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff85db7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff85dbc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff85dbc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff85dbc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff85dbc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff85dbc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff84212058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffff84212058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff84212058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffff84212058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff858d7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff8588f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff8588f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff8588f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff8591551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaae6b459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaae6b494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaae6b4aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaae6b41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff7ce6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff7ce60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaae6b420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/enum-cast-out-of-range.cpp.script: line 1: 2537343 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.cplusplus.EnumCastOutOfRange -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/enum-cast-out-of-range.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/engine/replay-without-inlining.c (701 of 18966) ******************** TEST 'Clang :: Analysis/engine/replay-without-inlining.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/engine/replay-without-inlining.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/engine/replay-without-inlining.c 1. parser at end of file 2. While analyzing stack: #0 Calling gb at line 28 #1 Calling getID at line 34 #2 Calling getH at line 43 #3 Calling readILBM at line 56 #4 Calling bitmapImageRepFromIFF 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/engine/replay-without-inlining.c:25:12: Error evaluating statement #0 0x0000ffffb637acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb6379100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb637b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbf2fc800 (linux-vdso.so.1+0x800) #4 0x0000ffffbe29c134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbe29c134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbe29c134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbe29c134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffbe29c134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffbe29c134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffbe24748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffbe24748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffbe24748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffbe25c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffbe25c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffbe25c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffbe25c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffbe25c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffbe25c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffbe25c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffbe25c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffbe25c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffbe25c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #23 0x0000ffffbe25c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffbe25c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffbe25cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffbe25cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffbe25cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffbe25cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffbe25cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #30 0x0000ffffbe526bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffbe526bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffbe526bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffbe526bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffbe526bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffbe527b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #36 0x0000ffffbe527b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffbe527b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffbe52c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffbe52c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffbe52c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffbe52c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffbe52c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffbc982058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #44 0x0000ffffbc982058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffbc982058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #46 0x0000ffffbc982058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffbe047450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffbdfff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffbdfff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffbdfff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffbe08551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaac5b959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaac5b994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaac5b9aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaac5b91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffffb55d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffffb55d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaac5b920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/engine/Output/replay-without-inlining.c.script: line 1: 2537335 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/engine/replay-without-inlining.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/enum.cpp (702 of 18966) ******************** TEST 'Clang :: Analysis/enum.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/enum.cpp -- Exit Code: 139 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/enum.cpp:34:11: warning: enumeration value 'T' not handled in switch [-Wswitch] 34 | switch (E) { | ^ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/enum.cpp:43:11: warning: enumeration value 'T' not handled in switch [-Wswitch] 43 | switch (E) { | ^ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/enum.cpp:53:11: warning: enumeration value 'T' not handled in switch [-Wswitch] 53 | switch (E) { | ^ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/enum.cpp:64:11: warning: enumeration value 'T' not handled in switch [-Wswitch] 64 | switch (E) { | ^ PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/enum.cpp 1. parser at end of file #0 0x0000ffff9728acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff97289100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9728b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa0202800 (linux-vdso.so.1+0x800) #4 0x0000ffff9f5029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9f5029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9f5029e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9f5029e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9f5029e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9f5029e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9f5029e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9f5029e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9f1b0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9f1b0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9f1b0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9f1b0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9f1b20b8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9f1b20b8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9f1b20b8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9f1b20b8 (anonymous namespace)::RangeConstraintManager::assumeSymWithinInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3224:0 #20 0x0000ffff9f1c41f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9f1c41f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9f1c41f8 clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:129:64 #23 0x0000ffff9f1c4754 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9f1c4754 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9f1c4754 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #26 0x0000ffff9f13f108 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9f13f108 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9f13f108 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:75 #29 0x0000ffff9f13f108 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffff9f1555b8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff9f1555b8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff9f1555b8 clang::ento::ProgramState::assumeInclusiveRange(clang::ento::DefinedOrUnknownSVal, llvm::APSInt const&, llvm::APSInt const&) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:746:43 #33 0x0000ffff9f1555b8 clang::ento::ExprEngine::processSwitch(clang::ento::SwitchNodeBuilder&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3004:42 #34 0x0000ffff9f15cf8c clang::ento::CoreEngine::HandleBlockExit(clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:422:0 #35 0x0000ffff9f16cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff9f16cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff9f16cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffff9f16cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffff9f16cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffff9f436bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffff9f436bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffff9f436bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffff9f436bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffff9f436bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffff9f437b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffff9f437b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffff9f437b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffff9f43c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffff9f43c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffff9f43c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffff9f43c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffff9f43c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffff9d892058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffff9d892058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffff9d892058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffff9d892058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffff9ef57450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffff9ef0f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffff9ef0f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffff9ef0f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffff9ef9551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaac64a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaac64a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaac64aaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaac64a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff964e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff964e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaac64a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/enum.cpp.script: line 1: 2537349 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/enum.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/equality_tracking.c (703 of 18966) ******************** TEST 'Clang :: Analysis/equality_tracking.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/equality_tracking.c -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/equality_tracking.c -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false 1. parser at end of file 2. While analyzing stack: #0 Calling deleteAllPoints 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/equality_tracking.c:288:5 : Error evaluating branch #0 0x0000ffff9dc0acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9dc09100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9dc0b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa6b8e800 (linux-vdso.so.1+0x800) #4 0x0000ffffa5e829e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa5e829e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa5e829e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa5e829e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa5e829e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa5e829e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa5e829e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa5e829e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa5b30048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa5b30048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa5b30048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa5b30048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa5b30f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa5b30f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa5b30f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa5b30f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa5b43b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa5b43b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa5b43b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa5b45060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa5b45060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa5b45060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa5b44530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa5b44530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa5b44530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa5b50b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa5b50b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa5b50b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa5b5a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa5b5a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa5b5a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa5abea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa5abea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa5abea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa5abea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffa5fac8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa5fac8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa5fac8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa5ad4c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffa5ad4c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffa5ad4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffa5ad4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffa5ad4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffa5ad4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffa5ad4c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffa5ad4c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffa5ad4c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffa5ad4c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffa5ad5200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffa5aecb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa5aecb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa5aecb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa5aecb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa5aecb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffa5db6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa5db6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa5db6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa5db6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa5db6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa5db7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffa5db7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa5db7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa5dbc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa5dbc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa5dbc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa5dbc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa5dbc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa4212058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffa4212058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa4212058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffa4212058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa58d7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa588f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa588f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa588f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa591551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaae0459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaae0494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaae04aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaae041fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9ce6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff9ce60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaae0420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/equality_tracking.c.script: line 1: 2537360 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/equality_tracking.c -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -- ******************** Testing: 0 FAIL: Clang :: Analysis/errno-notes.c (704 of 18966) ******************** TEST 'Clang :: Analysis/errno-notes.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-output text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-notes.c -analyzer-checker=core -analyzer-checker=apiModeling.Errno -analyzer-checker=debug.ExprInspection -analyzer-checker=debug.ErrnoTest -analyzer-checker=alpha.unix.Errno -DERRNO_VAR : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-output text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-notes.c -analyzer-checker=core -analyzer-checker=apiModeling.Errno -analyzer-checker=debug.ExprInspection -analyzer-checker=debug.ErrnoTest -analyzer-checker=alpha.unix.Errno -DERRNO_FUNC -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-output text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-notes.c -analyzer-checker=core -analyzer-checker=apiModeling.Errno -analyzer-checker=debug.ExprInspection -analyzer-checker=debug.ErrnoTest -analyzer-checker=alpha.unix.Errno -DERRNO_VAR 1. parser at end of file #0 0x0000ffff9bdfacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9bdf9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9bdfb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa4d72800 (linux-vdso.so.1+0x800) #4 0x0000ffffa3d519c8 clang::ento::MemRegion::getKind() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:172:0 #5 0x0000ffffa3d519c8 clang::ento::TypedValueRegion::classof(clang::ento::MemRegion const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:556:0 #6 0x0000ffffa3d519c8 llvm::isa_impl::doit(clang::ento::MemRegion const&) /usr/include/llvm/Support/Casting.h:64:0 #7 0x0000ffffa3d519c8 llvm::isa_impl_cl::doit(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:110:0 #8 0x0000ffffa3d519c8 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:137:0 #9 0x0000ffffa3d519c8 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:129:0 #10 0x0000ffffa3d519c8 llvm::CastIsPossible::isPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:257:0 #11 0x0000ffffa3d519c8 llvm::CastInfo::doCastIfPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:493:0 #12 0x0000ffffa3d519c8 decltype(auto) llvm::dyn_cast(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:663:0 #13 0x0000ffffa3d519c8 (anonymous namespace)::RegionStoreManager::bind((anonymous namespace)::RegionBindingsRef const&, clang::ento::Loc, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:2368:0 #14 0x0000ffffa3d51edc asImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:258:62 #15 0x0000ffffa3d51edc asStore /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:225:23 #16 0x0000ffffa3d51edc (anonymous namespace)::RegionStoreManager::Bind(void const*, clang::ento::Loc, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:443:0 #17 0x0000ffffa3d0bf08 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #18 0x0000ffffa3d0bf08 clang::ento::ProgramState::bindLoc(clang::ento::Loc, clang::ento::SVal, clang::LocationContext const*, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:120:0 #19 0x0000ffffa3de8338 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #20 0x0000ffffa3de8338 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #21 0x0000ffffa3de8338 clang::ento::errno_modeling::setErrnoValue(llvm::IntrusiveRefCntPtr, clang::ento::CheckerContext&, unsigned long, clang::ento::errno_modeling::ErrnoCheckState) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:240:0 #22 0x0000ffffa3de9cec llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #23 0x0000ffffa3de9cec llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffffa3de9cec checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:149:0 #25 0x0000ffffa3de9cec void clang::ento::check::BeginFunction::_checkBeginFunction<(anonymous namespace)::ErrnoModeling>(void*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:244:0 #26 0x0000ffffa3c97808 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #27 0x0000ffffa3c97808 clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:441:0 #28 0x0000ffffa3cdcdf4 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #29 0x0000ffffa3cdcdf4 clang::ento::ExprEngine::processBeginOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::BlockEdge const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2884:1 #30 0x0000ffffa3cdcdf4 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:124:0 #31 0x0000ffffa3fa6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #32 0x0000ffffa3fa6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #33 0x0000ffffa3fa6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #34 0x0000ffffa3fa6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #35 0x0000ffffa3fa6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #36 0x0000ffffa3fa7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #37 0x0000ffffa3fa7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x0000ffffa3fa7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #39 0x0000ffffa3fac130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x0000ffffa3fac130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x0000ffffa3fac130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x0000ffffa3fac130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x0000ffffa3fac130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x0000ffffa2402058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #45 0x0000ffffa2402058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x0000ffffa2402058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #47 0x0000ffffa2402058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x0000ffffa3ac7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #49 0x0000ffffa3a7f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #50 0x0000ffffa3a7f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #51 0x0000ffffa3a7f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #52 0x0000ffffa3b0551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #53 0x0000aaaad83259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x0000aaaad83294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x0000aaaad832aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x0000aaaad8321fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x0000ffff9b05098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #58 0x0000ffff9b050a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #59 0x0000aaaad83220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/errno-notes.c.script: line 2: 2537369 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-output text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-notes.c -analyzer-checker=core -analyzer-checker=apiModeling.Errno -analyzer-checker=debug.ExprInspection -analyzer-checker=debug.ErrnoTest -analyzer-checker=alpha.unix.Errno -DERRNO_VAR -- ******************** Testing: 0 FAIL: Clang :: Analysis/errno-options.c (705 of 18966) ******************** TEST 'Clang :: Analysis/errno-options.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-options.c -analyzer-checker=core -analyzer-checker=apiModeling.Errno -analyzer-checker=debug.ErrnoTest -analyzer-checker=alpha.unix.Errno -analyzer-config alpha.unix.Errno:AllowErrnoReadOutsideConditionExpressions=false -DERRNO_VAR : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-options.c -analyzer-checker=core -analyzer-checker=apiModeling.Errno -analyzer-checker=debug.ErrnoTest -analyzer-checker=alpha.unix.Errno -analyzer-config alpha.unix.Errno:AllowErrnoReadOutsideConditionExpressions=false -DERRNO_FUNC -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-options.c -analyzer-checker=core -analyzer-checker=apiModeling.Errno -analyzer-checker=debug.ErrnoTest -analyzer-checker=alpha.unix.Errno -analyzer-config alpha.unix.Errno:AllowErrnoReadOutsideConditionExpressions=false -DERRNO_VAR 1. parser at end of file #0 0x0000ffff8662acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff86629100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8662b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8f5ae800 (linux-vdso.so.1+0x800) #4 0x0000ffff8e5819c8 clang::ento::MemRegion::getKind() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:172:0 #5 0x0000ffff8e5819c8 clang::ento::TypedValueRegion::classof(clang::ento::MemRegion const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:556:0 #6 0x0000ffff8e5819c8 llvm::isa_impl::doit(clang::ento::MemRegion const&) /usr/include/llvm/Support/Casting.h:64:0 #7 0x0000ffff8e5819c8 llvm::isa_impl_cl::doit(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:110:0 #8 0x0000ffff8e5819c8 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:137:0 #9 0x0000ffff8e5819c8 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:129:0 #10 0x0000ffff8e5819c8 llvm::CastIsPossible::isPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:257:0 #11 0x0000ffff8e5819c8 llvm::CastInfo::doCastIfPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:493:0 #12 0x0000ffff8e5819c8 decltype(auto) llvm::dyn_cast(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:663:0 #13 0x0000ffff8e5819c8 (anonymous namespace)::RegionStoreManager::bind((anonymous namespace)::RegionBindingsRef const&, clang::ento::Loc, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:2368:0 #14 0x0000ffff8e581edc asImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:258:62 #15 0x0000ffff8e581edc asStore /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:225:23 #16 0x0000ffff8e581edc (anonymous namespace)::RegionStoreManager::Bind(void const*, clang::ento::Loc, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:443:0 #17 0x0000ffff8e53bf08 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #18 0x0000ffff8e53bf08 clang::ento::ProgramState::bindLoc(clang::ento::Loc, clang::ento::SVal, clang::LocationContext const*, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:120:0 #19 0x0000ffff8e618338 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #20 0x0000ffff8e618338 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #21 0x0000ffff8e618338 clang::ento::errno_modeling::setErrnoValue(llvm::IntrusiveRefCntPtr, clang::ento::CheckerContext&, unsigned long, clang::ento::errno_modeling::ErrnoCheckState) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:240:0 #22 0x0000ffff8e619cec llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #23 0x0000ffff8e619cec llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffff8e619cec checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:149:0 #25 0x0000ffff8e619cec void clang::ento::check::BeginFunction::_checkBeginFunction<(anonymous namespace)::ErrnoModeling>(void*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:244:0 #26 0x0000ffff8e4c7808 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #27 0x0000ffff8e4c7808 clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:441:0 #28 0x0000ffff8e50cdf4 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #29 0x0000ffff8e50cdf4 clang::ento::ExprEngine::processBeginOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::BlockEdge const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2884:1 #30 0x0000ffff8e50cdf4 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:124:0 #31 0x0000ffff8e7d6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #32 0x0000ffff8e7d6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #33 0x0000ffff8e7d6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #34 0x0000ffff8e7d6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #35 0x0000ffff8e7d6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #36 0x0000ffff8e7d7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #37 0x0000ffff8e7d7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x0000ffff8e7d7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #39 0x0000ffff8e7dc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x0000ffff8e7dc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x0000ffff8e7dc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x0000ffff8e7dc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x0000ffff8e7dc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x0000ffff8cc32058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #45 0x0000ffff8cc32058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x0000ffff8cc32058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #47 0x0000ffff8cc32058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x0000ffff8e2f7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #49 0x0000ffff8e2af104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #50 0x0000ffff8e2af104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #51 0x0000ffff8e2af104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #52 0x0000ffff8e33551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #53 0x0000aaaae9a259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x0000aaaae9a294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x0000aaaae9a2aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x0000aaaae9a21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x0000ffff8588098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #58 0x0000ffff85880a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #59 0x0000aaaae9a220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/errno-options.c.script: line 2: 2537386 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-options.c -analyzer-checker=core -analyzer-checker=apiModeling.Errno -analyzer-checker=debug.ErrnoTest -analyzer-checker=alpha.unix.Errno -analyzer-config alpha.unix.Errno:AllowErrnoReadOutsideConditionExpressions=false -DERRNO_VAR -- ******************** Testing: 0 FAIL: Clang :: Analysis/errno-stdlibraryfunctions-notes.c (706 of 18966) ******************** TEST 'Clang :: Analysis/errno-stdlibraryfunctions-notes.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-output text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-stdlibraryfunctions-notes.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=apiModeling.Errno -analyzer-checker=alpha.unix.Errno -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-output text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-stdlibraryfunctions-notes.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=apiModeling.Errno -analyzer-checker=alpha.unix.Errno -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true 1. parser at end of file #0 0x0000ffff85f5acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff85f59100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff85f5b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8eed5800 (linux-vdso.so.1+0x800) #4 0x0000ffff8deb19c8 clang::ento::MemRegion::getKind() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:172:0 #5 0x0000ffff8deb19c8 clang::ento::TypedValueRegion::classof(clang::ento::MemRegion const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:556:0 #6 0x0000ffff8deb19c8 llvm::isa_impl::doit(clang::ento::MemRegion const&) /usr/include/llvm/Support/Casting.h:64:0 #7 0x0000ffff8deb19c8 llvm::isa_impl_cl::doit(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:110:0 #8 0x0000ffff8deb19c8 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:137:0 #9 0x0000ffff8deb19c8 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:129:0 #10 0x0000ffff8deb19c8 llvm::CastIsPossible::isPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:257:0 #11 0x0000ffff8deb19c8 llvm::CastInfo::doCastIfPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:493:0 #12 0x0000ffff8deb19c8 decltype(auto) llvm::dyn_cast(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:663:0 #13 0x0000ffff8deb19c8 (anonymous namespace)::RegionStoreManager::bind((anonymous namespace)::RegionBindingsRef const&, clang::ento::Loc, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:2368:0 #14 0x0000ffff8deb1edc asImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:258:62 #15 0x0000ffff8deb1edc asStore /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:225:23 #16 0x0000ffff8deb1edc (anonymous namespace)::RegionStoreManager::Bind(void const*, clang::ento::Loc, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:443:0 #17 0x0000ffff8de6bf08 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #18 0x0000ffff8de6bf08 clang::ento::ProgramState::bindLoc(clang::ento::Loc, clang::ento::SVal, clang::LocationContext const*, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:120:0 #19 0x0000ffff8df48338 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #20 0x0000ffff8df48338 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #21 0x0000ffff8df48338 clang::ento::errno_modeling::setErrnoValue(llvm::IntrusiveRefCntPtr, clang::ento::CheckerContext&, unsigned long, clang::ento::errno_modeling::ErrnoCheckState) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:240:0 #22 0x0000ffff8df49cec llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #23 0x0000ffff8df49cec llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffff8df49cec checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:149:0 #25 0x0000ffff8df49cec void clang::ento::check::BeginFunction::_checkBeginFunction<(anonymous namespace)::ErrnoModeling>(void*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:244:0 #26 0x0000ffff8ddf7808 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #27 0x0000ffff8ddf7808 clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:441:0 #28 0x0000ffff8de3cdf4 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #29 0x0000ffff8de3cdf4 clang::ento::ExprEngine::processBeginOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::BlockEdge const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2884:1 #30 0x0000ffff8de3cdf4 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:124:0 #31 0x0000ffff8e106bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #32 0x0000ffff8e106bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #33 0x0000ffff8e106bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #34 0x0000ffff8e106bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #35 0x0000ffff8e106bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #36 0x0000ffff8e107b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #37 0x0000ffff8e107b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x0000ffff8e107b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #39 0x0000ffff8e10c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x0000ffff8e10c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x0000ffff8e10c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x0000ffff8e10c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x0000ffff8e10c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x0000ffff8c562058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #45 0x0000ffff8c562058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x0000ffff8c562058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #47 0x0000ffff8c562058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x0000ffff8dc27450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #49 0x0000ffff8dbdf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #50 0x0000ffff8dbdf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #51 0x0000ffff8dbdf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #52 0x0000ffff8dc6551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #53 0x0000aaaabd3e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x0000aaaabd3e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x0000aaaabd3eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x0000aaaabd3e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x0000ffff851b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #58 0x0000ffff851b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #59 0x0000aaaabd3e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/errno-stdlibraryfunctions-notes.c.script: line 1: 2537389 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-output text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-stdlibraryfunctions-notes.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=apiModeling.Errno -analyzer-checker=alpha.unix.Errno -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -- ******************** Testing: 0 FAIL: Clang :: Analysis/errno-stdlibraryfunctions.c (707 of 18966) ******************** TEST 'Clang :: Analysis/errno-stdlibraryfunctions.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-stdlibraryfunctions.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=apiModeling.Errno -analyzer-checker=alpha.unix.Errno -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-stdlibraryfunctions.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=apiModeling.Errno -analyzer-checker=alpha.unix.Errno -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true 1. parser at end of file #0 0x0000ffff880bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff880b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff880bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff91036800 (linux-vdso.so.1+0x800) #4 0x0000ffff900119c8 clang::ento::MemRegion::getKind() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:172:0 #5 0x0000ffff900119c8 clang::ento::TypedValueRegion::classof(clang::ento::MemRegion const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:556:0 #6 0x0000ffff900119c8 llvm::isa_impl::doit(clang::ento::MemRegion const&) /usr/include/llvm/Support/Casting.h:64:0 #7 0x0000ffff900119c8 llvm::isa_impl_cl::doit(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:110:0 #8 0x0000ffff900119c8 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:137:0 #9 0x0000ffff900119c8 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:129:0 #10 0x0000ffff900119c8 llvm::CastIsPossible::isPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:257:0 #11 0x0000ffff900119c8 llvm::CastInfo::doCastIfPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:493:0 #12 0x0000ffff900119c8 decltype(auto) llvm::dyn_cast(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:663:0 #13 0x0000ffff900119c8 (anonymous namespace)::RegionStoreManager::bind((anonymous namespace)::RegionBindingsRef const&, clang::ento::Loc, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:2368:0 #14 0x0000ffff90011edc asImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:258:62 #15 0x0000ffff90011edc asStore /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:225:23 #16 0x0000ffff90011edc (anonymous namespace)::RegionStoreManager::Bind(void const*, clang::ento::Loc, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:443:0 #17 0x0000ffff8ffcbf08 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #18 0x0000ffff8ffcbf08 clang::ento::ProgramState::bindLoc(clang::ento::Loc, clang::ento::SVal, clang::LocationContext const*, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:120:0 #19 0x0000ffff900a8338 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #20 0x0000ffff900a8338 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #21 0x0000ffff900a8338 clang::ento::errno_modeling::setErrnoValue(llvm::IntrusiveRefCntPtr, clang::ento::CheckerContext&, unsigned long, clang::ento::errno_modeling::ErrnoCheckState) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:240:0 #22 0x0000ffff900a9cec llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #23 0x0000ffff900a9cec llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffff900a9cec checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:149:0 #25 0x0000ffff900a9cec void clang::ento::check::BeginFunction::_checkBeginFunction<(anonymous namespace)::ErrnoModeling>(void*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:244:0 #26 0x0000ffff8ff57808 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #27 0x0000ffff8ff57808 clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:441:0 #28 0x0000ffff8ff9cdf4 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #29 0x0000ffff8ff9cdf4 clang::ento::ExprEngine::processBeginOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::BlockEdge const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2884:1 #30 0x0000ffff8ff9cdf4 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:124:0 #31 0x0000ffff90266bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #32 0x0000ffff90266bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #33 0x0000ffff90266bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #34 0x0000ffff90266bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #35 0x0000ffff90266bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #36 0x0000ffff90267b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #37 0x0000ffff90267b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x0000ffff90267b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #39 0x0000ffff9026c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x0000ffff9026c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x0000ffff9026c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x0000ffff9026c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x0000ffff9026c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x0000ffff8e6c2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #45 0x0000ffff8e6c2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x0000ffff8e6c2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #47 0x0000ffff8e6c2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x0000ffff8fd87450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #49 0x0000ffff8fd3f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #50 0x0000ffff8fd3f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #51 0x0000ffff8fd3f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #52 0x0000ffff8fdc551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #53 0x0000aaaadfc259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x0000aaaadfc294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x0000aaaadfc2aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x0000aaaadfc21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x0000ffff8731098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #58 0x0000ffff87310a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #59 0x0000aaaadfc220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/errno-stdlibraryfunctions.c.script: line 1: 2537395 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-stdlibraryfunctions.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=apiModeling.Errno -analyzer-checker=alpha.unix.Errno -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -- ******************** Testing: 0 FAIL: Clang :: Analysis/errno.c (709 of 18966) ******************** TEST 'Clang :: Analysis/errno.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno.c -analyzer-checker=core -analyzer-checker=apiModeling.Errno -analyzer-checker=debug.ExprInspection -analyzer-checker=debug.ErrnoTest -analyzer-checker=alpha.unix.Errno -DERRNO_VAR : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno.c -analyzer-checker=core -analyzer-checker=apiModeling.Errno -analyzer-checker=debug.ExprInspection -analyzer-checker=debug.ErrnoTest -analyzer-checker=alpha.unix.Errno -DERRNO_FUNC -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno.c -analyzer-checker=core -analyzer-checker=apiModeling.Errno -analyzer-checker=debug.ExprInspection -analyzer-checker=debug.ErrnoTest -analyzer-checker=alpha.unix.Errno -DERRNO_VAR 1. parser at end of file #0 0x0000ffffb310acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb3109100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb310b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbc086800 (linux-vdso.so.1+0x800) #4 0x0000ffffbb0619c8 clang::ento::MemRegion::getKind() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:172:0 #5 0x0000ffffbb0619c8 clang::ento::TypedValueRegion::classof(clang::ento::MemRegion const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:556:0 #6 0x0000ffffbb0619c8 llvm::isa_impl::doit(clang::ento::MemRegion const&) /usr/include/llvm/Support/Casting.h:64:0 #7 0x0000ffffbb0619c8 llvm::isa_impl_cl::doit(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:110:0 #8 0x0000ffffbb0619c8 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:137:0 #9 0x0000ffffbb0619c8 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:129:0 #10 0x0000ffffbb0619c8 llvm::CastIsPossible::isPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:257:0 #11 0x0000ffffbb0619c8 llvm::CastInfo::doCastIfPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:493:0 #12 0x0000ffffbb0619c8 decltype(auto) llvm::dyn_cast(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:663:0 #13 0x0000ffffbb0619c8 (anonymous namespace)::RegionStoreManager::bind((anonymous namespace)::RegionBindingsRef const&, clang::ento::Loc, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:2368:0 #14 0x0000ffffbb061edc asImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:258:62 #15 0x0000ffffbb061edc asStore /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:225:23 #16 0x0000ffffbb061edc (anonymous namespace)::RegionStoreManager::Bind(void const*, clang::ento::Loc, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:443:0 #17 0x0000ffffbb01bf08 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #18 0x0000ffffbb01bf08 clang::ento::ProgramState::bindLoc(clang::ento::Loc, clang::ento::SVal, clang::LocationContext const*, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:120:0 #19 0x0000ffffbb0f8338 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #20 0x0000ffffbb0f8338 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #21 0x0000ffffbb0f8338 clang::ento::errno_modeling::setErrnoValue(llvm::IntrusiveRefCntPtr, clang::ento::CheckerContext&, unsigned long, clang::ento::errno_modeling::ErrnoCheckState) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:240:0 #22 0x0000ffffbb0f9cec llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #23 0x0000ffffbb0f9cec llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffffbb0f9cec checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:149:0 #25 0x0000ffffbb0f9cec void clang::ento::check::BeginFunction::_checkBeginFunction<(anonymous namespace)::ErrnoModeling>(void*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:244:0 #26 0x0000ffffbafa7808 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #27 0x0000ffffbafa7808 clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:441:0 #28 0x0000ffffbafecdf4 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #29 0x0000ffffbafecdf4 clang::ento::ExprEngine::processBeginOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::BlockEdge const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2884:1 #30 0x0000ffffbafecdf4 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:124:0 #31 0x0000ffffbb2b6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #32 0x0000ffffbb2b6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #33 0x0000ffffbb2b6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #34 0x0000ffffbb2b6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #35 0x0000ffffbb2b6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #36 0x0000ffffbb2b7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #37 0x0000ffffbb2b7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x0000ffffbb2b7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #39 0x0000ffffbb2bc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x0000ffffbb2bc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x0000ffffbb2bc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x0000ffffbb2bc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x0000ffffbb2bc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x0000ffffb9712058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #45 0x0000ffffb9712058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x0000ffffb9712058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #47 0x0000ffffb9712058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x0000ffffbadd7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #49 0x0000ffffbad8f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #50 0x0000ffffbad8f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #51 0x0000ffffbad8f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #52 0x0000ffffbae1551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #53 0x0000aaaad02c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x0000aaaad02c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x0000aaaad02caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x0000aaaad02c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x0000ffffb236098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #58 0x0000ffffb2360a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #59 0x0000aaaad02c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/errno.c.script: line 2: 2537405 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno.c -analyzer-checker=core -analyzer-checker=apiModeling.Errno -analyzer-checker=debug.ExprInspection -analyzer-checker=debug.ErrnoTest -analyzer-checker=alpha.unix.Errno -DERRNO_VAR -- ******************** Testing: 0 FAIL: Clang :: Analysis/eval-predefined-exprs.cpp (711 of 18966) ******************** TEST 'Clang :: Analysis/eval-predefined-exprs.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/eval-predefined-exprs.cpp : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyzer-checker=core,debug.ExprInspection -verify -triple i386-pc-win32 -fms-compatibility -fms-extensions -DANALYZER_MS /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/eval-predefined-exprs.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/eval-predefined-exprs.cpp 1. parser at end of file #0 0x0000ffffad1eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffad1e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffad1eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb6168800 (linux-vdso.so.1+0x800) #4 0x0000ffffb54629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb54629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb54629e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb54629e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb54629e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb54629e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb54629e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb54629e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb5110048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb5110048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb5110048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb5110048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb5110f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb5110f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb5110f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb5110f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb5123b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb5123b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb5123b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb5125060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb5125060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb5125060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb5124530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb5124530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb5124530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb5130b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb5130b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb5130b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb513a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb513a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb513a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb509eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb509eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb509eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb509eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb509efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb509efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb509efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb5072620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffb5072620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffb5072620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffb50aef2c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffb50aef2c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffb50aef2c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffb50cce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffb50cce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffb50cce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffb5396bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffb5396bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffb5396bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffb5396bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffb5396bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffb5397b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffb5397b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffb5397b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffb539c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb539c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb539c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffb539c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffb539c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffb37f2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffb37f2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffb37f2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffb37f2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffb4eb7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffb4e6f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffb4e6f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffb4e6f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffb4ef551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaaac8459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaaac8494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaaac84aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaaac841fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffac44098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffac440a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaaac8420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/eval-predefined-exprs.cpp.script: line 2: 2537414 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/eval-predefined-exprs.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/exceptions.mm (718 of 18966) ******************** TEST 'Clang :: Analysis/exceptions.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fexceptions -fobjc-exceptions -fcxx-exceptions -analyzer-checker=core,unix.Malloc,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exceptions.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fexceptions -fobjc-exceptions -fcxx-exceptions -analyzer-checker=core,unix.Malloc,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exceptions.mm 1. parser at end of file 2. While analyzing stack: #0 Calling testCXX() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exceptions.mm:34:15: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exceptions.mm:34:15: Error evaluating statement #0 0x0000ffffb2f6acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb2f69100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb2f6b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbbee9800 (linux-vdso.so.1+0x800) #4 0x0000ffffbb1c9250 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbb1c9250 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbb1c9250 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbb1c9250 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbb1c9250 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbb1c9250 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbb1c9250 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbb1c9250 (anonymous namespace)::MallocChecker::evalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:3069:0 #12 0x0000ffffbafd7760 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffffbafd7760 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffffbafd7760 llvm::IntrusiveRefCntPtr clang::ento::eval::Assume::_evalAssume<(anonymous namespace)::MallocChecker>(void*, llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:463:74 #15 0x0000ffffbadeb758 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffffbadeb758 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffffbadeb758 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffffbadeb758 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffffbaeb0be4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffbaeb0be4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffbaeb0be4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffffbaeb0be4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffffbaeba414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffffbaeba414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffbaeba414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #26 0x0000ffffbae1ebd8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbae1ebd8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbae1ebd8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffffbae1ebd8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffffbb30c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffbb30c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffbb30c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #33 0x0000ffffbafe3840 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffffbafe3840 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffffbafe3840 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffffbafe3840 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffffbafe3840 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffffbafe3840 (anonymous namespace)::MallocChecker::ProcessZeroAllocCheck(clang::ento::CallEvent const&, unsigned int, llvm::IntrusiveRefCntPtr, std::optional) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1529:0 #39 0x0000ffffbafe3c90 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffffbafe3c90 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffffbafe3c90 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #42 0x0000ffffbaff0180 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffffbaff0180 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffffbae089a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffffbae089a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffbae089a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffffbae089a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffffbae089a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffffbae68c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffffbae68c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffffbae68c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffffbae68c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffffbae68c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffffbae68c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffffbae69514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffffbae4b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffffbae4b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffffbae4c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffffbae4c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffffbae4c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffffbae4cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffffbae4cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffffbae4cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffffbae4cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffffbae4cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #66 0x0000ffffbb116bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffffbb116bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffffbb116bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffffbb116bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffffbb116bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffffbb117b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #72 0x0000ffffbb117b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffffbb117b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffffbb11c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffffbb11c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffffbb11c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffffbb11c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffffbb11c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffffb9572058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #80 0x0000ffffb9572058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffffb9572058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #82 0x0000ffffb9572058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffffbac37450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffffbabef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffffbabef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffffbabef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffffbac7551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaadb6859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaadb6894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaadb68aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaadb681fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffffb21c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffffb21c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaadb6820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/exceptions.mm.script: line 1: 2537421 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fexceptions -fobjc-exceptions -fcxx-exceptions -analyzer-checker=core,unix.Malloc,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exceptions.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/explain-svals.c (725 of 18966) ******************** TEST 'Clang :: Analysis/explain-svals.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/explain-svals.c -analyzer-checker=core.builtin -analyzer-checker=debug.ExprInspection -analyzer-checker=unix.cstring -analyzer-config display-checker-name=false -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/explain-svals.c -analyzer-checker=core.builtin -analyzer-checker=debug.ExprInspection -analyzer-checker=unix.cstring -analyzer-config display-checker-name=false 1. parser at end of file 2. While analyzing stack: #0 Calling test_1 #0 0x0000ffff82feacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff82fe9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff82feb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8bf6e800 (linux-vdso.so.1+0x800) #4 0x0000ffff8af0c134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8af0c134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8af0c134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8af0c134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff8af0c134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff8af0c134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff8aeb748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff8aeb748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff8aeb748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff8aee2e5c llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #14 0x0000ffff8aee2e5c clang::ento::ExprEngine::removeDeadOnEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:187:1 #15 0x0000ffff8aebc4b8 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #16 0x0000ffff8aebc4b8 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #17 0x0000ffff8aebc4b8 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #18 0x0000ffff8aebc4b8 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2951:0 #19 0x0000ffff8aebc948 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #20 0x0000ffff8aecc974 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #21 0x0000ffff8aeccb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #22 0x0000ffff8aeccb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #23 0x0000ffff8aeccb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #24 0x0000ffff8aeccb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #25 0x0000ffff8aeccb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #26 0x0000ffff8b196bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8b196bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8b196bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #29 0x0000ffff8b196bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #30 0x0000ffff8b196bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #31 0x0000ffff8b197b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #32 0x0000ffff8b197b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x0000ffff8b197b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #34 0x0000ffff8b19c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x0000ffff8b19c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x0000ffff8b19c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x0000ffff8b19c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x0000ffff8b19c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x0000ffff895f2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #40 0x0000ffff895f2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x0000ffff895f2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #42 0x0000ffff895f2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x0000ffff8acb7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #44 0x0000ffff8ac6f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #45 0x0000ffff8ac6f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #46 0x0000ffff8ac6f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #47 0x0000ffff8acf551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #48 0x0000aaaab6b959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x0000aaaab6b994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x0000aaaab6b9aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x0000aaaab6b91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x0000ffff8224098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #53 0x0000ffff82240a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #54 0x0000aaaab6b920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/explain-svals.c.script: line 1: 2537439 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/explain-svals.c -analyzer-checker=core.builtin -analyzer-checker=debug.ExprInspection -analyzer-checker=unix.cstring -analyzer-config display-checker-name=false -- ******************** Testing: 0 FAIL: Clang :: Analysis/exercise-ps.c (728 of 18966) ******************** TEST 'Clang :: Analysis/exercise-ps.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exercise-ps.c -verify -Wno-error=implicit-function-declaration -analyzer-checker=core -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exercise-ps.c -verify -Wno-error=implicit-function-declaration -analyzer-checker=core -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=true 1. parser at end of file 2. While analyzing stack: #0 Calling f1 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exercise-ps.c:9:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exercise-ps.c:9:10: Error evaluating statement #0 0x0000ffff78b8acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff78b89100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff78b8b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff81b0b800 (linux-vdso.so.1+0x800) #4 0x0000ffff80e029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff80e029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff80e029e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff80e029e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff80e029e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff80e029e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff80e029e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff80e029e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff80ab0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff80ab0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff80ab0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff80ab0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff80ab0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff80ab0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff80ab0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff80ab0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff80ac3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff80ac3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff80ac3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff80ac5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff80ac5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff80ac5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff80ac4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff80ac4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff80ac4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff80ad0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff80ad0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff80ad0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff80ada414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff80ada414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff80ada414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff80a3eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff80a3eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff80a3eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff80a3eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff80f2c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff80f2c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff80f2c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff80b5e270 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff80b5e270 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff80b5e270 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffff80b5e270 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffff80a28e38 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffff80a51640 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffff80a51640 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffff80a5187c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffff80a5187c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffff80a5187c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff80a5187c clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffff80a61540 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffff80a61540 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffff80a61540 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffff80a6ac54 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffff80a6ac54 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffff80a6ac54 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffff80a6c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #60 0x0000ffff80a6c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #61 0x0000ffff80a6c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #62 0x0000ffff80a6cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffff80a6cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffff80a6cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffff80a6cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffff80a6cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #67 0x0000ffff80d36bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffff80d36bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffff80d36bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffff80d36bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffff80d36bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffff80d37b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #73 0x0000ffff80d37b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffff80d37b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffff80d3c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffff80d3c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffff80d3c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffff80d3c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffff80d3c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffff7f192058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #81 0x0000ffff7f192058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffff7f192058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #83 0x0000ffff7f192058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffff80857450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffff8080f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffff8080f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffff8080f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffff8089551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaabd0f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaabd0f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaabd0faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaabd0f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffff77de098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffff77de0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaabd0f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/exercise-ps.c.script: line 1: 2537437 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exercise-ps.c -verify -Wno-error=implicit-function-declaration -analyzer-checker=core -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=true -- ******************** Testing: 0 FAIL: Clang :: Analysis/explain-svals.m (731 of 18966) ******************** TEST 'Clang :: Analysis/explain-svals.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -triple i386-apple-darwin10 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/explain-svals.m -analyzer-checker=core.builtin -analyzer-checker=debug.ExprInspection -analyzer-config display-checker-name=false -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -triple i386-apple-darwin10 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/explain-svals.m -analyzer-checker=core.builtin -analyzer-checker=debug.ExprInspection -analyzer-config display-checker-name=false 1. parser at end of file 2. While analyzing stack: #0 Calling test_3 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/explain-svals.m:59:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/explain-svals.m:59:3: Error evaluating statement #0 0x0000ffff9d80acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9d809100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9d80b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa6781800 (linux-vdso.so.1+0x800) #4 0x0000ffffa5a829e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa5a829e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa5a829e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa5a829e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa5a829e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa5a829e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa5a829e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa5a829e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa5730048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa5730048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa5730048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa5730048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa5730f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa5730f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa5730f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa5730f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa5743b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa5743b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa5743b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa5745060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa5745060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa5745060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa5744530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa5744530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa5744530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa5750b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa5750b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa5750b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa575a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa575a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa575a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa56beaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa56beaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa56beaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa56beaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa5bac8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa5bac8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa5bac8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa5720afc std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffffa5720afc std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffffa5720afc std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffffa5720afc std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffffa5720afc std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffffa5720afc clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #48 0x0000ffffa56eae08 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #49 0x0000ffffa56eae08 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #50 0x0000ffffa56ec2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffffa56ec5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffffa56ec7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffffa56ecb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa56ecb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa56ecb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa56ecb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa56ecb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffa59b6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa59b6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa59b6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa59b6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa59b6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa59b7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffa59b7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa59b7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa59bc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa59bc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa59bc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa59bc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa59bc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa3e12058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffa3e12058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa3e12058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffa3e12058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa54d7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa548f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa548f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa548f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa551551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaacfd459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaacfd494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaacfd4aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaacfd41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9ca6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff9ca60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaacfd420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/explain-svals.m.script: line 1: 2537465 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -triple i386-apple-darwin10 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/explain-svals.m -analyzer-checker=core.builtin -analyzer-checker=debug.ExprInspection -analyzer-config display-checker-name=false -- ******************** Testing: 0 FAIL: Clang :: Analysis/explain-svals.cpp (732 of 18966) ******************** TEST 'Clang :: Analysis/explain-svals.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/explain-svals.cpp -analyzer-checker=core.builtin -analyzer-checker=debug.ExprInspection -analyzer-checker=unix.cstring -analyzer-config display-checker-name=false -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/explain-svals.cpp -analyzer-checker=core.builtin -analyzer-checker=debug.ExprInspection -analyzer-checker=unix.cstring -analyzer-config display-checker-name=false 1. parser at end of file #0 0x0000ffff92edacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff92ed9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff92edb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9be5d800 (linux-vdso.so.1+0x800) #4 0x0000ffff9b1529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9b1529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9b1529e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9b1529e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9b1529e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9b1529e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9b1529e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9b1529e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9ae00048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9ae00048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9ae00048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9ae00048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9ae00f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9ae00f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9ae00f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9ae00f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9ae13b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9ae13b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9ae13b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9ae15060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9ae15060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9ae15060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9ae14530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9ae14530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9ae14530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9ae20b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9ae20b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9ae20b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9ae2a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9ae2a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9ae2a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9ad8eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9ad8eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9ad8eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9ad8eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9ad8efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9ad8efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9ad8efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff9ad62620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff9ad62620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff9ad62620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff9ad9ef2c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff9ad9ef2c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff9ad9ef2c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff9adbce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff9adbce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff9adbce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff9b086bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff9b086bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff9b086bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff9b086bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff9b086bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff9b087b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff9b087b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff9b087b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff9b08c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff9b08c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff9b08c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff9b08c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff9b08c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff994e2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff994e2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff994e2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff994e2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff9aba7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff9ab5f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff9ab5f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff9ab5f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff9abe551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaae92a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaae92a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaae92aaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaae92a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff9213098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff92130a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaae92a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/explain-svals.cpp.script: line 1: 2537456 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/explain-svals.cpp -analyzer-checker=core.builtin -analyzer-checker=debug.ExprInspection -analyzer-checker=unix.cstring -analyzer-config display-checker-name=false -- ******************** Testing: 0 FAIL: Clang :: Analysis/exploded-graph-rewriter/dynamic_types.cpp (733 of 18966) ******************** TEST 'Clang :: Analysis/exploded-graph-rewriter/dynamic_types.cpp' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -triple x86_64-unknown-linux-gnu -analyzer-checker=core -analyzer-dump-egraph=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploded-graph-rewriter/Output/dynamic_types.cpp.tmp.dot /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/dynamic_types.cpp : 'RUN: at line 5'; '/usr/bin/python3.11' /builddir/build/BUILD/clang-17.0.6.src/utils/analyzer/exploded-graph-rewriter.py --dump-dot-only /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploded-graph-rewriter/Output/dynamic_types.cpp.tmp.dot | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/dynamic_types.cpp -- Exit Code: -11 Command Output (stdout): -- $ ":" "RUN: at line 2" $ "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang" "-cc1" "-internal-isystem" "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include" "-nostdsysteminc" "-analyze" "-triple" "x86_64-unknown-linux-gnu" "-analyzer-checker=core" "-analyzer-dump-egraph=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploded-graph-rewriter/Output/dynamic_types.cpp.tmp.dot" "/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/dynamic_types.cpp" # command stderr: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -triple x86_64-unknown-linux-gnu -analyzer-checker=core -analyzer-dump-egraph=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploded-graph-rewriter/Output/dynamic_types.cpp.tmp.dot /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/dynamic_types.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/dynamic_types.cpp:16:3: Error evaluating New Allocator Call #0 0x0000ffff8b54acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8b549100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8b54b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff944c6800 (linux-vdso.so.1+0x800) #4 0x0000ffff937c29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff937c29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff937c29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff937c29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff937c29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff937c29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff937c29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff937c29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff93470048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff93470048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff93470048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff93470048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff93470f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff93470f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff93470f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff93470f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff93483b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff93483b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff93483b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff93485060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff93485060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff93485060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff93484530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff93484530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff93484530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff93490b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff93490b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff93490b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9349a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9349a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9349a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff933feaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff933feaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff933feaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff933feaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff933fefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff933fefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff933fefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff93428f68 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff93428f68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff93428f68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff93428f68 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff93428f68 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff9342937c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff9342937c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff9342937c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff9342937c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff9342937c clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffff9342c5fc clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffff9342c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #54 0x0000ffff9342c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffff9342cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffff9342cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffff9342cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffff9342cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffff9342cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #60 0x0000ffff936f6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffff936f6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffff936f6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffff936f6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffff936f6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffff936f7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #66 0x0000ffff936f7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffff936f7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffff936fc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffff936fc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffff936fc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffff936fc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffff936fc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffff91b52058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #74 0x0000ffff91b52058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffff91b52058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #76 0x0000ffff91b52058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffff93217450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffff931cf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffff931cf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffff931cf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffff9325551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaad56259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaad56294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaad562aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaad5621fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffff8a7a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffff8a7a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaad56220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) error: command failed with exit status: -11 -- ******************** Testing: 0 FAIL: Clang :: Analysis/exploded-graph-rewriter/initializers_under_construction.cpp (734 of 18966) ******************** TEST 'Clang :: Analysis/exploded-graph-rewriter/initializers_under_construction.cpp' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -triple x86_64-unknown-linux-gnu -analyzer-checker=core -analyzer-dump-egraph=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploded-graph-rewriter/Output/initializers_under_construction.cpp.tmp.dot /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/initializers_under_construction.cpp : 'RUN: at line 5'; '/usr/bin/python3.11' /builddir/build/BUILD/clang-17.0.6.src/utils/analyzer/exploded-graph-rewriter.py --dump-dot-only /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploded-graph-rewriter/Output/initializers_under_construction.cpp.tmp.dot | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/initializers_under_construction.cpp -- Exit Code: -11 Command Output (stdout): -- $ ":" "RUN: at line 2" $ "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang" "-cc1" "-internal-isystem" "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include" "-nostdsysteminc" "-analyze" "-triple" "x86_64-unknown-linux-gnu" "-analyzer-checker=core" "-analyzer-dump-egraph=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploded-graph-rewriter/Output/initializers_under_construction.cpp.tmp.dot" "/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/initializers_under_construction.cpp" # command stderr: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -triple x86_64-unknown-linux-gnu -analyzer-checker=core -analyzer-dump-egraph=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploded-graph-rewriter/Output/initializers_under_construction.cpp.tmp.dot /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/initializers_under_construction.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling B::B() at line 20 #1 Calling test() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/initializers_under_construction.cpp:13:9: Error evaluating statement #0 0x0000ffffa859acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa8599100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa859b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb1513800 (linux-vdso.so.1+0x800) #4 0x0000ffffb0467188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb0467188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb0467188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb0467188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb0467188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb0467188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb0467188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb0467188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffffb047c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffb047c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffb047c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffb047c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffb047c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffb047c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffb047c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffb047c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffb047c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffffb047c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #22 0x0000ffffb047c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffffb047c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffffb047cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffb047cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffb047cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffb047cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffb047cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #29 0x0000ffffb0746bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffb0746bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffb0746bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffb0746bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffb0746bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffb0747b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #35 0x0000ffffb0747b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffb0747b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffb074c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffb074c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffb074c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffb074c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffb074c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffaeba2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #43 0x0000ffffaeba2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffaeba2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #45 0x0000ffffaeba2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffb0267450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffb021f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffb021f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffb021f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffb02a551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaac8cc59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaac8cc94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaac8ccaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaac8cc1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffffa77f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffffa77f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaac8cc20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) error: command failed with exit status: -11 -- ******************** Testing: 0 FAIL: Clang :: Analysis/exploded-graph-rewriter/objects_under_construction.cpp (736 of 18966) ******************** TEST 'Clang :: Analysis/exploded-graph-rewriter/objects_under_construction.cpp' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -std=c++14 -analyze -triple x86_64-unknown-linux-gnu -analyze-function "test()" -analyzer-checker=core -analyzer-dump-egraph=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploded-graph-rewriter/Output/objects_under_construction.cpp.tmp.dot /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/objects_under_construction.cpp : 'RUN: at line 6'; '/usr/bin/python3.11' /builddir/build/BUILD/clang-17.0.6.src/utils/analyzer/exploded-graph-rewriter.py --dump-dot-only /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploded-graph-rewriter/Output/objects_under_construction.cpp.tmp.dot | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/objects_under_construction.cpp -- Exit Code: -11 Command Output (stdout): -- $ ":" "RUN: at line 2" $ "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang" "-cc1" "-internal-isystem" "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include" "-nostdsysteminc" "-std=c++14" "-analyze" "-triple" "x86_64-unknown-linux-gnu" "-analyze-function" "test()" "-analyzer-checker=core" "-analyzer-dump-egraph=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploded-graph-rewriter/Output/objects_under_construction.cpp.tmp.dot" "/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/objects_under_construction.cpp" # command stderr: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -std=c++14 -analyze -triple x86_64-unknown-linux-gnu -analyze-function test() -analyzer-checker=core -analyzer-dump-egraph=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploded-graph-rewriter/Output/objects_under_construction.cpp.tmp.dot /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/objects_under_construction.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/objects_under_construction.cpp:44:9: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/objects_under_construction.cpp:44:9: Error evaluating statement #0 0x0000ffffa32cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa32c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa32cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffac24e800 (linux-vdso.so.1+0x800) #4 0x0000ffffab19da74 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffab19da74 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffab19da74 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffab19da74 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffab19da74 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffab19da74 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffab19da74 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffab19da74 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffffab19de64 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #13 0x0000ffffab19de64 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffffab19de64 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffffab19de64 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffffab19de64 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffffab19e544 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #18 0x0000ffffab19e544 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #19 0x0000ffffab19e544 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:463:0 #20 0x0000ffffab1a5dd0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #21 0x0000ffffab1a5dd0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #22 0x0000ffffab1a5dd0 clang::ento::ExprEngine::handleConstructionContext(clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::ento::NodeBuilderContext const*, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions&, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:753:0 #23 0x0000ffffab1a5dd0 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:665:0 #24 0x0000ffffab1ab22c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #25 0x0000ffffab1ab22c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #26 0x0000ffffab1ac2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #27 0x0000ffffab1ac5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #28 0x0000ffffab1ac6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #29 0x0000ffffab1ac9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #30 0x0000ffffab1acb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #31 0x0000ffffab1acb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #32 0x0000ffffab1acb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #33 0x0000ffffab1acb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #34 0x0000ffffab1acb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #35 0x0000ffffab476bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffab476bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffab476bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #38 0x0000ffffab476bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #39 0x0000ffffab476bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #40 0x0000ffffab477b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #41 0x0000ffffab477b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #42 0x0000ffffab477b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #43 0x0000ffffab47c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #44 0x0000ffffab47c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #45 0x0000ffffab47c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #46 0x0000ffffab47c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #47 0x0000ffffab47c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #48 0x0000ffffa98d2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #49 0x0000ffffa98d2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #50 0x0000ffffa98d2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #51 0x0000ffffa98d2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #52 0x0000ffffaaf97450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #53 0x0000ffffaaf4f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #54 0x0000ffffaaf4f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #55 0x0000ffffaaf4f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #56 0x0000ffffaafd551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #57 0x0000aaaab42959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #58 0x0000aaaab42994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #59 0x0000aaaab429aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #60 0x0000aaaab4291fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #61 0x0000ffffa252098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #62 0x0000ffffa2520a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #63 0x0000aaaab42920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) error: command failed with exit status: -11 -- ******************** Testing: 0 FAIL: Clang :: Analysis/exploration_order/prefer_unexplored.cpp (737 of 18966) ******************** TEST 'Clang :: Analysis/exploration_order/prefer_unexplored.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -analyzer-config exploration_strategy=unexplored_first -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploration_order/prefer_unexplored.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -analyzer-config exploration_strategy=unexplored_first_queue -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploration_order/prefer_unexplored.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -analyzer-config exploration_strategy=unexplored_first -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploration_order/prefer_unexplored.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling bar2() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploration_order/prefer_unexplored.cpp:37:11: Error evaluating branch #0 0x0000ffffa11bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa11b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa11bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaa135800 (linux-vdso.so.1+0x800) #4 0x0000ffffa94329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa94329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa94329e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa94329e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa94329e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa94329e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa94329e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa94329e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa90e0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa90e0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa90e0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa90e0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa90e0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa90e0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa90e0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa90e0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa90f3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa90f3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa90f3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa90f5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa90f5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa90f5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa90f4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa90f4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa90f4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa9100b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa9100b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa9100b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa910a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa910a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa910a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa906eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa906eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa906eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa906eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa955c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa955c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa955c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa9084c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffa9084c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffa9084c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffa9084c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffa9084c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffa9084c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffa9084c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffa9084c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffa9084c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffa9084c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffa9085200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffa909cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa909cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa909cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa909cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa909cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffa9366bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa9366bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa9366bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa9366bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa9366bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa9367b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffa9367b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa9367b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa936c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa936c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa936c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa936c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa936c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa77c2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffa77c2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa77c2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffa77c2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa8e87450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa8e3f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa8e3f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa8e3f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa8ec551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae78f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae78f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae78faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae78f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa041098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa0410a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae78f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploration_order/Output/prefer_unexplored.cpp.script: line 2: 2537564 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -analyzer-config exploration_strategy=unexplored_first -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploration_order/prefer_unexplored.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/exploration_order/noexprcrash.c (738 of 18966) ******************** TEST 'Clang :: Analysis/exploration_order/noexprcrash.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config exploration_strategy=unexplored_first /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploration_order/noexprcrash.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config exploration_strategy=dfs /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploration_order/noexprcrash.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config exploration_strategy=unexplored_first /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploration_order/noexprcrash.c 1. parser at end of file 2. While analyzing stack: #0 Calling c 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploration_order/noexprcrash.c:8:14: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploration_order/noexprcrash.c:8:14: Error evaluating statement #0 0x0000ffffa3afacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa3af9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa3afb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaca70800 (linux-vdso.so.1+0x800) #4 0x0000ffffabd729e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffabd729e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffabd729e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffabd729e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffabd729e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffabd729e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffabd729e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffabd729e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffaba20048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffaba20048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffaba20048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffaba20048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffaba20f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffaba20f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffaba20f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffaba20f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffaba33b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffaba33b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffaba33b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffaba35060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffaba35060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffaba35060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffaba34530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffaba34530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffaba34530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffaba40b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffaba40b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffaba40b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffaba4a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffaba4a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffaba4a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffab9aeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffab9aeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffab9aeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffab9aeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffabe9c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffabe9c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffabe9c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffabace270 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffabace270 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffabace270 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffffabace270 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffffab998e38 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffab9c1640 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffffab9c1640 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffffab9c187c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffffab9c187c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffffab9c187c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffab9c187c clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffffab9d1540 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffab9d1540 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffab9d1540 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffffab9dac54 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffffab9dac54 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffffab9dac54 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffffab9dc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #60 0x0000ffffab9dc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #61 0x0000ffffab9dc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #62 0x0000ffffab9dcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffffab9dcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffffab9dcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffffab9dcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffffab9dcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #67 0x0000ffffabca6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffffabca6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffffabca6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffffabca6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffffabca6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffffabca7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #73 0x0000ffffabca7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffffabca7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffffabcac130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffffabcac130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffffabcac130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffffabcac130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffffabcac130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffffaa102058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #81 0x0000ffffaa102058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffffaa102058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #83 0x0000ffffaa102058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffffab7c7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffffab77f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffffab77f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffffab77f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffffab80551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaadd9859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaadd9894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaadd98aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaadd981fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffffa2d5098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffffa2d50a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaadd9820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploration_order/Output/noexprcrash.c.script: line 2: 2537556 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config exploration_strategy=unexplored_first /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploration_order/noexprcrash.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/expr-inspection.c (740 of 18966) ******************** TEST 'Clang :: Analysis/expr-inspection.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection.c 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection.c -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection.c:31:11: error: CHECK: expected string not found in input // CHECK: "program_state": { ^ :1:1: note: scanning from here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ :17:126: note: possible intended match here #9 0x0000ffff89f7c134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection.c -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. check:31'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: Stack dump: check:31'0 ~~~~~~~~~~~~ 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection.c check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4: 1. parser at end of file check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: 2. While analyzing stack: check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #0 Calling foo check:31'0 ~~~~~~~~~~~~~~~~ . . . 12: #4 0x0000ffff89f7c134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 13: #5 0x0000ffff89f7c134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14: #6 0x0000ffff89f7c134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15: #7 0x0000ffff89f7c134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 16: #8 0x0000ffff89f7c134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 17: #9 0x0000ffff89f7c134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:31'1 ? possible intended match 18: #10 0x0000ffff89f2748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19: #11 0x0000ffff89f2748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 20: #12 0x0000ffff89f2748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 21: #13 0x0000ffff89f3c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 22: #14 0x0000ffff89f3c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/expr-inspection-printState-diseq-info.c (741 of 18966) ******************** TEST 'Clang :: Analysis/expr-inspection-printState-diseq-info.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-diseq-info.c 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-diseq-info.c -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-diseq-info.c:17:12: error: CHECK: expected string not found in input // CHECK: "disequality_info": [ ^ :1:1: note: scanning from here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ :6:17: note: possible intended match here #0 Calling test_disequality_info ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-diseq-info.c -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. check:17'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: Stack dump: check:17'0 ~~~~~~~~~~~~ 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-diseq-info.c check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4: 1. parser at end of file check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: 2. While analyzing stack: check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #0 Calling test_disequality_info check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:17'1 ? possible intended match 7: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-diseq-info.c:8:7: Error evaluating statement check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-diseq-info.c:8:7: Error evaluating statement check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9: #0 0x0000ffff7b39acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10: #1 0x0000ffff7b399100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11: #2 0x0000ffff7b39b388 (/usr/lib64/libLLVM-17.so+0x9bb388) check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/expr-inspection-printState-eq-classes.c (742 of 18966) ******************** TEST 'Clang :: Analysis/expr-inspection-printState-eq-classes.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-eq-classes.c 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-eq-classes.c -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-eq-classes.c:18:11: error: CHECK: expected string not found in input // CHECK: "equivalence_classes": [ ^ :1:1: note: scanning from here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ :6:17: note: possible intended match here #0 Calling test_equivalence_classes ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-eq-classes.c -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. check:18'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: Stack dump: check:18'0 ~~~~~~~~~~~~ 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-eq-classes.c check:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4: 1. parser at end of file check:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: 2. While analyzing stack: check:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #0 Calling test_equivalence_classes check:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:18'1 ? possible intended match 7: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-eq-classes.c:7:7: Error evaluating statement check:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-eq-classes.c:7:7: Error evaluating statement check:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9: #0 0x0000ffff83b9acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) check:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10: #1 0x0000ffff83b99100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) check:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11: #2 0x0000ffff83b9b388 (/usr/lib64/libLLVM-17.so+0x9bb388) check:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/expr-inspection.cpp (744 of 18966) ******************** TEST 'Clang :: Analysis/expr-inspection.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -analyzer-checker=debug.ExprInspection -analyzer-config support-symbolic-integer-casts=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection.cpp : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -analyzer-checker=debug.ExprInspection -analyzer-config support-symbolic-integer-casts=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -analyzer-checker=debug.ExprInspection -analyzer-config support-symbolic-integer-casts=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo(int, unsigned int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection.cpp:29:3: Error evaluating statement #0 0x0000ffffb27dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb27d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb27db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbb75a800 (linux-vdso.so.1+0x800) #4 0x0000ffffba7cbc2c llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffba7cbc2c llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffba7cbc2c llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffba7cbc2c llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffba7cbc2c llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffba7cbc2c clang::ento::ProgramStatePartialTrait>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffba7cbc2c get<(anonymous namespace)::DenotedSymbols> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffba7cbc2c (anonymous namespace)::ExprInspectionChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:406:0 #12 0x0000ffffba68cbd4 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffffba6a73b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffffba6a73b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffffba6a73b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffffba6a73b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffffba6a73b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffffba6a73b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffffba6a73b8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffffba6bc264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffffba6bc264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffffba6bc264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffffba6bc264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffffba6bc264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffffba6bc264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffffba6bc264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffffba6bc264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffffba6bc264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffffba6bc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #30 0x0000ffffba6bc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #31 0x0000ffffba6bcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffffba6bcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffffba6bcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffffba6bcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffffba6bcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffffba986bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffba986bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffba986bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffffba986bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffffba986bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffffba987b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffffba987b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffffba987b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffffba98c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffffba98c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffffba98c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffffba98c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffffba98c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffffb8de2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffffb8de2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffffb8de2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffffb8de2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffffba4a7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffffba45f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffffba45f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffffba45f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffffba4e551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaac02d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaac02d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaac02daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaac02d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffffb1a3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffffb1a30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaac02d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/expr-inspection.cpp.script: line 2: 2537614 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -analyzer-checker=debug.ExprInspection -analyzer-config support-symbolic-integer-casts=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/fields.c (745 of 18966) ******************** TEST 'Clang :: Analysis/fields.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fields.c -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fields.c -verify 1. parser at end of file 2. While analyzing stack: #0 Calling testBitfields 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fields.c:64:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fields.c:64:7: Error evaluating statement #0 0x0000ffff91d6acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff91d69100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff91d6b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9ace9800 (linux-vdso.so.1+0x800) #4 0x0000ffff99e323b8 llvm::ImutKeyValueInfo::isEqual(clang::ento::MemRegion const* const&, clang::ento::MemRegion const* const&) /usr/include/llvm/ADT/ImmutableMap.h:45:41 #5 0x0000ffff99e323b8 llvm::ImutAVLFactory>::remove_internal(clang::ento::MemRegion const* const&, llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:558:26 #6 0x0000ffff99e323b8 llvm::ImutAVLFactory>::remove(llvm::ImutAVLTree>*, clang::ento::MemRegion const* const&) /usr/include/llvm/ADT/ImmutableSet.h:403:0 #7 0x0000ffff99e323b8 llvm::ImmutableMap>::Factory::remove(llvm::ImmutableMap>, clang::ento::MemRegion const* const&) /usr/include/llvm/ADT/ImmutableMap.h:105:0 #8 0x0000ffff99e323b8 clang::ento::ProgramStatePartialTrait>, void>::Remove(llvm::ImmutableMap>, clang::ento::MemRegion const*, llvm::ImmutableMap>::Factory&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:175:0 #9 0x0000ffff99e323b8 remove<(anonymous namespace)::DestroyRetVal> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:669:0 #10 0x0000ffff99e323b8 llvm::IntrusiveRefCntPtr clang::ento::ProgramState::remove<(anonymous namespace)::DestroyRetVal>(clang::ento::ProgramStateTrait<(anonymous namespace)::DestroyRetVal>::key_type) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:854:0 #11 0x0000ffff99e4d284 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #12 0x0000ffff99e4d284 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #13 0x0000ffff99e4d284 checkRegionChanges /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp:690:0 #14 0x0000ffff99e4d284 llvm::IntrusiveRefCntPtr clang::ento::check::RegionChanges::_checkRegionChanges<(anonymous namespace)::PthreadLockChecker>(void*, llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:344:0 #15 0x0000ffff99beb4a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff99beb4a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff99beb4a4 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*)>::operator()(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff99beb4a4 clang::ento::CheckerManager::runCheckersForRegionChanges(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:608:0 #19 0x0000ffff99c7c6f0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x0000ffff99c7c6f0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x0000ffff99c7c6f0 clang::ento::ExprEngine::processRegionChanges(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:681:0 #22 0x0000ffff99c7c6f0 clang::ento::ProgramState::invalidateRegionsImpl(llvm::ArrayRef, clang::Expr const*, unsigned int, clang::LocationContext const*, bool, llvm::DenseSet>*, clang::ento::RegionAndSymbolInvalidationTraits*, clang::ento::CallEvent const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:215:0 #23 0x0000ffff99bffbf4 std::_Rb_tree, std::less, std::allocator>::~_Rb_tree() /usr/include/c++/12/bits/stl_tree.h:986:0 #24 0x0000ffff99bffbf4 std::set, std::allocator>::~set() /usr/include/c++/12/bits/stl_set.h:281:0 #25 0x0000ffff99bffbf4 llvm::SmallSet>::~SmallSet() /usr/include/llvm/ADT/SmallSet.h:135:0 #26 0x0000ffff99bffbf4 clang::ento::CallEvent::invalidateRegions(unsigned int, llvm::IntrusiveRefCntPtr) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:286:0 #27 0x0000ffff99c7fcb0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #28 0x0000ffff99c7fcb0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #29 0x0000ffff99c7fcb0 clang::ento::ExprEngine::conservativeEvalCall(clang::ento::CallEvent const&, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:833:0 #30 0x0000ffff99c806c4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x0000ffff99c806c4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x0000ffff99c806c4 clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1266:0 #33 0x0000ffff99c09458 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #34 0x0000ffff99c68bec llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #35 0x0000ffff99c68bec llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #36 0x0000ffff99c68bec clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #37 0x0000ffff99c68bec clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #38 0x0000ffff99c69514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #39 0x0000ffff99c4b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #40 0x0000ffff99c4b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #41 0x0000ffff99c4c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #42 0x0000ffff99c4c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #43 0x0000ffff99c4c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #44 0x0000ffff99c4cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffff99c4cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffff99c4cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #47 0x0000ffff99c4cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #48 0x0000ffff99c4cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #49 0x0000ffff99f16bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #50 0x0000ffff99f16bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #51 0x0000ffff99f16bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #52 0x0000ffff99f16bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #53 0x0000ffff99f16bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #54 0x0000ffff99f17b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #55 0x0000ffff99f17b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #56 0x0000ffff99f17b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #57 0x0000ffff99f1c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #58 0x0000ffff99f1c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #59 0x0000ffff99f1c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #60 0x0000ffff99f1c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #61 0x0000ffff99f1c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #62 0x0000ffff98372058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #63 0x0000ffff98372058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #64 0x0000ffff98372058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #65 0x0000ffff98372058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #66 0x0000ffff99a37450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #67 0x0000ffff999ef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #68 0x0000ffff999ef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #69 0x0000ffff999ef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #70 0x0000ffff99a7551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #71 0x0000aaaaacbe59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #72 0x0000aaaaacbe94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #73 0x0000aaaaacbeaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #74 0x0000aaaaacbe1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #75 0x0000ffff90fc098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #76 0x0000ffff90fc0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #77 0x0000aaaaacbe20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/fields.c.script: line 1: 2537613 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fields.c -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/find-binop-constraints.cpp (746 of 18966) ******************** TEST 'Clang :: Analysis/find-binop-constraints.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/find-binop-constraints.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/find-binop-constraints.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_deferred_contradiction(int, int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/find-binop-constraints.cpp:153:7: Error evaluating branch #0 0x0000ffff9e57acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9e579100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9e57b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa74f8800 (linux-vdso.so.1+0x800) #4 0x0000ffffa64a0444 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa64a0444 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa64a0444 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa64a0444 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa64a0444 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa64a0444 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa64a0444 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa64a0444 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2507:0 #12 0x0000ffffa64a0444 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2494:0 #13 0x0000ffffa64a0444 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2487:0 #14 0x0000ffffa64a0444 trackDisequality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2155:0 #15 0x0000ffffa64a0444 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2241:0 #16 0x0000ffffa64a0444 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #17 0x0000ffffa64a0444 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #18 0x0000ffffa64a0444 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:0 #19 0x0000ffffa64a0444 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:0 #20 0x0000ffffa64a0444 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #21 0x0000ffffa64a0444 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #22 0x0000ffffa64a1844 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #23 0x0000ffffa64a1844 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #24 0x0000ffffa64a1844 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffa64a1844 (anonymous namespace)::RangeConstraintManager::assumeSymGT(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3133:0 #26 0x0000ffffa64b3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa64b3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa64b3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #29 0x0000ffffa64b5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffa64b5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffa64b5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #32 0x0000ffffa64b4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffffa64b4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffffa64b4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #35 0x0000ffffa64c0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #36 0x0000ffffa64c0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #37 0x0000ffffa64c0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #38 0x0000ffffa64ca414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #39 0x0000ffffa64ca414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #40 0x0000ffffa64ca414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #41 0x0000ffffa642ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #42 0x0000ffffa642ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #43 0x0000ffffa642ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #44 0x0000ffffa642ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #45 0x0000ffffa691c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #46 0x0000ffffa691c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x0000ffffa691c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #48 0x0000ffffa6444c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #49 0x0000ffffa6444c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #50 0x0000ffffa6444c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #51 0x0000ffffa6444c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #52 0x0000ffffa6444c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #53 0x0000ffffa6444c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #54 0x0000ffffa6444c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #55 0x0000ffffa6444c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #56 0x0000ffffa6444c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #57 0x0000ffffa6444c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #58 0x0000ffffa6445200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #59 0x0000ffffa645cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa645cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa645cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffffa645cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffffa645cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #64 0x0000ffffa6726bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffffa6726bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffffa6726bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffffa6726bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffffa6726bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffffa6727b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #70 0x0000ffffa6727b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffffa6727b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffffa672c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffffa672c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffffa672c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffffa672c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffffa672c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffffa4b82058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #78 0x0000ffffa4b82058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffffa4b82058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #80 0x0000ffffa4b82058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffffa6247450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffffa61ff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffffa61ff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffffa61ff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffffa628551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaab8f059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaab8f094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaab8f0aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaab8f01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffff9d7d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff9d7d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaab8f020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/find-binop-constraints.cpp.script: line 1: 2537622 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/find-binop-constraints.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/flexible-array-member.cpp (748 of 18966) ******************** TEST 'Clang :: Analysis/flexible-array-member.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-member.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-member.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-member.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling operator new(std::size_t, void *) at line 38 #1 Calling flexibleArrayMember() #0 0x0000ffffa830acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa8309100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa830b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb1280800 (linux-vdso.so.1+0x800) #4 0x0000ffffb01d7188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb01d7188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb01d7188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb01d7188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb01d7188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb01d7188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb01d7188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb01d7188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffffb021f1dc clang::ento::ExprEngine::processCallExit(clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:372:0 #13 0x0000ffffb01ecb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #14 0x0000ffffb01ecb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #15 0x0000ffffb01ecb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #16 0x0000ffffb01ecb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #17 0x0000ffffb01ecb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #18 0x0000ffffb04b6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #19 0x0000ffffb04b6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #20 0x0000ffffb04b6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #21 0x0000ffffb04b6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #22 0x0000ffffb04b6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #23 0x0000ffffb04b7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #24 0x0000ffffb04b7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x0000ffffb04b7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #26 0x0000ffffb04bc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x0000ffffb04bc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x0000ffffb04bc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x0000ffffb04bc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x0000ffffb04bc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x0000ffffae912058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #32 0x0000ffffae912058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x0000ffffae912058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #34 0x0000ffffae912058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x0000ffffaffd7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #36 0x0000ffffaff8f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #37 0x0000ffffaff8f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #38 0x0000ffffaff8f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #39 0x0000ffffb001551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #40 0x0000aaaadada59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x0000aaaadada94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x0000aaaadadaaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x0000aaaadada1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x0000ffffa756098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #45 0x0000ffffa7560a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #46 0x0000aaaadada20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/flexible-array-member.cpp.script: line 2: 2537645 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-member.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/flexible-array-members.c (749 of 18966) ******************** TEST 'Clang :: Analysis/flexible-array-members.c' FAILED ******************** Script: -- : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-linux-gnu -analyzer-checker=core,unix,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c -verify -std=c90 -fstrict-flex-arrays=2 : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-linux-gnu -analyzer-checker=core,unix,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c -verify -std=c99 -fstrict-flex-arrays=2 : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-linux-gnu -analyzer-checker=core,unix,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c -verify -std=c11 -fstrict-flex-arrays=2 : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-linux-gnu -analyzer-checker=core,unix,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c -verify -std=c17 -fstrict-flex-arrays=2 : 'RUN: at line 12'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-linux-gnu -analyzer-checker=core,unix,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c -verify -std=c++98 -x c++ -fstrict-flex-arrays=2 : 'RUN: at line 14'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-linux-gnu -analyzer-checker=core,unix,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c -verify -std=c++03 -x c++ -fstrict-flex-arrays=2 : 'RUN: at line 16'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-linux-gnu -analyzer-checker=core,unix,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c -verify -std=c++11 -x c++ -fstrict-flex-arrays=2 : 'RUN: at line 18'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-linux-gnu -analyzer-checker=core,unix,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c -verify -std=c++14 -x c++ -fstrict-flex-arrays=2 : 'RUN: at line 20'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-linux-gnu -analyzer-checker=core,unix,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c -verify -std=c++17 -x c++ -fstrict-flex-arrays=2 : 'RUN: at line 24'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-linux-gnu -analyzer-checker=core,unix,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c -verify -std=c17 -DSINGLE_ELEMENT_FAMS : 'RUN: at line 26'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-linux-gnu -analyzer-checker=core,unix,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c -verify -std=c++17 -x c++ -DSINGLE_ELEMENT_FAMS -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-linux-gnu -analyzer-checker=core,unix,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c -verify -std=c90 -fstrict-flex-arrays=2 1. parser at end of file 2. While analyzing stack: #0 Calling test_single_element_array_possible_fam 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c:121:19: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c:121:19: Error evaluating statement #0 0x0000ffff938aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff938a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff938ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9c820800 (linux-vdso.so.1+0x800) #4 0x0000ffff9bb09250 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9bb09250 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9bb09250 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9bb09250 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9bb09250 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9bb09250 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9bb09250 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9bb09250 (anonymous namespace)::MallocChecker::evalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:3069:0 #12 0x0000ffff9b917760 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffff9b917760 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffff9b917760 llvm::IntrusiveRefCntPtr clang::ento::eval::Assume::_evalAssume<(anonymous namespace)::MallocChecker>(void*, llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:463:74 #15 0x0000ffff9b72b758 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff9b72b758 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff9b72b758 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff9b72b758 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffff9b7f0be4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff9b7f0be4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff9b7f0be4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffff9b7f0be4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffff9b7fa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffff9b7fa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff9b7fa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #26 0x0000ffff9b75ebd8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9b75ebd8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9b75ebd8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffff9b75ebd8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffff9bc4c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff9bc4c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff9bc4c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #33 0x0000ffff9b923840 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffff9b923840 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffff9b923840 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffff9b923840 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffff9b923840 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffff9b923840 (anonymous namespace)::MallocChecker::ProcessZeroAllocCheck(clang::ento::CallEvent const&, unsigned int, llvm::IntrusiveRefCntPtr, std::optional) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1529:0 #39 0x0000ffff9b924820 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffff9b924820 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffff9b924820 (anonymous namespace)::MallocChecker::checkAlloca(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1302:0 #42 0x0000ffff9b930180 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffff9b930180 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffff9b7489a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff9b7489a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff9b7489a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffff9b7489a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffff9b7489a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffff9b7a8c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffff9b7a8c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffff9b7a8c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffff9b7a8c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffff9b7a8c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffff9b7a8c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffff9b7a9514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffff9b78b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffff9b78b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffff9b78c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffff9b78c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffff9b78c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffff9b78cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffff9b78cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffff9b78cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffff9b78cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffff9b78cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #66 0x0000ffff9ba56bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffff9ba56bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffff9ba56bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffff9ba56bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffff9ba56bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffff9ba57b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #72 0x0000ffff9ba57b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffff9ba57b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffff9ba5c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffff9ba5c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffff9ba5c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffff9ba5c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffff9ba5c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffff99eb2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #80 0x0000ffff99eb2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffff99eb2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #82 0x0000ffff99eb2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffff9b577450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffff9b52f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffff9b52f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffff9b52f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffff9b5b551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaac37859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaac37894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaac378aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaac3781fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff92b0098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff92b00a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaac37820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/flexible-array-members.c.script: line 11: 2537648 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-linux-gnu -analyzer-checker=core,unix,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c -verify -std=c90 -fstrict-flex-arrays=2 -- ******************** Testing: 0 FAIL: Clang :: Analysis/fuchsia_handle.cpp (750 of 18966) ******************** TEST 'Clang :: Analysis/fuchsia_handle.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,fuchsia.HandleChecker -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_handle.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,fuchsia.HandleChecker -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_handle.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling escape_top_level_pointees(zx_handle_t *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_handle.cpp:505:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_handle.cpp:505:7: Error evaluating statement #0 0x0000ffffa4aaacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa4aa9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa4aab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffada24800 (linux-vdso.so.1+0x800) #4 0x0000ffffacaa0240 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffacaa0240 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffacaa0240 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffacaa0240 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffacaa0240 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffacaa0240 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffacaa0240 get<(anonymous namespace)::HStateMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffffacaa0240 (anonymous namespace)::FuchsiaHandleChecker::checkPostCall(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/FuchsiaHandleChecker.cpp:421:0 #12 0x0000ffffac9489a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffffac9489a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffffac9489a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #15 0x0000ffffac9489a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #16 0x0000ffffac9489a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #17 0x0000ffffac9a8c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #18 0x0000ffffac9a8c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #19 0x0000ffffac9a8c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #20 0x0000ffffac9a8c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #21 0x0000ffffac9a8c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #22 0x0000ffffac9a8c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #23 0x0000ffffac9a9514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #24 0x0000ffffac98b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #25 0x0000ffffac98b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #26 0x0000ffffac98c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #27 0x0000ffffac98c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #28 0x0000ffffac98c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #29 0x0000ffffac98cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #30 0x0000ffffac98cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #31 0x0000ffffac98cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #32 0x0000ffffac98cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #33 0x0000ffffac98cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #34 0x0000ffffacc56bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x0000ffffacc56bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x0000ffffacc56bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #37 0x0000ffffacc56bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #38 0x0000ffffacc56bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #39 0x0000ffffacc57b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #40 0x0000ffffacc57b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x0000ffffacc57b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #42 0x0000ffffacc5c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x0000ffffacc5c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x0000ffffacc5c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x0000ffffacc5c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x0000ffffacc5c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x0000ffffab0b2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #48 0x0000ffffab0b2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #49 0x0000ffffab0b2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #50 0x0000ffffab0b2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #51 0x0000ffffac777450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #52 0x0000ffffac72f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #53 0x0000ffffac72f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #54 0x0000ffffac72f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #55 0x0000ffffac7b551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #56 0x0000aaaacd1859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #57 0x0000aaaacd1894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #58 0x0000aaaacd18aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #59 0x0000aaaacd181fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #60 0x0000ffffa3d0098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #61 0x0000ffffa3d00a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #62 0x0000aaaacd1820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/fuchsia_handle.cpp.script: line 1: 2537676 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,fuchsia.HandleChecker -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_handle.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/free.cpp (751 of 18966) ******************** TEST 'Clang :: Analysis/free.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/free.cpp -analyzer-checker=core -analyzer-checker=unix.Malloc : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/free.cpp -analyzer-checker=core -analyzer-checker=unix.Malloc -analyzer-config unix.DynamicMemoryModeling:Optimistic=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/free.cpp -analyzer-checker=core -analyzer-checker=unix.Malloc 1. parser at end of file 2. While analyzing stack: #0 Calling t18_reinterpret_reinterpret_std_free(S) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/free.cpp:245:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/free.cpp:245:3: Error evaluating statement #0 0x0000ffff9282acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff92829100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9282b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9b7a9800 (linux-vdso.so.1+0x800) #4 0x0000ffff9aaa29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9aaa29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9aaa29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9aaa29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9aaa29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9aaa29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9aaa29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9aaa29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9a750048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9a750048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9a750048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9a750048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9a750f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9a750f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9a750f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9a750f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9a763b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9a763b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9a763b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9a765060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9a765060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9a765060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9a764530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9a764530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9a764530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9a770b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9a770b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9a770b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9a77a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9a77a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9a77a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9a6deaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9a6deaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9a6deaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9a6deaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9abcc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9abcc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9abcc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9a8a7fe4 (anonymous namespace)::MallocChecker::FreeMemAux(clang::ento::CheckerContext&, clang::Expr const*, clang::ento::CallEvent const&, llvm::IntrusiveRefCntPtr, bool, bool&, (anonymous namespace)::AllocationFamily, bool) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1909:0 #43 0x0000ffff9aa840f0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x0000ffff9aa840f0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff9aa840f0 (anonymous namespace)::MallocChecker::FreeMemAux(clang::ento::CheckerContext&, clang::ento::CallEvent const&, llvm::IntrusiveRefCntPtr, unsigned int, bool, bool&, (anonymous namespace)::AllocationFamily, bool) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1808:0 #46 0x0000ffff9a8a31bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #47 0x0000ffff9a8a31bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #48 0x0000ffff9a8a31bc (anonymous namespace)::MallocChecker::checkFree(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1293:0 #49 0x0000ffff9a8b00b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #50 0x0000ffff9a8b00b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #51 0x0000ffff9a8b00b4 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1489:0 #52 0x0000ffff9a8b00b4 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #53 0x0000ffff9a6c89a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffff9a6c89a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffff9a6c89a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #56 0x0000ffff9a6c89a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #57 0x0000ffff9a6c89a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #58 0x0000ffff9a728c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #59 0x0000ffff9a728c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #60 0x0000ffff9a728c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #61 0x0000ffff9a728c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #62 0x0000ffff9a728c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #63 0x0000ffff9a728c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #64 0x0000ffff9a729514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #65 0x0000ffff9a70b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #66 0x0000ffff9a70b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #67 0x0000ffff9a70c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #68 0x0000ffff9a70c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #69 0x0000ffff9a70c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #70 0x0000ffff9a70cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x0000ffff9a70cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x0000ffff9a70cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #73 0x0000ffff9a70cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #74 0x0000ffff9a70cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #75 0x0000ffff9a9d6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #76 0x0000ffff9a9d6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #77 0x0000ffff9a9d6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #78 0x0000ffff9a9d6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #79 0x0000ffff9a9d6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #80 0x0000ffff9a9d7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #81 0x0000ffff9a9d7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #82 0x0000ffff9a9d7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #83 0x0000ffff9a9dc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #84 0x0000ffff9a9dc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #85 0x0000ffff9a9dc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #86 0x0000ffff9a9dc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #87 0x0000ffff9a9dc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #88 0x0000ffff98e32058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #89 0x0000ffff98e32058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #90 0x0000ffff98e32058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #91 0x0000ffff98e32058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #92 0x0000ffff9a4f7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #93 0x0000ffff9a4af104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #94 0x0000ffff9a4af104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #95 0x0000ffff9a4af104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #96 0x0000ffff9a53551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #97 0x0000aaaac57959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #98 0x0000aaaac57994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #99 0x0000aaaac579aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #100 0x0000aaaac5791fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #101 0x0000ffff91a8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #102 0x0000ffff91a80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #103 0x0000aaaac57920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/free.cpp.script: line 2: 2537671 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/free.cpp -analyzer-checker=core -analyzer-checker=unix.Malloc -- ******************** Testing: 0 FAIL: Clang :: Analysis/free.c (752 of 18966) ******************** TEST 'Clang :: Analysis/free.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/free.c -analyzer-checker=core -analyzer-checker=unix.Malloc : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/free.c -analyzer-checker=core -analyzer-checker=unix.Malloc -analyzer-config unix.DynamicMemoryModeling:Optimistic=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/free.c -analyzer-checker=core -analyzer-checker=unix.Malloc 1. parser at end of file 2. While analyzing stack: #0 Calling t18 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/free.c:117:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/free.c:117:3: Error evaluating statement #0 0x0000ffff7f63acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7f639100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7f63b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff885bf800 (linux-vdso.so.1+0x800) #4 0x0000ffff878b29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff878b29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff878b29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff878b29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff878b29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff878b29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff878b29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff878b29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff87560048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff87560048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff87560048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff87560048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff87560f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff87560f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff87560f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff87560f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff87573b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff87573b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff87573b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff87575060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff87575060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff87575060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff87574530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff87574530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff87574530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff87580b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff87580b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff87580b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8758a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8758a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8758a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff874eeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff874eeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff874eeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff874eeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff879dc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff879dc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff879dc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff876b7fe4 (anonymous namespace)::MallocChecker::FreeMemAux(clang::ento::CheckerContext&, clang::Expr const*, clang::ento::CallEvent const&, llvm::IntrusiveRefCntPtr, bool, bool&, (anonymous namespace)::AllocationFamily, bool) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1909:0 #43 0x0000ffff878940f0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x0000ffff878940f0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff878940f0 (anonymous namespace)::MallocChecker::FreeMemAux(clang::ento::CheckerContext&, clang::ento::CallEvent const&, llvm::IntrusiveRefCntPtr, unsigned int, bool, bool&, (anonymous namespace)::AllocationFamily, bool) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1808:0 #46 0x0000ffff876b31bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #47 0x0000ffff876b31bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #48 0x0000ffff876b31bc (anonymous namespace)::MallocChecker::checkFree(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1293:0 #49 0x0000ffff876c00b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #50 0x0000ffff876c00b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #51 0x0000ffff876c00b4 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1489:0 #52 0x0000ffff876c00b4 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #53 0x0000ffff874d89a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffff874d89a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffff874d89a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #56 0x0000ffff874d89a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #57 0x0000ffff874d89a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #58 0x0000ffff87538c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #59 0x0000ffff87538c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #60 0x0000ffff87538c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #61 0x0000ffff87538c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #62 0x0000ffff87538c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #63 0x0000ffff87538c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #64 0x0000ffff87539514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #65 0x0000ffff8751b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #66 0x0000ffff8751b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #67 0x0000ffff8751c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #68 0x0000ffff8751c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #69 0x0000ffff8751c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #70 0x0000ffff8751cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x0000ffff8751cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x0000ffff8751cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #73 0x0000ffff8751cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #74 0x0000ffff8751cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #75 0x0000ffff877e6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #76 0x0000ffff877e6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #77 0x0000ffff877e6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #78 0x0000ffff877e6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #79 0x0000ffff877e6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #80 0x0000ffff877e7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #81 0x0000ffff877e7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #82 0x0000ffff877e7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #83 0x0000ffff877ec130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #84 0x0000ffff877ec130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #85 0x0000ffff877ec130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #86 0x0000ffff877ec130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #87 0x0000ffff877ec130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #88 0x0000ffff85c42058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #89 0x0000ffff85c42058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #90 0x0000ffff85c42058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #91 0x0000ffff85c42058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #92 0x0000ffff87307450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #93 0x0000ffff872bf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #94 0x0000ffff872bf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #95 0x0000ffff872bf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #96 0x0000ffff8734551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #97 0x0000aaaabaa159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #98 0x0000aaaabaa194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #99 0x0000aaaabaa1aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #100 0x0000aaaabaa11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #101 0x0000ffff7e89098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #102 0x0000ffff7e890a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #103 0x0000aaaabaa120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/free.c.script: line 2: 2537662 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/free.c -analyzer-checker=core -analyzer-checker=unix.Malloc -- ******************** Testing: 0 FAIL: Clang :: Analysis/fuchsia_lock_impl.c (753 of 18966) ******************** TEST 'Clang :: Analysis/fuchsia_lock_impl.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.fuchsia.Lock -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_lock_impl.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.fuchsia.Lock -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_lock_impl.c 1. parser at end of file 2. While analyzing stack: #0 Calling spin_trylock at line 16 #1 Calling no_crash 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_lock_impl.c:8:9: Error evaluating branch #0 0x0000ffff8f5eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8f5e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8f5eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9856d800 (linux-vdso.so.1+0x800) #4 0x0000ffff978629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff978629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff978629e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff978629e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff978629e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff978629e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff978629e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff978629e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff97510048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff97510048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff97510048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff97510048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff97510f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff97510f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff97510f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff97510f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff97524cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff97524cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff97524cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff97524f90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff97524f90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff97524f90 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff97524530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff97524530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff97524530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff97530b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff97530b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff97530b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9753a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9753a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9753a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9749eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9749eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9749eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9749eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9798c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9798c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9798c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff974b4c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff974b4c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff974b4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff974b4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff974b4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff974b4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff974b4c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff974b4c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff974b4c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff974b4c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff974b5200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff974ccb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff974ccb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff974ccb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff974ccb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff974ccb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff97796bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff97796bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff97796bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff97796bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff97796bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff97797b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff97797b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff97797b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9779c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9779c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9779c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9779c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9779c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff95bf2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff95bf2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff95bf2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff95bf2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff972b7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9726f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9726f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9726f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff972f551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad57c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad57c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad57caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad57c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8e84098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff8e840a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad57c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/fuchsia_lock_impl.c.script: line 1: 2537686 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.fuchsia.Lock -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_lock_impl.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/fuchsia_lock.c (754 of 18966) ******************** TEST 'Clang :: Analysis/fuchsia_lock.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.fuchsia.Lock -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_lock.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.fuchsia.Lock -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_lock.c 1. parser at end of file 2. While analyzing stack: #0 Calling good12 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_lock.c:102:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_lock.c:102:7: Error evaluating statement #0 0x0000ffff9eeeacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9eee9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9eeeb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa7e62800 (linux-vdso.so.1+0x800) #4 0x0000ffffa71629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa71629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa71629e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa71629e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa71629e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa71629e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa71629e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa71629e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa6e10048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa6e10048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa6e10048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa6e10048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa6e10f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa6e10f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa6e10f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa6e10f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa6e24cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa6e24cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa6e24cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffa6e24f90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa6e24f90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa6e24f90 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffa6e24530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa6e24530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa6e24530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa6e30b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa6e30b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa6e30b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa6e3a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa6e3a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa6e3a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa6d9eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa6d9eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa6d9eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa6d9eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa728c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa728c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa728c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa6fb3588 (anonymous namespace)::PthreadLockChecker::AcquireLockAux(clang::ento::CallEvent const&, clang::ento::CheckerContext&, clang::Expr const*, clang::ento::SVal, bool, (anonymous namespace)::PthreadLockChecker::LockingSemantics, (anonymous namespace)::PthreadLockChecker::CheckerKind) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp:433:0 #43 0x0000ffffa6fb38e0 (anonymous namespace)::PthreadLockChecker::TryPthreadLock(clang::ento::CallEvent const&, clang::ento::CheckerContext&, (anonymous namespace)::PthreadLockChecker::CheckerKind) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp:375:0 #44 0x0000ffffa6d889a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffffa6d889a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffa6d889a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffffa6d889a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffffa6d889a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffffa6de8c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffffa6de8c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffffa6de8c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffffa6de8c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffffa6de8c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffffa6de8c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffffa6de9514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffffa6dcb270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffffa6dcb270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffffa6dcc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffffa6dcc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffffa6dcc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffffa6dccb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffffa6dccb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffffa6dccb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffffa6dccb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffffa6dccb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #66 0x0000ffffa7096bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffffa7096bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffffa7096bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffffa7096bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffffa7096bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffffa7097b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #72 0x0000ffffa7097b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffffa7097b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffffa709c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffffa709c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffffa709c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffffa709c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffffa709c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffffa54f2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #80 0x0000ffffa54f2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffffa54f2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #82 0x0000ffffa54f2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffffa6bb7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffffa6b6f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffffa6b6f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffffa6b6f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffffa6bf551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaab7ed59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaab7ed94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaab7edaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaab7ed1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff9e14098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff9e140a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaab7ed20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/fuchsia_lock.c.script: line 1: 2537682 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.fuchsia.Lock -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_lock.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/func.c (756 of 18966) ******************** TEST 'Clang :: Analysis/func.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/func.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/func.c 1. parser at end of file 2. While analyzing stack: #0 Calling nullFunctionPointerConstraint 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/func.c:37:7: Error evaluating branch #0 0x0000ffff9059acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff90599100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9059b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9951f800 (linux-vdso.so.1+0x800) #4 0x0000ffff988129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff988129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff988129e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff988129e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff988129e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff988129e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff988129e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff988129e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff984c0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff984c0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff984c0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff984c0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff984c0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff984c0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff984c0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff984c0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff984d3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff984d3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff984d3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff984d5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff984d5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff984d5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff984d4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff984d4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff984d4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff984e0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff984e0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff984e0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff984ea414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff984ea414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff984ea414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9844eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9844eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9844eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9844eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9893c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9893c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9893c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff98464c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff98464c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff98464c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff98464c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff98464c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff98464c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff98464c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff98464c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff98464c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff98464c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff98465200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff9847cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9847cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9847cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9847cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9847cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff98746bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff98746bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff98746bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff98746bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff98746bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff98747b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff98747b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff98747b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9874c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9874c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9874c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9874c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9874c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff96ba2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff96ba2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff96ba2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff96ba2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff98267450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9821f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9821f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9821f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff982a551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad9b059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad9b094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad9b0aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad9b01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8f7f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff8f7f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad9b020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/func.c.script: line 1: 2537705 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/func.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/global-region-invalidation.c (757 of 18966) ******************** TEST 'Clang :: Analysis/global-region-invalidation.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -disable-free -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global-region-invalidation.c -analyzer-checker=core,deadcode,alpha.security.taint,debug.TaintTest,debug.ExprInspection -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -disable-free -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global-region-invalidation.c -analyzer-checker=core,deadcode,alpha.security.taint,debug.TaintTest,debug.ExprInspection 1. parser at end of file 2. While analyzing stack: #0 Calling Function1 #0 0x0000ffff8128acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff81289100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8128b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8a207800 (linux-vdso.so.1+0x800) #4 0x0000ffff8914526c llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff8914526c llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8914526c llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8914526c llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8914526c llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:38 #9 0x0000ffff8914526c clang::ento::ProgramStatePartialTrait>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:204:35 #10 0x0000ffff8914526c contains<(anonymous namespace)::InitializedGlobalsSet> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:470:42 #11 0x0000ffff8914526c clang::ento::ExprEngine::processStaticInitializer(clang::DeclStmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2822:59 #12 0x0000ffff891455dc clang::ento::CoreEngine::HandleStaticInit(clang::DeclStmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:484:10 #13 0x0000ffff8916c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #14 0x0000ffff8916cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff8916cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff8916cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff8916cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff8916cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffff89436bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff89436bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff89436bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff89436bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff89436bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff89437b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffff89437b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff89437b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff8943c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff8943c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff8943c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff8943c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff8943c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff87892058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffff87892058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff87892058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffff87892058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff88f57450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff88f0f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff88f0f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff88f0f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff88f9551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaacd8b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaacd8b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaacd8baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaacd8b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff804e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff804e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaacd8b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/global-region-invalidation.c.script: line 1: 2537752 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -disable-free -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global-region-invalidation.c -analyzer-checker=core,deadcode,alpha.security.taint,debug.TaintTest,debug.ExprInspection -- ******************** Testing: 0 FAIL: Clang :: Analysis/gcdantipatternchecker_test.m (758 of 18966) ******************** TEST 'Clang :: Analysis/gcdantipatternchecker_test.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.performance.GCDAntipattern /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gcdantipatternchecker_test.m -fblocks -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.performance.GCDAntipattern /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gcdantipatternchecker_test.m -fblocks -verify 1. parser at end of file 2. While analyzing stack: #0 Calling no_warn_on_nonzero_semaphore 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gcdantipatternchecker_test.m:340:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gcdantipatternchecker_test.m:340:3: Error evaluating statement #0 0x0000ffff9c2bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9c2b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9c2bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa5233800 (linux-vdso.so.1+0x800) #4 0x0000ffffa45329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa45329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa45329e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa45329e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa45329e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa45329e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa45329e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa45329e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa41e0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa41e0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa41e0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa41e0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa41e0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa41e0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa41e0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa41e0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa41f3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa41f3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa41f3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa41f5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa41f5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa41f5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa41f4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa41f4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa41f4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa4200b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa4200b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa4200b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa420a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa420a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa420a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa416eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa416eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa416eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa416eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa465c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa465c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa465c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa41d0afc std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffffa41d0afc std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffffa41d0afc std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffffa41d0afc std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffffa41d0afc std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffffa41d0afc clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #48 0x0000ffffa419ae08 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #49 0x0000ffffa419ae08 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #50 0x0000ffffa419c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffffa419c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffffa419c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffffa419cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa419cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa419cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa419cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa419cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffa4466bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa4466bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa4466bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa4466bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa4466bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa4467b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffa4467b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa4467b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa446c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa446c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa446c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa446c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa446c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa28c2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffa28c2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa28c2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffa28c2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa3f87450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa3f3f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa3f3f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa3f3f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa3fc551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab5b159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab5b194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab5b1aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab5b11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9b51098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff9b510a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab5b120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/gcdantipatternchecker_test.m.script: line 1: 2537714 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.performance.GCDAntipattern /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gcdantipatternchecker_test.m -fblocks -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/generics.m (759 of 18966) ******************** TEST 'Clang :: Analysis/generics.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.ObjCGenerics,alpha.core.DynamicTypeChecker -verify -Wno-objc-method-access /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/generics.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.ObjCGenerics,alpha.core.DynamicTypeChecker -verify -Wno-objc-method-access /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/generics.m -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/generics.m.tmp.plist : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling testCallToMethodWithCovariantParameterOnInstanceOfSubclassWithInvariantParameter 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/generics.m:405:3: Error evaluating statement #0 0x0000ffff9943acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff99439100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9943b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa23b2800 (linux-vdso.so.1+0x800) #4 0x0000ffffa16a1cec llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa16a1cec llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa16a1cec llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa16a1cec llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa16a1cec llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa16a1cec clang::ento::ProgramStatePartialTrait>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa16a1cec get<(anonymous namespace)::MostSpecializedTypeArgsMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa16a1cec (anonymous namespace)::DynamicTypePropagation::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp:236:0 #12 0x0000ffffa12ecbd4 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffffa13073b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffffa13073b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffffa13073b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffffa13073b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffffa13073b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffffa13073b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffffa13073b8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffffa131c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffffa131c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffffa131c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffffa131c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffffa131c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffffa131c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffffa131c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffffa131c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffffa131c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffffa131c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #30 0x0000ffffa131c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #31 0x0000ffffa131cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffffa131cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffffa131cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffffa131cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffffa131cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffffa15e6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffa15e6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffa15e6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffffa15e6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffffa15e6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffffa15e7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffffa15e7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffffa15e7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffffa15ec130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffffa15ec130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffffa15ec130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffffa15ec130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffffa15ec130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffff9fa42058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffff9fa42058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffff9fa42058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffff9fa42058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffffa1107450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffffa10bf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffffa10bf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffffa10bf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffffa114551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaac22259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaac22294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaac222aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaac2221fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffff9869098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffff98690a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaac22220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/generics.m.script: line 3: 2537739 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.ObjCGenerics,alpha.core.DynamicTypeChecker -verify -Wno-objc-method-access /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/generics.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/global_region_invalidation.mm (760 of 18966) ******************** TEST 'Clang :: Analysis/global_region_invalidation.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global_region_invalidation.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global_region_invalidation.mm 1. parser at end of file 2. While analyzing stack: #0 Calling testWrappedStaticsViaGlobal() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global_region_invalidation.mm:176:7: Error evaluating branch #0 0x0000ffffaef3acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaef39100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaef3b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb7eb7800 (linux-vdso.so.1+0x800) #4 0x0000ffffb71b29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb71b29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb71b29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb71b29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb71b29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb71b29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb71b29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb71b29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb6e60048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb6e60048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb6e60048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb6e60048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb6e60f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb6e60f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb6e60f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb6e60f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb6e73b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb6e73b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb6e73b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb6e75060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb6e75060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb6e75060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb6e74530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb6e74530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb6e74530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb6e80b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb6e80b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb6e80b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb6e8a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb6e8a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb6e8a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb6deea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb6deea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb6deea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb6deea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffb72dc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb72dc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb72dc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb6e04c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffb6e04c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffb6e04c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffb6e04c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffb6e04c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffb6e04c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffb6e04c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffb6e04c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffb6e04c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffb6e04c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffb6e05200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffb6e1cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb6e1cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb6e1cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb6e1cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb6e1cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb70e6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb70e6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb70e6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb70e6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb70e6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb70e7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb70e7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb70e7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb70ec130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb70ec130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb70ec130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb70ec130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb70ec130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb5542058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb5542058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb5542058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb5542058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb6c07450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb6bbf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb6bbf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb6bbf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb6c4551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae5ee59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae5ee94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae5eeaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae5ee1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffae19098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffae190a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae5ee20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/global_region_invalidation.mm.script: line 1: 2537754 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global_region_invalidation.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/globals-are-not-always-immutable.c (761 of 18966) ******************** TEST 'Clang :: Analysis/globals-are-not-always-immutable.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/globals-are-not-always-immutable.c -analyzer-config eagerly-assume=false -analyzer-checker=core,debug.ExprInspection -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/globals-are-not-always-immutable.c -analyzer-config eagerly-assume=false -analyzer-checker=core,debug.ExprInspection 1. parser at end of file 2. While analyzing stack: #0 Calling test_my_mutable_system_global_assign 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/globals-are-not-always-immutable.c:70:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/globals-are-not-always-immutable.c:70:3: Error evaluating statement #0 0x0000ffff84d5acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff84d59100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff84d5b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8dcdf800 (linux-vdso.so.1+0x800) #4 0x0000ffff8cc79bdc retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff8cc79bdc retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8cc79bdc retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8cc79bdc IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8cc79bdc ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8cc79bdc MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8cc79bdc get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8cc79bdc (anonymous namespace)::EquivalenceClass::mergeImpl(clang::ento::RangeSet::Factory&, llvm::IntrusiveRefCntPtr, llvm::ImmutableSet>, (anonymous namespace)::EquivalenceClass, llvm::ImmutableSet>) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2361:0 #12 0x0000ffff8cc7bb0c llvm::IntrusiveRefCntPtrInfo>>::release(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:351:0 #13 0x0000ffff8cc7bb0c llvm::IntrusiveRefCntPtr>>::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffff8cc7bb0c llvm::IntrusiveRefCntPtr>>::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff8cc7bb0c llvm::ImmutableSet>::~ImmutableSet() /usr/include/llvm/ADT/ImmutableSet.h:957:0 #16 0x0000ffff8cc7bb0c (anonymous namespace)::EquivalenceClass::merge(clang::ento::RangeSet::Factory&, llvm::IntrusiveRefCntPtr, (anonymous namespace)::EquivalenceClass) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2340:0 #17 0x0000ffff8cc80680 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #18 0x0000ffff8cc80680 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8cc80680 merge /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2309:0 #20 0x0000ffff8cc80680 trackEquality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2160:0 #21 0x0000ffff8cc80680 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2238:0 #22 0x0000ffff8cc80680 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #23 0x0000ffff8cc80680 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #24 0x0000ffff8cc80680 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:0 #25 0x0000ffff8cc80680 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:0 #26 0x0000ffff8cc80680 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #27 0x0000ffff8cc80680 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #28 0x0000ffff8cc80d10 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #29 0x0000ffff8cc80d10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffff8cc80d10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff8cc80d10 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #32 0x0000ffff8cc94cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffff8cc94cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffff8cc94cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #35 0x0000ffff8cc94530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8cc94530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8cc94530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #38 0x0000ffff8cca0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #39 0x0000ffff8cca0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #40 0x0000ffff8cca0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #41 0x0000ffff8ccaa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #42 0x0000ffff8ccaa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #43 0x0000ffff8ccaa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #44 0x0000ffff8cc0ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #45 0x0000ffff8cc0ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #46 0x0000ffff8cc0ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #47 0x0000ffff8cc0ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #48 0x0000ffff8d100ea4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #49 0x0000ffff8d100ea4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #50 0x0000ffff8d100ea4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #51 0x0000ffff8d100ea4 getArgumentValueString(clang::CallExpr const*, clang::ento::CheckerContext&) (.part.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:150:20 #52 0x0000ffff8cd1bd10 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #53 0x0000ffff8cd1bd10 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #54 0x0000ffff8cd1bd10 (anonymous namespace)::ExprInspectionChecker::analyzerEval(clang::CallExpr const*, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:215:0 #55 0x0000ffff8cd4f4b0 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #56 0x0000ffff8cd4f4b0 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::ExprInspectionChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:0 #57 0x0000ffff8cbf938c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #58 0x0000ffff8cc58bec llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #59 0x0000ffff8cc58bec llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #60 0x0000ffff8cc58bec clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #61 0x0000ffff8cc58bec clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #62 0x0000ffff8cc59514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #63 0x0000ffff8cc3b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #64 0x0000ffff8cc3b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #65 0x0000ffff8cc3c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #66 0x0000ffff8cc3c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #67 0x0000ffff8cc3c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #68 0x0000ffff8cc3cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffff8cc3cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffff8cc3cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #71 0x0000ffff8cc3cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #72 0x0000ffff8cc3cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #73 0x0000ffff8cf06bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #74 0x0000ffff8cf06bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #75 0x0000ffff8cf06bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #76 0x0000ffff8cf06bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #77 0x0000ffff8cf06bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #78 0x0000ffff8cf07b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #79 0x0000ffff8cf07b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #80 0x0000ffff8cf07b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #81 0x0000ffff8cf0c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #82 0x0000ffff8cf0c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #83 0x0000ffff8cf0c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #84 0x0000ffff8cf0c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #85 0x0000ffff8cf0c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #86 0x0000ffff8b362058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #87 0x0000ffff8b362058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #88 0x0000ffff8b362058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #89 0x0000ffff8b362058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #90 0x0000ffff8ca27450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #91 0x0000ffff8c9df104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #92 0x0000ffff8c9df104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #93 0x0000ffff8c9df104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #94 0x0000ffff8ca6551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #95 0x0000aaaac22e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #96 0x0000aaaac22e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #97 0x0000aaaac22eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #98 0x0000aaaac22e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #99 0x0000ffff83fb098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #100 0x0000ffff83fb0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #101 0x0000aaaac22e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/globals-are-not-always-immutable.c.script: line 1: 2537763 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/globals-are-not-always-immutable.c -analyzer-config eagerly-assume=false -analyzer-checker=core,debug.ExprInspection -- ******************** Testing: 0 FAIL: Clang :: Analysis/global-region-invalidation-errno.c (762 of 18966) ******************** TEST 'Clang :: Analysis/global-region-invalidation-errno.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -disable-free -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global-region-invalidation-errno.c -analyzer-checker=core,deadcode,alpha.security.taint -DERRNO_VAR : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -disable-free -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global-region-invalidation-errno.c -analyzer-checker=core,deadcode,alpha.security.taint -DERRNO_FUNC -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -disable-free -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global-region-invalidation-errno.c -analyzer-checker=core,deadcode,alpha.security.taint -DERRNO_VAR 1. parser at end of file 2. While analyzing stack: #0 Calling testErrnoInternal 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global-region-invalidation-errno.c:43:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global-region-invalidation-errno.c:43:3: Error evaluating statement #0 0x0000ffff9350acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff93509100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9350b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9c487800 (linux-vdso.so.1+0x800) #4 0x0000ffff9b6449e8 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff9b6449e8 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9b6449e8 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9b6449e8 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9b6449e8 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9b6449e8 clang::ento::ProgramStatePartialTrait>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9b6449e8 get<(anonymous namespace)::TaintMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffff9b6449e8 clang::ento::taint::getTaintedSymbolsImpl(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, unsigned int, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/Taint.cpp:266:55 #12 0x0000ffff9b63abd8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #13 0x0000ffff9b63abd8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffff9b63abd8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff9b63abd8 clang::ento::taint::getTaintedSymbolsImpl(llvm::IntrusiveRefCntPtr, clang::ento::SVal, unsigned int, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/Taint.cpp:206:0 #16 0x0000ffff9b63af40 clang::ento::taint::isTainted(llvm::IntrusiveRefCntPtr, clang::ento::SVal, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/Taint.cpp:155:0 #17 0x0000ffff9b5044f0 (anonymous namespace)::getTaintedPointeeOrPointer(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp:145:0 #18 0x0000ffff9b526178 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp:939:0 #19 0x0000ffff9b526178 operator()<(anonymous namespace)::GenericTaintRule::process(const (anonymous namespace)::GenericTaintChecker&, const clang::ento::CallEvent&, clang::ento::CheckerContext&) const:: > /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp:905:0 #20 0x0000ffff9b526178 (anonymous namespace)::GenericTaintRule::process((anonymous namespace)::GenericTaintChecker const&, clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp:936:0 #21 0x0000ffff9b52836c getPrintfFormatArgumentNum /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp:1047:0 #22 0x0000ffff9b52836c checkUncontrolledFormatString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp:1069:0 #23 0x0000ffff9b52836c checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp:825:0 #24 0x0000ffff9b52836c void clang::ento::check::PreCall::_checkCall<(anonymous namespace)::GenericTaintChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:168:0 #25 0x0000ffff9b3a89a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x0000ffff9b3a89a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x0000ffff9b3a89a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #28 0x0000ffff9b3a89a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #29 0x0000ffff9b3a89a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #30 0x0000ffff9b408b70 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #31 0x0000ffff9b408b70 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #32 0x0000ffff9b408b70 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #33 0x0000ffff9b408b70 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #34 0x0000ffff9b408b70 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #35 0x0000ffff9b408b70 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #36 0x0000ffff9b408b70 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:683:44 #37 0x0000ffff9b409514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #38 0x0000ffff9b3eb270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #39 0x0000ffff9b3eb270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #40 0x0000ffff9b3ec2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #41 0x0000ffff9b3ec5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #42 0x0000ffff9b3ec7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #43 0x0000ffff9b3ecb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #44 0x0000ffff9b3ecb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #45 0x0000ffff9b3ecb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #46 0x0000ffff9b3ecb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #47 0x0000ffff9b3ecb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #48 0x0000ffff9b6b6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #49 0x0000ffff9b6b6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #50 0x0000ffff9b6b6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #51 0x0000ffff9b6b6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #52 0x0000ffff9b6b6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #53 0x0000ffff9b6b7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #54 0x0000ffff9b6b7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #55 0x0000ffff9b6b7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #56 0x0000ffff9b6bc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x0000ffff9b6bc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x0000ffff9b6bc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #59 0x0000ffff9b6bc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #60 0x0000ffff9b6bc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #61 0x0000ffff99b12058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #62 0x0000ffff99b12058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #63 0x0000ffff99b12058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #64 0x0000ffff99b12058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #65 0x0000ffff9b1d7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #66 0x0000ffff9b18f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #67 0x0000ffff9b18f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #68 0x0000ffff9b18f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #69 0x0000ffff9b21551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #70 0x0000aaaab19659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #71 0x0000aaaab19694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #72 0x0000aaaab196aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #73 0x0000aaaab1961fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #74 0x0000ffff9276098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #75 0x0000ffff92760a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #76 0x0000aaaab19620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/global-region-invalidation-errno.c.script: line 2: 2537740 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -disable-free -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global-region-invalidation-errno.c -analyzer-checker=core,deadcode,alpha.security.taint -DERRNO_VAR -- ******************** Testing: 0 FAIL: Clang :: Analysis/globals.cpp (763 of 18966) ******************** TEST 'Clang :: Analysis/globals.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -std=c++2a /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/globals.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -std=c++2a /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/globals.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling S3::S3() at line 109 #1 Calling recordinit() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/globals.cpp:103:8: Error evaluating statement #0 0x0000ffff866facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff866f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff866fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8f673800 (linux-vdso.so.1+0x800) #4 0x0000ffff8e5c7188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff8e5c7188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8e5c7188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8e5c7188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8e5c7188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8e5c7188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8e5c7188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8e5c7188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff8e5dc264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff8e5dc264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff8e5dc264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff8e5dc264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff8e5dc264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff8e5dc264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff8e5dc264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff8e5dc264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff8e5dc264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffff8e5dc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #22 0x0000ffff8e5dc6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffff8e5dc9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffff8e5dcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff8e5dcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff8e5dcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff8e5dcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff8e5dcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #29 0x0000ffff8e8a6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff8e8a6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff8e8a6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff8e8a6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff8e8a6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff8e8a7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #35 0x0000ffff8e8a7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff8e8a7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff8e8ac130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff8e8ac130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff8e8ac130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff8e8ac130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff8e8ac130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff8cd02058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #43 0x0000ffff8cd02058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff8cd02058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #45 0x0000ffff8cd02058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff8e3c7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff8e37f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff8e37f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff8e37f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff8e40551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaab2d359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaab2d394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaab2d3aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaab2d31fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff8595098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff85950a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaab2d320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/globals.cpp.script: line 1: 2537773 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -std=c++2a /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/globals.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/gmalloc.c (768 of 18966) ******************** TEST 'Clang :: Analysis/gmalloc.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=core,unix.Malloc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gmalloc.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=core,unix.Malloc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gmalloc.c 1. parser at end of file 2. While analyzing stack: #0 Calling f8 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gmalloc.c:177:36: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gmalloc.c:177:36: Error evaluating statement #0 0x0000ffffb57cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb57c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb57cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbe741800 (linux-vdso.so.1+0x800) #4 0x0000ffffbda29250 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbda29250 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbda29250 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbda29250 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbda29250 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbda29250 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbda29250 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbda29250 (anonymous namespace)::MallocChecker::evalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:3069:0 #12 0x0000ffffbd837760 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffffbd837760 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffffbd837760 llvm::IntrusiveRefCntPtr clang::ento::eval::Assume::_evalAssume<(anonymous namespace)::MallocChecker>(void*, llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:463:74 #15 0x0000ffffbd64b758 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffffbd64b758 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffffbd64b758 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffffbd64b758 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffffbd710be4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffbd710be4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffbd710be4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffffbd710be4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffffbd71a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffffbd71a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffbd71a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #26 0x0000ffffbd67ebd8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbd67ebd8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbd67ebd8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffffbd67ebd8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffffbdb6c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffbdb6c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffbdb6c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #33 0x0000ffffbd843840 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffffbd843840 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffffbd843840 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffffbd843840 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffffbd843840 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffffbd843840 (anonymous namespace)::MallocChecker::ProcessZeroAllocCheck(clang::ento::CallEvent const&, unsigned int, llvm::IntrusiveRefCntPtr, std::optional) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1529:0 #39 0x0000ffffbd844b44 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffffbd844b44 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffffbd844b44 (anonymous namespace)::MallocChecker::checkGMalloc0(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1384:0 #42 0x0000ffffbd850180 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffffbd850180 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffffbd6689a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffffbd6689a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffbd6689a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffffbd6689a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffffbd6689a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffffbd6c8c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffffbd6c8c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffffbd6c8c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffffbd6c8c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffffbd6c8c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffffbd6c8c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffffbd6c9514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffffbd6ab270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffffbd6ab270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffffbd6ac2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffffbd6ac5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffffbd6ac7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffffbd6acb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffffbd6acb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffffbd6acb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffffbd6acb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffffbd6acb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #66 0x0000ffffbd976bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffffbd976bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffffbd976bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffffbd976bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffffbd976bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffffbd977b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #72 0x0000ffffbd977b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffffbd977b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffffbd97c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffffbd97c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffffbd97c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffffbd97c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffffbd97c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffffbbdd2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #80 0x0000ffffbbdd2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffffbbdd2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #82 0x0000ffffbbdd2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffffbd497450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffffbd44f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffffbd44f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffffbd44f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffffbd4d551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaab59a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaab59a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaab59aaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaab59a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffffb4a2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffffb4a20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaab59a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/gmalloc.c.script: line 1: 2537782 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=core,unix.Malloc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gmalloc.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/gtest.cpp (769 of 18966) ******************** TEST 'Clang :: Analysis/gtest.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -cc1 -std=c++11 -analyzer-checker=core,apiModeling.google.GTest,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gtest.cpp -verify : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -cc1 -std=c++11 -analyzer-checker=core,apiModeling.google.GTest,debug.ExprInspection -DGTEST_VERSION_1_8_AND_LATER=1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gtest.cpp -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -cc1 -std=c++11 -analyzer-checker=core,apiModeling.google.GTest,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gtest.cpp -verify 1. parser at end of file 2. While analyzing stack: #0 Calling testAssertSymbolicRef(const _Bool &) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gtest.cpp:161:3 : Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gtest.cpp:161:3 : Error evaluating statement #0 0x0000ffffb57cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb57c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb57cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbe74a800 (linux-vdso.so.1+0x800) #4 0x0000ffffbd69da74 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffbd69da74 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffbd69da74 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffbd69da74 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffbd69da74 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffbd69da74 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffbd69da74 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffbd69da74 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffffbd69de64 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #13 0x0000ffffbd69de64 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffffbd69de64 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffffbd69de64 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffffbd69de64 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffffbd69e544 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #18 0x0000ffffbd69e544 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #19 0x0000ffffbd69e544 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:463:0 #20 0x0000ffffbd6a5dd0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #21 0x0000ffffbd6a5dd0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #22 0x0000ffffbd6a5dd0 clang::ento::ExprEngine::handleConstructionContext(clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::ento::NodeBuilderContext const*, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions&, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:753:0 #23 0x0000ffffbd6a5dd0 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:665:0 #24 0x0000ffffbd6ab22c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #25 0x0000ffffbd6ab22c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #26 0x0000ffffbd6ac2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #27 0x0000ffffbd6ac5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #28 0x0000ffffbd6ac7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #29 0x0000ffffbd6acb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #30 0x0000ffffbd6acb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #31 0x0000ffffbd6acb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #32 0x0000ffffbd6acb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #33 0x0000ffffbd6acb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #34 0x0000ffffbd976bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x0000ffffbd976bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x0000ffffbd976bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #37 0x0000ffffbd976bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #38 0x0000ffffbd976bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #39 0x0000ffffbd977b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #40 0x0000ffffbd977b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x0000ffffbd977b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #42 0x0000ffffbd97c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x0000ffffbd97c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x0000ffffbd97c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x0000ffffbd97c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x0000ffffbd97c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x0000ffffbbdd2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #48 0x0000ffffbbdd2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #49 0x0000ffffbbdd2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #50 0x0000ffffbbdd2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #51 0x0000ffffbd497450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #52 0x0000ffffbd44f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #53 0x0000ffffbd44f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #54 0x0000ffffbd44f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #55 0x0000ffffbd4d551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #56 0x0000aaaade6e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #57 0x0000aaaade6e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #58 0x0000aaaade6eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #59 0x0000aaaade6e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #60 0x0000ffffb4a2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #61 0x0000ffffb4a20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #62 0x0000aaaade6e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/gtest.cpp.script: line 2: 2537796 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -cc1 -std=c++11 -analyzer-checker=core,apiModeling.google.GTest,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gtest.cpp -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/handle_constructors_for_default_arguments.cpp (770 of 18966) ******************** TEST 'Clang :: Analysis/handle_constructors_for_default_arguments.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -fsyntax-only -analyze -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/handle_constructors_for_default_arguments.cpp -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -fsyntax-only -analyze -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/handle_constructors_for_default_arguments.cpp -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test6() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/handle_constructors_for_default_arguments.cpp:115:23: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/handle_constructors_for_default_arguments.cpp:115:23: Error evaluating statement #0 0x0000ffffa08eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa08e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa08eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa9868800 (linux-vdso.so.1+0x800) #4 0x0000ffffa8b629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa8b629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa8b629e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa8b629e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa8b629e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa8b629e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa8b629e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa8b629e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa8810048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa8810048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa8810048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa8810048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa8810f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa8810f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa8810f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa8810f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa8823b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa8823b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa8823b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa8825060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa8825060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa8825060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa8824530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa8824530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa8824530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa8830b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa8830b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa8830b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa883a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa883a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa883a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa879ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa879ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa879ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa879ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffa8c8c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa8c8c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa8c8c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa87b1ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffa87b1ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffa87b1ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffa87cc07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffa87cc07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffa87cc07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffa87cc07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffa87cc07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffa87cc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffffa87cc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffffa87cc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffffa87ccb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa87ccb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa87ccb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa87ccb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa87ccb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffa8a96bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa8a96bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa8a96bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa8a96bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa8a96bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa8a97b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffa8a97b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa8a97b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa8a9c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa8a9c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa8a9c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa8a9c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa8a9c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa6ef2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffa6ef2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa6ef2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffa6ef2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa85b7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa856f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa856f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa856f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa85f551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab54959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab54994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab549aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab5491fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9fb4098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff9fb40a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab54920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/handle_constructors_for_default_arguments.cpp.script: line 1: 2537801 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -fsyntax-only -analyze -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/handle_constructors_for_default_arguments.cpp -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/handle_constructors_with_new_array.cpp (771 of 18966) ******************** TEST 'Clang :: Analysis/handle_constructors_with_new_array.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -fsyntax-only -analyze -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/handle_constructors_with_new_array.cpp -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -fsyntax-only -analyze -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/handle_constructors_with_new_array.cpp -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_dynamic_aggregate() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/handle_constructors_with_new_array.cpp:69:14: Error evaluating New Allocator Call #0 0x0000ffff82aeacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff82ae9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff82aeb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8ba66800 (linux-vdso.so.1+0x800) #4 0x0000ffff8ad629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8ad629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8ad629e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8ad629e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8ad629e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8ad629e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8ad629e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8ad629e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8aa10048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8aa10048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8aa10048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8aa10048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8aa10f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8aa10f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8aa10f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8aa10f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8aa23b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8aa23b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8aa23b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8aa25060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8aa25060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8aa25060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8aa24530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8aa24530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8aa24530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8aa30b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8aa30b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8aa30b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8aa3a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8aa3a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8aa3a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8a99eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8a99eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8a99eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8a99eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8a99efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8a99efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8a99efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff8a9c8f68 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff8a9c8f68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff8a9c8f68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff8a9c8f68 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff8a9c8f68 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff8a9c937c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff8a9c937c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff8a9c937c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff8a9c937c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff8a9c937c clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffff8a9cc5fc clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffff8a9cc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #54 0x0000ffff8a9ccb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffff8a9ccb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffff8a9ccb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffff8a9ccb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffff8a9ccb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #59 0x0000ffff8ac96bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffff8ac96bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffff8ac96bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffff8ac96bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffff8ac96bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffff8ac97b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #65 0x0000ffff8ac97b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffff8ac97b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffff8ac9c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffff8ac9c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffff8ac9c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffff8ac9c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffff8ac9c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffff890f2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #73 0x0000ffff890f2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffff890f2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #75 0x0000ffff890f2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffff8a7b7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffff8a76f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffff8a76f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffff8a76f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffff8a7f551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaab40f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaab40f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaab40faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaab40f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffff81d4098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffff81d40a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaab40f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/handle_constructors_with_new_array.cpp.script: line 1: 2537809 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -fsyntax-only -analyze -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/handle_constructors_with_new_array.cpp -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/hangs.c (773 of 18966) ******************** TEST 'Clang :: Analysis/hangs.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/hangs.c -analyzer-checker core,debug.ExprInspection -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/hangs.c -analyzer-checker core,debug.ExprInspection 1. parser at end of file 2. While analyzing stack: #0 Calling produce_an_exponentially_exploding_symbol_3 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/hangs.c:85:3 : Error evaluating statement #0 0x0000ffff8deaacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8dea9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8deab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff96e2e800 (linux-vdso.so.1+0x800) #4 0x0000ffff95dcc134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff95dcc134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff95dcc134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff95dcc134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff95dcc134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff95dcc134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff95d7748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff95d7748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff95d7748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff95d8c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff95d8c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff95d8c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff95d8c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff95d8c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff95d8c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff95d8c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff95d8c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff95d8c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff95d8c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #23 0x0000ffff95d8c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff95d8c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff95d8cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff95d8cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff95d8cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff95d8cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff95d8cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #30 0x0000ffff96056bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff96056bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff96056bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff96056bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff96056bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff96057b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #36 0x0000ffff96057b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff96057b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff9605c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff9605c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff9605c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff9605c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff9605c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff944b2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #44 0x0000ffff944b2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff944b2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #46 0x0000ffff944b2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff95b77450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff95b2f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff95b2f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff95b2f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff95bb551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaae9dc59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaae9dc94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaae9dcaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaae9dc1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff8d10098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff8d100a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaae9dc20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/hangs.c.script: line 1: 2537824 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/hangs.c -analyzer-checker core,debug.ExprInspection -- ******************** Testing: 0 FAIL: Clang :: Analysis/html_diagnostics/relevant_lines/goto.c (774 of 18966) ******************** TEST 'Clang :: Analysis/html_diagnostics/relevant_lines/goto.c' FAILED ******************** Script: -- : 'RUN: at line 10'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/goto.c.tmp.output : 'RUN: at line 11'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/goto.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/goto.c : 'RUN: at line 12'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/goto.c.tmp.output/* | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/goto.c --match-full-lines -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/goto.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/goto.c 1. parser at end of file 2. While analyzing stack: #0 Calling goto_test 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/goto.c:3:7: Error evaluating branch #0 0x0000ffff900facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff900f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff900fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9907d800 (linux-vdso.so.1+0x800) #4 0x0000ffff983729e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff983729e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff983729e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff983729e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff983729e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff983729e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff983729e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff983729e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff98020048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff98020048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff98020048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff98020048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff98020f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff98020f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff98020f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff98020f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff98034cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff98034cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff98034cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff98034f90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff98034f90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff98034f90 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff98034530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff98034530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff98034530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff98040b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff98040b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff98040b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9804a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9804a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9804a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff97faeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff97faeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff97faeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff97faeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9849c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9849c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9849c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff97fc4c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff97fc4c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff97fc4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff97fc4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff97fc4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff97fc4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff97fc4c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff97fc4c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff97fc4c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff97fc4c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff97fc5200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff97fdcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff97fdcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff97fdcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff97fdcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff97fdcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff982a6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff982a6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff982a6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff982a6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff982a6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff982a7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff982a7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff982a7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff982ac130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff982ac130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff982ac130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff982ac130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff982ac130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff96702058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff96702058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff96702058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff96702058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff97dc7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff97d7f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff97d7f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff97d7f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff97e0551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab00f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab00f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab00faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab00f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8f35098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff8f350a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab00f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/goto.c.script: line 3: 2537861 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/goto.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/goto.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/html_diagnostics/control-arrows.cpp (775 of 18966) ******************** TEST 'Clang :: Analysis/html_diagnostics/control-arrows.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -fR /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/Output/control-arrows.cpp.tmp : 'RUN: at line 2'; mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/Output/control-arrows.cpp.tmp : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/Output/control-arrows.cpp.tmp -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/control-arrows.cpp : 'RUN: at line 5'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/Output/control-arrows.cpp.tmp/report-*.html | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/control-arrows.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/Output/control-arrows.cpp.tmp -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/control-arrows.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foobar(_Bool, int *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/control-arrows.cpp:12:7: Error evaluating branch #0 0x0000ffff8dcdacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8dcd9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8dcdb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff96c52800 (linux-vdso.so.1+0x800) #4 0x0000ffff95f529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff95f529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff95f529e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff95f529e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff95f529e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff95f529e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff95f529e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff95f529e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff95c00048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff95c00048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff95c00048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff95c00048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff95c00d10 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff95c00d10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff95c00d10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff95c00d10 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffff95c14cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff95c14cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff95c14cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff95c14f90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff95c14f90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff95c14f90 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff95c14530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff95c14530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff95c14530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff95c20b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff95c20b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff95c20b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff95c2a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff95c2a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff95c2a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff95b8ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff95b8ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff95b8ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff95b8ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff9607c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9607c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9607c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff95ba4c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff95ba4c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff95ba4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff95ba4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff95ba4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff95ba4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff95ba4c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff95ba4c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff95ba4c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff95ba4c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff95ba5200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff95bbcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff95bbcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff95bbcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff95bbcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff95bbcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff95e86bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff95e86bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff95e86bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff95e86bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff95e86bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff95e87b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff95e87b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff95e87b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff95e8c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff95e8c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff95e8c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff95e8c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff95e8c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff942e2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff942e2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff942e2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff942e2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff959a7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9595f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9595f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9595f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff959e551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaac9159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaac9194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaac91aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaac911fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8cf3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff8cf30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaac9120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/Output/control-arrows.cpp.script: line 4: 2537864 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/Output/control-arrows.cpp.tmp -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/control-arrows.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/html_diagnostics/relevant_lines/macros_same_file.c (776 of 18966) ******************** TEST 'Clang :: Analysis/html_diagnostics/relevant_lines/macros_same_file.c' FAILED ******************** Script: -- : 'RUN: at line 12'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/macros_same_file.c.tmp.output : 'RUN: at line 13'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/macros_same_file.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/macros_same_file.c : 'RUN: at line 14'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/macros_same_file.c.tmp.output/* | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/macros_same_file.c --match-full-lines -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/macros_same_file.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/macros_same_file.c 1. parser at end of file 2. While analyzing stack: #0 Calling f 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/macros_same_file.c:4:7: Error evaluating branch #0 0x0000ffff9869acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff98699100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9869b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa1616800 (linux-vdso.so.1+0x800) #4 0x0000ffffa09129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa09129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa09129e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa09129e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa09129e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa09129e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa09129e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa09129e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa05c0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa05c0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa05c0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa05c0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa05c0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa05c0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa05c0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa05c0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa05d4cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa05d4cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa05d4cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffa05d4f90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa05d4f90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa05d4f90 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffa05d4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa05d4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa05d4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa05e0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa05e0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa05e0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa05ea414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa05ea414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa05ea414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa054eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa054eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa054eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa054eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa0a3c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa0a3c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa0a3c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa0564c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffa0564c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffa0564c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffa0564c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffa0564c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffa0564c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffa0564c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffa0564c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffa0564c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffa0564c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffa0565200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffa057cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa057cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa057cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa057cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa057cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffa0846bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa0846bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa0846bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa0846bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa0846bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa0847b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffa0847b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa0847b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa084c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa084c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa084c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa084c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa084c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff9eca2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff9eca2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff9eca2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff9eca2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa0367450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa031f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa031f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa031f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa03a551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab5fb59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab5fb94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab5fbaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab5fb1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff978f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff978f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab5fb20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/macros_same_file.c.script: line 3: 2537879 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/macros_same_file.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/macros_same_file.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/html_diagnostics/relevant_lines/multifile.c (777 of 18966) ******************** TEST 'Clang :: Analysis/html_diagnostics/relevant_lines/multifile.c' FAILED ******************** Script: -- : 'RUN: at line 11'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/multifile.c.tmp.output : 'RUN: at line 12'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/multifile.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/multifile.c : 'RUN: at line 13'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/multifile.c.tmp.output/* | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/multifile.c --match-full-lines -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/multifile.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/multifile.c 1. parser at end of file 2. While analyzing stack: #0 Calling f 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/multifile.c:5:7: Error evaluating branch #0 0x0000ffff951cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff951c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff951cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9e14c800 (linux-vdso.so.1+0x800) #4 0x0000ffff9d4429e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9d4429e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9d4429e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9d4429e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9d4429e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9d4429e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9d4429e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9d4429e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9d0f0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9d0f0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9d0f0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9d0f0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9d0f0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9d0f0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9d0f0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9d0f0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9d104cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9d104cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9d104cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff9d104f90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9d104f90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9d104f90 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff9d104530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9d104530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9d104530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9d110b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9d110b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9d110b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9d11a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9d11a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9d11a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9d07eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9d07eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9d07eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9d07eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9d56c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9d56c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9d56c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9d094c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff9d094c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff9d094c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff9d094c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff9d094c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff9d094c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff9d094c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff9d094c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff9d094c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff9d094c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff9d095200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff9d0acb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9d0acb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9d0acb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9d0acb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9d0acb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff9d376bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9d376bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9d376bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9d376bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9d376bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff9d377b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff9d377b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff9d377b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9d37c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9d37c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9d37c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9d37c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9d37c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff9b7d2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff9b7d2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff9b7d2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff9b7d2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff9ce97450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9ce4f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9ce4f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9ce4f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9ced551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaada2e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaada2e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaada2eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaada2e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9442098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff94420a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaada2e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/multifile.c.script: line 3: 2537889 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/multifile.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/multifile.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/html_diagnostics/relevant_lines/multiline_func_def.c (782 of 18966) ******************** TEST 'Clang :: Analysis/html_diagnostics/relevant_lines/multiline_func_def.c' FAILED ******************** Script: -- : 'RUN: at line 13'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/multiline_func_def.c.tmp.output : 'RUN: at line 14'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/multiline_func_def.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/multiline_func_def.c : 'RUN: at line 15'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/multiline_func_def.c.tmp.output/* | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/multiline_func_def.c --match-full-lines -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/multiline_func_def.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/multiline_func_def.c 1. parser at end of file 2. While analyzing stack: #0 Calling f 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/multiline_func_def.c:5:7: Error evaluating branch #0 0x0000ffffaccbacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaccb9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaccbb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb5c32800 (linux-vdso.so.1+0x800) #4 0x0000ffffb4f329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb4f329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb4f329e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb4f329e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb4f329e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb4f329e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb4f329e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb4f329e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb4be0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb4be0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb4be0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb4be0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb4be0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb4be0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb4be0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb4be0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb4bf4cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb4bf4cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb4bf4cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffb4bf4f90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb4bf4f90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb4bf4f90 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffb4bf4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb4bf4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb4bf4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb4c00b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb4c00b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb4c00b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb4c0a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb4c0a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb4c0a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb4b6eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb4b6eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb4b6eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb4b6eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb505c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb505c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb505c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb4b84c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffb4b84c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffb4b84c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffb4b84c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffb4b84c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffb4b84c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffb4b84c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffb4b84c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffb4b84c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffb4b84c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffb4b85200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffb4b9cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb4b9cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb4b9cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb4b9cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb4b9cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb4e66bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb4e66bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb4e66bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb4e66bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb4e66bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb4e67b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb4e67b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb4e67b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb4e6c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb4e6c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb4e6c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb4e6c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb4e6c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb32c2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb32c2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb32c2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb32c2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb4987450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb493f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb493f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb493f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb49c551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaab4459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaab4494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaab44aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaab441fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffabf1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffabf10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaab4420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/multiline_func_def.c.script: line 3: 2537903 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/multiline_func_def.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/multiline_func_def.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/html_diagnostics/relevant_lines/objcmethods.m (783 of 18966) ******************** TEST 'Clang :: Analysis/html_diagnostics/relevant_lines/objcmethods.m' FAILED ******************** Script: -- : 'RUN: at line 16'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/objcmethods.m.tmp.output : 'RUN: at line 17'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/objcmethods.m.tmp.output -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/objcmethods.m : 'RUN: at line 18'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/objcmethods.m.tmp.output/* | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/objcmethods.m -- Exit Code: 139 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/objcmethods.m:5:17: warning: method definition for 'func' not found [-Wincomplete-implementation] 5 | @implementation I | ^ 6 | - (int)func:(int *)param { 7 | return *param; 8 | } 9 | @end /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/objcmethods.m:2:1: note: method 'func' declared here 2 | - (int)func; | ^ PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/objcmethods.m.tmp.output -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/objcmethods.m 1. parser at end of file 2. While analyzing stack: #0 Calling foo 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/objcmethods.m:13:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/objcmethods.m:13:3: Error evaluating statement #0 0x0000ffff884facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff884f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff884fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff91471800 (linux-vdso.so.1+0x800) #4 0x0000ffff907729e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff907729e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff907729e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff907729e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff907729e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff907729e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff907729e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff907729e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff90420048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff90420048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff90420048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff90420048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff90420f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff90420f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff90420f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff90420f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff90433b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff90433b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff90433b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff90435060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff90435060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff90435060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff90434530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff90434530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff90434530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff90440b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff90440b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff90440b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9044a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9044a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9044a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff903aeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff903aeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff903aeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff903aeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9089c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9089c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9089c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff90410afc std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffff90410afc std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffff90410afc std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffff90410afc std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffff90410afc std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffff90410afc clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #48 0x0000ffff903dae08 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #49 0x0000ffff903dae08 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #50 0x0000ffff903dc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffff903dc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffff903dc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffff903dcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff903dcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff903dcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff903dcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff903dcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff906a6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff906a6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff906a6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff906a6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff906a6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff906a7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff906a7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff906a7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff906ac130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff906ac130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff906ac130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff906ac130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff906ac130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff8eb02058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff8eb02058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff8eb02058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff8eb02058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff901c7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9017f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9017f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9017f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9020551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae3f959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae3f994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae3f9aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae3f91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8775098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff87750a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae3f920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/objcmethods.m.script: line 3: 2537917 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/objcmethods.m.tmp.output -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/objcmethods.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/html_diagnostics/relevant_lines/simple_conditional.c (785 of 18966) ******************** TEST 'Clang :: Analysis/html_diagnostics/relevant_lines/simple_conditional.c' FAILED ******************** Script: -- : 'RUN: at line 10'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/simple_conditional.c.tmp.output : 'RUN: at line 11'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/simple_conditional.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/simple_conditional.c : 'RUN: at line 12'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/simple_conditional.c.tmp.output/* | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/simple_conditional.c --match-full-lines -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/simple_conditional.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/simple_conditional.c 1. parser at end of file 2. While analyzing stack: #0 Calling f 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/simple_conditional.c:2:7: Error evaluating branch #0 0x0000ffff9ea6acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9ea69100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9ea6b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa79e4800 (linux-vdso.so.1+0x800) #4 0x0000ffffa6ce29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa6ce29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa6ce29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa6ce29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa6ce29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa6ce29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa6ce29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa6ce29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa6990048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa6990048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa6990048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa6990048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa6990f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa6990f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa6990f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa6990f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa69a4cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa69a4cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa69a4cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffa69a4f90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa69a4f90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa69a4f90 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffa69a4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa69a4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa69a4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa69b0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa69b0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa69b0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa69ba414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa69ba414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa69ba414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa691eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa691eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa691eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa691eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa6e0c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa6e0c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa6e0c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa6934c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffa6934c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffa6934c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffa6934c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffa6934c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffa6934c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffa6934c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffa6934c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffa6934c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffa6934c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffa6935200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffa694cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa694cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa694cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa694cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa694cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffa6c16bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa6c16bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa6c16bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa6c16bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa6c16bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa6c17b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffa6c17b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa6c17b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa6c1c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa6c1c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa6c1c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa6c1c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa6c1c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa5072058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffa5072058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa5072058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffa5072058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa6737450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa66ef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa66ef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa66ef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa677551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae8ca59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae8ca94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae8caaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae8ca1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9dcc098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff9dcc0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae8ca20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/simple_conditional.c.script: line 3: 2537923 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/simple_conditional.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/simple_conditional.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/html_diagnostics/relevant_lines/synthesized_body.cpp (787 of 18966) ******************** TEST 'Clang :: Analysis/html_diagnostics/relevant_lines/synthesized_body.cpp' FAILED ******************** Script: -- : 'RUN: at line 22'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/synthesized_body.cpp.tmp.output : 'RUN: at line 23'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/synthesized_body.cpp.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/synthesized_body.cpp : 'RUN: at line 24'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/synthesized_body.cpp.tmp.output/* | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/synthesized_body.cpp --match-full-lines -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/synthesized_body.cpp.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/synthesized_body.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling std::once_flag_s::once_flag_s() at line 16 #1 Calling call_deref_once() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/synthesized_body.cpp:3:16: Error evaluating statement #0 0x0000ffffa661acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa6619100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa661b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaf59a800 (linux-vdso.so.1+0x800) #4 0x0000ffffae4e7188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffae4e7188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffae4e7188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffae4e7188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffae4e7188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffae4e7188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffae4e7188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffae4e7188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffffae4fc264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffae4fc264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffae4fc264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffae4fc264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffae4fc264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffae4fc264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffae4fc264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffae4fc264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffae4fc264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffffae4fc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #22 0x0000ffffae4fc6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffffae4fc9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffffae4fcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffae4fcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffae4fcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffae4fcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffae4fcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #29 0x0000ffffae7c6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffae7c6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffae7c6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffae7c6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffae7c6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffae7c7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #35 0x0000ffffae7c7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffae7c7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffae7cc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffae7cc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffae7cc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffae7cc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffae7cc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffacc22058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #43 0x0000ffffacc22058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffacc22058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #45 0x0000ffffacc22058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffae2e7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffae29f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffae29f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffae29f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffae32551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaadc6859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaadc6894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaadc68aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaadc681fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffffa587098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffffa5870a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaadc6820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/synthesized_body.cpp.script: line 3: 2537956 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/synthesized_body.cpp.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/synthesized_body.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/html_diagnostics/relevant_lines/switch_default.c (788 of 18966) ******************** TEST 'Clang :: Analysis/html_diagnostics/relevant_lines/switch_default.c' FAILED ******************** Script: -- : 'RUN: at line 17'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch_default.c.tmp.output : 'RUN: at line 18'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch_default.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/switch_default.c : 'RUN: at line 19'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch_default.c.tmp.output/* | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/switch_default.c --match-full-lines -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch_default.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/switch_default.c 1. parser at end of file #0 0x0000ffff9759acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff97599100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9759b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa0516800 (linux-vdso.so.1+0x800) #4 0x0000ffff9f8129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9f8129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9f8129e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9f8129e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9f8129e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9f8129e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9f8129e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9f8129e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9f4c0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9f4c0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9f4c0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9f4c0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9f4c20b8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9f4c20b8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9f4c20b8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9f4c20b8 (anonymous namespace)::RangeConstraintManager::assumeSymWithinInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3224:0 #20 0x0000ffff9f4d41f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9f4d41f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9f4d41f8 clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:129:64 #23 0x0000ffff9f4d4754 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9f4d4754 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9f4d4754 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #26 0x0000ffff9f44f108 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9f44f108 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9f44f108 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:75 #29 0x0000ffff9f44f108 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffff9f4655b8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff9f4655b8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff9f4655b8 clang::ento::ProgramState::assumeInclusiveRange(clang::ento::DefinedOrUnknownSVal, llvm::APSInt const&, llvm::APSInt const&) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:746:43 #33 0x0000ffff9f4655b8 clang::ento::ExprEngine::processSwitch(clang::ento::SwitchNodeBuilder&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3004:42 #34 0x0000ffff9f46cf8c clang::ento::CoreEngine::HandleBlockExit(clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:422:0 #35 0x0000ffff9f47cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff9f47cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff9f47cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffff9f47cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffff9f47cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffff9f746bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffff9f746bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffff9f746bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffff9f746bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffff9f746bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffff9f747b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffff9f747b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffff9f747b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffff9f74c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffff9f74c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffff9f74c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffff9f74c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffff9f74c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffff9dba2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffff9dba2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffff9dba2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffff9dba2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffff9f267450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffff9f21f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffff9f21f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffff9f21f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffff9f2a551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaac82559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaac82594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaac825aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaac8251fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff967f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff967f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaac82520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch_default.c.script: line 3: 2537948 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch_default.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/switch_default.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/html_diagnostics/relevant_lines/switch.c (789 of 18966) ******************** TEST 'Clang :: Analysis/html_diagnostics/relevant_lines/switch.c' FAILED ******************** Script: -- : 'RUN: at line 17'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch.c.tmp.output : 'RUN: at line 18'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/switch.c : 'RUN: at line 19'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch.c.tmp.output/* | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/switch.c --match-full-lines -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/switch.c 1. parser at end of file #0 0x0000ffff8942acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff89429100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8942b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff923a9800 (linux-vdso.so.1+0x800) #4 0x0000ffff916a29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff916a29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff916a29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff916a29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff916a29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff916a29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff916a29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff916a29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff91350048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff91350048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff91350048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff91350048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff913520b8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff913520b8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff913520b8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff913520b8 (anonymous namespace)::RangeConstraintManager::assumeSymWithinInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3224:0 #20 0x0000ffff913641f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff913641f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff913641f8 clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:129:64 #23 0x0000ffff91364754 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff91364754 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff91364754 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #26 0x0000ffff912df108 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff912df108 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff912df108 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:75 #29 0x0000ffff912df108 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffff912f55b8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff912f55b8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff912f55b8 clang::ento::ProgramState::assumeInclusiveRange(clang::ento::DefinedOrUnknownSVal, llvm::APSInt const&, llvm::APSInt const&) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:746:43 #33 0x0000ffff912f55b8 clang::ento::ExprEngine::processSwitch(clang::ento::SwitchNodeBuilder&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3004:42 #34 0x0000ffff912fcf8c clang::ento::CoreEngine::HandleBlockExit(clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:422:0 #35 0x0000ffff9130cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff9130cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff9130cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffff9130cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffff9130cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffff915d6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffff915d6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffff915d6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffff915d6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffff915d6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffff915d7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffff915d7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffff915d7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffff915dc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffff915dc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffff915dc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffff915dc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffff915dc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffff8fa32058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffff8fa32058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffff8fa32058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffff8fa32058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffff910f7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffff910af104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffff910af104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffff910af104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffff9113551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaacbc459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaacbc494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaacbc4aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaacbc41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff8868098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff88680a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaacbc420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch.c.script: line 3: 2537938 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/switch.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/html_diagnostics/relevant_lines/unused_header.c (794 of 18966) ******************** TEST 'Clang :: Analysis/html_diagnostics/relevant_lines/unused_header.c' FAILED ******************** Script: -- : 'RUN: at line 16'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/unused_header.c.tmp.output : 'RUN: at line 17'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/unused_header.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/unused_header.c : 'RUN: at line 18'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/unused_header.c.tmp.output/* | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/unused_header.c --match-full-lines -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/unused_header.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/unused_header.c 1. parser at end of file 2. While analyzing stack: #0 Calling f 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/unused_header.c:4:7: Error evaluating branch #0 0x0000ffff7e87acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7e879100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7e87b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff877f4800 (linux-vdso.so.1+0x800) #4 0x0000ffff86af29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff86af29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff86af29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff86af29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff86af29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff86af29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff86af29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff86af29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff867a0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff867a0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff867a0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff867a0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff867a0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff867a0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff867a0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff867a0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff867b4cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff867b4cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff867b4cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff867b4f90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff867b4f90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff867b4f90 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff867b4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff867b4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff867b4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff867c0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff867c0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff867c0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff867ca414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff867ca414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff867ca414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8672eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8672eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8672eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8672eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff86c1c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff86c1c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff86c1c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff86744c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff86744c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff86744c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff86744c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff86744c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff86744c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff86744c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff86744c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff86744c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff86744c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff86745200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff8675cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8675cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8675cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8675cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8675cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff86a26bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff86a26bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff86a26bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff86a26bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff86a26bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff86a27b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff86a27b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff86a27b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff86a2c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff86a2c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff86a2c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff86a2c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff86a2c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff84e82058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff84e82058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff84e82058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff84e82058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff86547450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff864ff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff864ff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff864ff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8658551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab72859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab72894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab728aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab7281fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7dad098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7dad0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab72820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/unused_header.c.script: line 3: 2537961 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/unused_header.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/unused_header.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/identical-expressions.cpp (795 of 18966) ******************** TEST 'Clang :: Analysis/identical-expressions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core.IdenticalExpr -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/identical-expressions.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core.IdenticalExpr -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/identical-expressions.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_nowarn_inner_if_1(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/identical-expressions.cpp:1553:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/identical-expressions.cpp:1553:7: Error evaluating statement #0 0x0000ffffa35bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa35b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa35bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffac536800 (linux-vdso.so.1+0x800) #4 0x0000ffffab8329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffab8329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffab8329e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffab8329e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffab8329e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffab8329e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffab8329e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffab8329e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffab4e0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffab4e0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffab4e0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffab4e0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffab4e0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffab4e0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffab4e0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffab4e0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffab4f3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffab4f3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffab4f3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffab4f5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffab4f5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffab4f5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffab4f4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffab4f4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffab4f4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffab500b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffab500b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffab500b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffab50a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffab50a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffab50a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffab46ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffab46ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffab46ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffab46ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffab95c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffab95c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffab95c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffab481ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffab481ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffab481ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffab49c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffab49c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffab49c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffab49c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffab49c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffab49c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffffab49c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffffab49c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffffab49cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffab49cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffab49cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffab49cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffab49cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffab766bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffab766bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffab766bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffab766bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffab766bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffab767b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffab767b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffab767b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffab76c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffab76c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffab76c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffab76c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffab76c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa9bc2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffa9bc2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa9bc2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffa9bc2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffab287450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffab23f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffab23f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffab23f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffab2c551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad33e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad33e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad33eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad33e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa281098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa2810a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad33e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/identical-expressions.cpp.script: line 1: 2538000 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core.IdenticalExpr -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/identical-expressions.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/implicit-ctor-undef-value.cpp (796 of 18966) ******************** TEST 'Clang :: Analysis/implicit-ctor-undef-value.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/implicit-ctor-undef-value.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/implicit-ctor-undef-value.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling base_class_constructor::D::D() at line 71 #1 Calling base_class_constructor::test() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/implicit-ctor-undef-value.cpp:67:8: Error evaluating statement #0 0x0000ffff8d2cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8d2c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8d2cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff96246800 (linux-vdso.so.1+0x800) #4 0x0000ffff95197188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff95197188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff95197188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff95197188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff95197188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff95197188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff95197188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff95197188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff951ac264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff951ac264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff951ac264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff951ac264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff951ac264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff951ac264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff951ac264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff951ac264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff951ac264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffff951ac5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #22 0x0000ffff951ac6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffff951ac9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffff951acb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff951acb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff951acb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff951acb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff951acb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #29 0x0000ffff95476bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff95476bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff95476bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff95476bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff95476bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff95477b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #35 0x0000ffff95477b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff95477b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff9547c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff9547c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff9547c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff9547c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff9547c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff938d2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #43 0x0000ffff938d2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff938d2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #45 0x0000ffff938d2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff94f97450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff94f4f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff94f4f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff94f4f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff94fd551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaae16b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaae16b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaae16baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaae16b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff8c52098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff8c520a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaae16b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/implicit-ctor-undef-value.cpp.script: line 1: 2538015 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/implicit-ctor-undef-value.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/infeasible-crash.c (800 of 18966) ******************** TEST 'Clang :: Analysis/infeasible-crash.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/infeasible-crash.c -analyzer-checker=core -analyzer-checker=alpha.unix.cstring.OutOfBounds,alpha.unix.cstring.UninitializedRead -analyzer-config eagerly-assume=false -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/infeasible-crash.c -analyzer-checker=core -analyzer-checker=alpha.unix.cstring.OutOfBounds,alpha.unix.cstring.UninitializedRead -analyzer-config eagerly-assume=false -verify 1. parser at end of file 2. While analyzing stack: #0 Calling d 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/infeasible-crash.c:21:11: Error evaluating statement #0 0x0000ffff7f3dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7f3d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7f3db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff88357800 (linux-vdso.so.1+0x800) #4 0x0000ffff872fc134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff872fc134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff872fc134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff872fc134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff872fc134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff872fc134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff872a748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff872a748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff872a748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff872bc264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff872bc264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff872bc264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff872bc264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff872bc264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff872bc264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff872bc264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff872bc264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff872bc264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff872bc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #23 0x0000ffff872bc6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff872bc9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff872bcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff872bcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff872bcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff872bcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff872bcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #30 0x0000ffff87586bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff87586bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff87586bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff87586bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff87586bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff87587b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #36 0x0000ffff87587b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff87587b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff8758c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff8758c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff8758c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff8758c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff8758c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff859e2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #44 0x0000ffff859e2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff859e2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #46 0x0000ffff859e2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff870a7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff8705f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff8705f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff8705f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff870e551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaabcb059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaabcb094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaabcb0aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaabcb01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff7e63098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff7e630a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaabcb020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/infeasible-crash.c.script: line 1: 2538037 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/infeasible-crash.c -analyzer-checker=core -analyzer-checker=alpha.unix.cstring.OutOfBounds,alpha.unix.cstring.UninitializedRead -analyzer-config eagerly-assume=false -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/incorrect-checker-names.mm (801 of 18966) ******************** TEST 'Clang :: Analysis/incorrect-checker-names.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -fobjc-arc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/incorrect-checker-names.mm -Wno-objc-root-class -analyzer-checker=core -analyzer-checker=alpha.core.StackAddressAsyncEscape -analyzer-checker=nullability -analyzer-checker=osx -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -fobjc-arc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/incorrect-checker-names.mm -Wno-objc-root-class -analyzer-checker=core -analyzer-checker=alpha.core.StackAddressAsyncEscape -analyzer-checker=nullability -analyzer-checker=osx 1. parser at end of file 2. While analyzing stack: #0 Calling anonymous code 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/incorrect-checker-names.mm:148:5: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/incorrect-checker-names.mm:148:5: Error evaluating statement #0 0x0000ffff82c6acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff82c69100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff82c6b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8bbe2800 (linux-vdso.so.1+0x800) #4 0x0000ffff8aee29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8aee29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8aee29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8aee29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8aee29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8aee29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8aee29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8aee29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8ab90048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8ab90048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8ab90048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8ab90048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8ab90f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8ab90f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8ab90f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8ab90f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8aba3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8aba3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8aba3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8aba5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8aba5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8aba5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8aba4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8aba4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8aba4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8abb0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8abb0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8abb0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8abba414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8abba414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8abba414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8ab1eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8ab1eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8ab1eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8ab1eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8b00c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8b00c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8b00c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8ac3e270 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff8ac3e270 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff8ac3e270 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffff8ac3e270 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffff8ab08e38 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffff8ab31640 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffff8ab31640 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffff8ab36c38 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffff8ab36c38 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffff8ab36c38 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff8ab36c38 clang::ento::ExprEngine::evalStore(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ento::SVal, clang::ProgramPointTag const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3628:15 #53 0x0000ffff8ab3fc04 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffff8ab3fc04 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffff8ab3fc04 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:74:0 #56 0x0000ffff8ab4bfa8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #57 0x0000ffff8ab4c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #58 0x0000ffff8ab4c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #59 0x0000ffff8ab4c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #60 0x0000ffff8ab4cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #61 0x0000ffff8ab4cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #62 0x0000ffff8ab4cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #63 0x0000ffff8ab4cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #64 0x0000ffff8ab4cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #65 0x0000ffff8ae16bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #66 0x0000ffff8ae16bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #67 0x0000ffff8ae16bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #68 0x0000ffff8ae16bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #69 0x0000ffff8ae16bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #70 0x0000ffff8ae17b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #71 0x0000ffff8ae17b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #72 0x0000ffff8ae17b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #73 0x0000ffff8ae1c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #74 0x0000ffff8ae1c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #75 0x0000ffff8ae1c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #76 0x0000ffff8ae1c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #77 0x0000ffff8ae1c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #78 0x0000ffff89272058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #79 0x0000ffff89272058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #80 0x0000ffff89272058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #81 0x0000ffff89272058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #82 0x0000ffff8a937450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #83 0x0000ffff8a8ef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #84 0x0000ffff8a8ef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #85 0x0000ffff8a8ef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #86 0x0000ffff8a97551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #87 0x0000aaaabbd859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #88 0x0000aaaabbd894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #89 0x0000aaaabbd8aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #90 0x0000aaaabbd81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #91 0x0000ffff81ec098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #92 0x0000ffff81ec0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #93 0x0000aaaabbd820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/incorrect-checker-names.mm.script: line 1: 2538030 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -fobjc-arc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/incorrect-checker-names.mm -Wno-objc-root-class -analyzer-checker=core -analyzer-checker=alpha.core.StackAddressAsyncEscape -analyzer-checker=nullability -analyzer-checker=osx -- ******************** Testing: 0 FAIL: Clang :: Analysis/infeasible-sink.c (802 of 18966) ******************** TEST 'Clang :: Analysis/infeasible-sink.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/infeasible-sink.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/infeasible-sink.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/infeasible-sink.c:43:7: Error evaluating branch #0 0x0000ffff8fa9acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8fa99100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8fa9b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff98a19800 (linux-vdso.so.1+0x800) #4 0x0000ffff97d129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff97d129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff97d129e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff97d129e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff97d129e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff97d129e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff97d129e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff97d129e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff979c0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff979c0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff979c0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff979c0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff979c0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff979c0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff979c0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff979c0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff979d3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff979d3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff979d3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff979d5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff979d5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff979d5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff979d4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff979d4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff979d4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff979e0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff979e0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff979e0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff979ea414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff979ea414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff979ea414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9794ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9794ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9794ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9794ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff97e3c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff97e3c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff97e3c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff97964c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff97964c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff97964c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff97964c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff97964c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff97964c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff97964c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff97964c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff97964c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff97964c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff97965200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff9797cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9797cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9797cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9797cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9797cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff97c46bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff97c46bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff97c46bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff97c46bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff97c46bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff97c47b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff97c47b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff97c47b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff97c4c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff97c4c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff97c4c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff97c4c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff97c4c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff960a2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff960a2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff960a2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff960a2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff97767450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9771f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9771f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9771f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff977a551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaacbde59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaacbde94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaacbdeaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaacbde1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8ecf098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff8ecf0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaacbde20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/infeasible-sink.c.script: line 1: 2538048 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/infeasible-sink.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/initializer.cpp (803 of 18966) ******************** TEST 'Clang :: Analysis/initializer.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/initializer.cpp -analyzer-checker=core,unix.Malloc,cplusplus.NewDeleteLeaks -analyzer-checker=debug.ExprInspection -std=c++11 : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/initializer.cpp -analyzer-checker=core,unix.Malloc,cplusplus.NewDeleteLeaks -analyzer-checker=debug.ExprInspection -std=c++17 : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/initializer.cpp -analyzer-checker=core,unix.Malloc,cplusplus.NewDeleteLeaks -analyzer-checker=debug.ExprInspection -std=c++11 -DTEST_INLINABLE_ALLOCATORS : 'RUN: at line 11'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/initializer.cpp -analyzer-checker=core,unix.Malloc,cplusplus.NewDeleteLeaks -analyzer-checker=debug.ExprInspection -std=c++17 -DTEST_INLINABLE_ALLOCATORS -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/initializer.cpp -analyzer-checker=core,unix.Malloc,cplusplus.NewDeleteLeaks -analyzer-checker=debug.ExprInspection -std=c++11 1. parser at end of file 2. While analyzing stack: #0 Calling dont_skip_vbase_initializers_in_most_derived_class::I::I() at line 364 #1 Calling dont_skip_vbase_initializers_in_most_derived_class::testI() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/initializer.cpp:360:10: Error evaluating statement #0 0x0000ffff7f04acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7f049100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7f04b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff87fc7800 (linux-vdso.so.1+0x800) #4 0x0000ffff86f17188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff86f17188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff86f17188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff86f17188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff86f17188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff86f17188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff86f17188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff86f17188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff86f2c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff86f2c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff86f2c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff86f2c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff86f2c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff86f2c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff86f2c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff86f2c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff86f2c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffff86f2c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #22 0x0000ffff86f2c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffff86f2c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffff86f2cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff86f2cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff86f2cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff86f2cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff86f2cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #29 0x0000ffff871f6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff871f6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff871f6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff871f6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff871f6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff871f7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #35 0x0000ffff871f7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff871f7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff871fc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff871fc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff871fc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff871fc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff871fc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff85652058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #43 0x0000ffff85652058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff85652058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #45 0x0000ffff85652058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff86d17450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff86ccf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff86ccf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff86ccf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff86d5551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaae4ef59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaae4ef94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaae4efaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaae4ef1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff7e2a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff7e2a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaae4ef20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/initializer.cpp.script: line 4: 2538063 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/initializer.cpp -analyzer-checker=core,unix.Malloc,cplusplus.NewDeleteLeaks -analyzer-checker=debug.ExprInspection -std=c++11 -- ******************** Testing: 0 FAIL: Clang :: Analysis/inline-plist.c (804 of 18966) ******************** TEST 'Clang :: Analysis/inline-plist.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline-plist.c -analyzer-checker=core.NullDereference,core.DivideZero -fblocks -analyzer-output=text -analyzer-config suppress-null-return-paths=false -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline-plist.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline-plist.c -analyzer-checker=core.NullDereference,core.DivideZero -fblocks -analyzer-output=plist -analyzer-config suppress-null-return-paths=false -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/inline-plist.c.tmp : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling bar 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline-plist.c:39:7: Error evaluating branch #0 0x0000ffff993aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff993a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff993ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa2325800 (linux-vdso.so.1+0x800) #4 0x0000ffffa16229e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa16229e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa16229e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa16229e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa16229e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa16229e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa16229e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa16229e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa12d0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa12d0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa12d0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa12d0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa12d0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa12d0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa12d0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa12d0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa12e3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa12e3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa12e3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa12e5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa12e5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa12e5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa12e4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa12e4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa12e4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa12f0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa12f0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa12f0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa12fa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa12fa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa12fa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa125eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa125eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa125eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa125eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa174c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa174c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa174c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa1274c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffa1274c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffa1274c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffa1274c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffa1274c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffa1274c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffa1274c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffa1274c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffa1274c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffa1274c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffa1275200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffa128cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa128cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa128cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa128cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa128cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffa1556bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa1556bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa1556bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa1556bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa1556bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa1557b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffa1557b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa1557b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa155c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa155c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa155c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa155c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa155c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff9f9b2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff9f9b2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff9f9b2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff9f9b2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa1077450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa102f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa102f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa102f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa10b551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac8f159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac8f194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac8f1aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac8f11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9860098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff98600a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac8f120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/inline-plist.c.script: line 3: 2538081 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline-plist.c -analyzer-checker=core.NullDereference,core.DivideZero -fblocks -analyzer-output=text -analyzer-config suppress-null-return-paths=false -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline-plist.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/inline-not-supported.c (805 of 18966) ******************** TEST 'Clang :: Analysis/inline-not-supported.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline-not-supported.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline-not-supported.c 1. parser at end of file 2. While analyzing stack: #0 Calling test_qux 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline-not-supported.c:22:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline-not-supported.c:22:3: Error evaluating statement #0 0x0000ffffa4e6acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa4e69100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa4e6b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffadde4800 (linux-vdso.so.1+0x800) #4 0x0000ffffad0e29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffad0e29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffad0e29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffad0e29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffad0e29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffad0e29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffad0e29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffad0e29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffacd90048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffacd90048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffacd90048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffacd90048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffacd90f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffacd90f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffacd90f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffacd90f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffacda3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffacda3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffacda3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffacda5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffacda5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffacda5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffacda4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffacda4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffacda4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffacdb0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffacdb0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffacdb0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffacdba414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffacdba414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffacdba414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffacd1eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffacd1eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffacd1eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffacd1eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffad20c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffad20c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffad20c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffacdf3908 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffacdf3908 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffacdf3908 checkFunctionPointerCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:390:79 #45 0x0000ffffacdf3908 checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:546:37 #46 0x0000ffffacdf3908 void clang::ento::check::PreCall::_checkCall<(anonymous namespace)::CallAndMessageChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:168:45 #47 0x0000ffffacd089a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #48 0x0000ffffacd089a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #49 0x0000ffffacd089a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #50 0x0000ffffacd089a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #51 0x0000ffffacd089a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #52 0x0000ffffacd68b70 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #53 0x0000ffffacd68b70 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #54 0x0000ffffacd68b70 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #55 0x0000ffffacd68b70 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #56 0x0000ffffacd68b70 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #57 0x0000ffffacd68b70 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #58 0x0000ffffacd68b70 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:683:44 #59 0x0000ffffacd69514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #60 0x0000ffffacd4b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #61 0x0000ffffacd4b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #62 0x0000ffffacd4c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #63 0x0000ffffacd4c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #64 0x0000ffffacd4c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #65 0x0000ffffacd4cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x0000ffffacd4cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x0000ffffacd4cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #68 0x0000ffffacd4cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #69 0x0000ffffacd4cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #70 0x0000ffffad016bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #71 0x0000ffffad016bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #72 0x0000ffffad016bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #73 0x0000ffffad016bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #74 0x0000ffffad016bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #75 0x0000ffffad017b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #76 0x0000ffffad017b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x0000ffffad017b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #78 0x0000ffffad01c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x0000ffffad01c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x0000ffffad01c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x0000ffffad01c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x0000ffffad01c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x0000ffffab472058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #84 0x0000ffffab472058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x0000ffffab472058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #86 0x0000ffffab472058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x0000ffffacb37450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #88 0x0000ffffacaef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #89 0x0000ffffacaef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #90 0x0000ffffacaef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #91 0x0000ffffacb7551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #92 0x0000aaaacb0659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x0000aaaacb0694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x0000aaaacb06aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x0000aaaacb061fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x0000ffffa40c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #97 0x0000ffffa40c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #98 0x0000aaaacb0620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/inline-not-supported.c.script: line 1: 2538074 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline-not-supported.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/inline.cpp (806 of 18966) ******************** TEST 'Clang :: Analysis/inline.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config ipa=inlining -analyzer-config c++-allocator-inlining=true -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config ipa=inlining -analyzer-config c++-allocator-inlining=true -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling rdar12409977::Child::Child() at line 427 #1 Calling rdar12409977::test() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline.cpp:422:10: Error evaluating statement #0 0x0000ffffae27acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffae279100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffae27b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb71f5800 (linux-vdso.so.1+0x800) #4 0x0000ffffb6147188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb6147188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb6147188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb6147188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb6147188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb6147188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb6147188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb6147188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffffb615c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffb615c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffb615c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffb615c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffb615c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffb615c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffb615c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffb615c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffb615c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffffb615c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #22 0x0000ffffb615c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffffb615c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffffb615cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffb615cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffb615cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffb615cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffb615cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #29 0x0000ffffb6426bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffb6426bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffb6426bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffb6426bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffb6426bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffb6427b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #35 0x0000ffffb6427b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffb6427b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffb642c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffb642c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffb642c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffb642c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffb642c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffb4882058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #43 0x0000ffffb4882058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffb4882058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #45 0x0000ffffb4882058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffb5f47450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffb5eff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffb5eff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffb5eff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffb5f8551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaac55359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaac55394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaac553aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaac5531fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffffad4d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffffad4d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaac55320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/inline.cpp.script: line 1: 2538102 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config ipa=inlining -analyzer-config c++-allocator-inlining=true -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/inline3.c (807 of 18966) ******************** TEST 'Clang :: Analysis/inline3.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline3.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline3.c 1. parser at end of file 2. While analyzing stack: #0 Calling f1 at line 14 #1 Calling f2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline3.c:9:12: Error evaluating branch #0 0x0000ffff9ea5acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9ea59100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9ea5b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa79d7800 (linux-vdso.so.1+0x800) #4 0x0000ffffa6cd29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa6cd29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa6cd29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa6cd29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa6cd29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa6cd29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa6cd29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa6cd29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa6980048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa6980048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa6980048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa6980048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa6980f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa6980f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa6980f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa6980f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa6994cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa6994cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa6994cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffa6994f90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa6994f90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa6994f90 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffa6994530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa6994530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa6994530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa69a0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa69a0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa69a0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa69aa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa69aa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa69aa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa690eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa690eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa690eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa690eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa6dfc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa6dfc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa6dfc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa6924c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffa6924c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffa6924c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffa6924c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffa6924c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffa6924c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffa6924c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffa6924c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffa6924c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffa6924c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffa6925200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffa693cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa693cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa693cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa693cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa693cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffa6c06bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa6c06bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa6c06bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa6c06bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa6c06bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa6c07b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffa6c07b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa6c07b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa6c0c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa6c0c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa6c0c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa6c0c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa6c0c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa5062058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffa5062058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa5062058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffa5062058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa6727450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa66df104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa66df104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa66df104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa676551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaaab259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaaab294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaaab2aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaaab21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9dcb098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff9dcb0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaaab220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/inline3.c.script: line 1: 2538109 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline3.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/inline4.c (809 of 18966) ******************** TEST 'Clang :: Analysis/inline4.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline4.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline4.c 1. parser at end of file 2. While analyzing stack: #0 Calling f 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline4.c:11:12: Error evaluating branch #0 0x0000ffff7a28acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7a289100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7a28b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff83208800 (linux-vdso.so.1+0x800) #4 0x0000ffff825029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff825029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff825029e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff825029e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff825029e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff825029e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff825029e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff825029e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff821b0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff821b0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff821b0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff821b0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff821b0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff821b0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff821b0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff821b0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff821c4cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff821c4cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff821c4cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff821c4f90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff821c4f90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff821c4f90 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff821c4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff821c4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff821c4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff821d0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff821d0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff821d0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff821da414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff821da414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff821da414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8213eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8213eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8213eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8213eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8262c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8262c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8262c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff82154c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff82154c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff82154c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff82154c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff82154c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff82154c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff82154c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff82154c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff82154c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff82154c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff82155200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff8216cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8216cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8216cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8216cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8216cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff82436bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff82436bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff82436bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff82436bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff82436bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff82437b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff82437b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff82437b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8243c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8243c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8243c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8243c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8243c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff80892058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff80892058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff80892058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff80892058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff81f57450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff81f0f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff81f0f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff81f0f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff81f9551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad50159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad50194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad501aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad5011fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff794e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff794e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad50120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/inline4.c.script: line 1: 2538117 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline4.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/DynDispatchBifurcate.m (810 of 18966) ******************** TEST 'Clang :: Analysis/inlining/DynDispatchBifurcate.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/DynDispatchBifurcate.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/DynDispatchBifurcate.m 1. parser at end of file 2. While analyzing stack: #0 Calling testDefNotAvailableInlined at line 190 #1 Calling testDefNotAvailable 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/DynDispatchBifurcate.m:187:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/DynDispatchBifurcate.m:187:10: Error evaluating statement #0 0x0000ffff7dd2acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7dd29100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7dd2b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff86ca2800 (linux-vdso.so.1+0x800) #4 0x0000ffff85fa29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff85fa29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff85fa29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff85fa29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff85fa29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff85fa29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff85fa29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff85fa29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff85c50048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff85c50048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff85c50048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff85c50048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff85c50f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff85c50f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff85c50f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff85c50f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff85c63b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff85c63b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff85c63b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff85c65060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff85c65060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff85c65060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff85c64530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff85c64530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff85c64530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff85c70b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff85c70b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff85c70b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff85c7a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff85c7a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff85c7a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff85bdeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff85bdeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff85bdeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff85bdeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff860cc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff860cc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff860cc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff85c40afc std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffff85c40afc std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffff85c40afc std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffff85c40afc std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffff85c40afc std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffff85c40afc clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #48 0x0000ffff85c0ae08 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #49 0x0000ffff85c0ae08 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #50 0x0000ffff85c0c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffff85c0c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffff85c0c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffff85c0cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff85c0cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff85c0cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff85c0cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff85c0cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff85ed6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff85ed6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff85ed6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff85ed6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff85ed6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff85ed7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff85ed7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff85ed7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff85edc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff85edc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff85edc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff85edc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff85edc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff84332058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff84332058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff84332058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff84332058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff859f7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff859af104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff859af104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff859af104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff85a3551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac35e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac35e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac35eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac35e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7cf8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7cf80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac35e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/DynDispatchBifurcate.m.script: line 1: 2538121 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/DynDispatchBifurcate.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/InlineObjCInstanceMethod.m (811 of 18966) ******************** TEST 'Clang :: Analysis/inlining/InlineObjCInstanceMethod.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.DivideZero,core.DynamicTypePropagation,osx.cocoa.IncompatibleMethodTypes -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/InlineObjCInstanceMethod.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.DivideZero,core.DynamicTypePropagation,osx.cocoa.IncompatibleMethodTypes -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/InlineObjCInstanceMethod.m 1. parser at end of file 2. While analyzing stack: #0 Calling testCovariantReturnTypeNoErrorSinceTypesMatch 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/InlineObjCInstanceMethod.m:141:19: Error evaluating statement #0 0x0000ffff9832acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff98329100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9832b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa12a9800 (linux-vdso.so.1+0x800) #4 0x0000ffffa01e8214 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa01e8214 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa01e8214 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa01e8214 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa01e8214 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa01e8214 clang::ento::ProgramStatePartialTrait>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa01e8214 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa01e8214 llvm::IntrusiveRefCntPtr clang::ento::removeDeadImpl<(anonymous namespace)::DynamicTypeMap>(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:166:15 #12 0x0000ffffa0591c58 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffffa0591c58 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffffa0591c58 clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x0000ffffa0591c58 (anonymous namespace)::DynamicTypePropagation::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp:232:0 #16 0x0000ffffa01dcbd4 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #17 0x0000ffffa01f73b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x0000ffffa01f73b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x0000ffffa01f73b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x0000ffffa01f73b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x0000ffffa01f73b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x0000ffffa01f73b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x0000ffffa01f73b8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #24 0x0000ffffa020c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #25 0x0000ffffa020c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #26 0x0000ffffa020c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #27 0x0000ffffa020c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #28 0x0000ffffa020c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #29 0x0000ffffa020c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #30 0x0000ffffa020c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #31 0x0000ffffa020c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #32 0x0000ffffa020c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #33 0x0000ffffa020c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #34 0x0000ffffa020c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #35 0x0000ffffa020cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffa020cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffa020cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffffa020cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffffa020cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffffa04d6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffffa04d6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffffa04d6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffffa04d6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffffa04d6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffffa04d7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffffa04d7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffffa04d7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffffa04dc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffffa04dc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffffa04dc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffffa04dc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffffa04dc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffff9e932058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffff9e932058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffff9e932058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffff9e932058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffff9fff7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffff9ffaf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffff9ffaf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffff9ffaf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffffa003551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaac29359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaac29394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaac293aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaac2931fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff9758098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff97580a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaac29320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/InlineObjCInstanceMethod.m.script: line 1: 2538142 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.DivideZero,core.DynamicTypePropagation,osx.cocoa.IncompatibleMethodTypes -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/InlineObjCInstanceMethod.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/InlineObjCClassMethod.m (814 of 18966) ******************** TEST 'Clang :: Analysis/inlining/InlineObjCClassMethod.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=dynamic-bifurcate -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/InlineObjCClassMethod.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=dynamic-bifurcate -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/InlineObjCClassMethod.m 1. parser at end of file #0 0x0000ffff8066acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff80669100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8066b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff895e6800 (linux-vdso.so.1+0x800) #4 0x0000ffff888e29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff888e29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff888e29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff888e29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff888e29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff888e29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff888e29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff888e29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff88590048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff88590048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff88590048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff88590048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff88590f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff88590f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff88590f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff88590f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff885a3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff885a3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff885a3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff885a5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff885a5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff885a5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff885a4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff885a4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff885a4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff885b0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff885b0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff885b0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff885ba414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff885ba414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff885ba414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8851eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8851eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8851eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8851eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8851efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8851efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8851efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff884f2620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff884f2620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff884f2620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8852ef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff8852ef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff8852ef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff8854ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff8854ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8854ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff88816bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff88816bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff88816bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff88816bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff88816bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff88817b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff88817b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff88817b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff8881c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8881c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8881c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff8881c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff8881c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff86c72058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff86c72058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff86c72058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff86c72058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff88337450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff882ef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff882ef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff882ef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff8837551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaabce559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaabce594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaabce5aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaabce51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff7f8c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff7f8c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaabce520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/InlineObjCClassMethod.m.script: line 1: 2538141 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=dynamic-bifurcate -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/InlineObjCClassMethod.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/ObjCDynTypePopagation.m (815 of 18966) ******************** TEST 'Clang :: Analysis/inlining/ObjCDynTypePopagation.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/ObjCDynTypePopagation.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/ObjCDynTypePopagation.m 1. parser at end of file #0 0x0000ffff81dcacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff81dc9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff81dcb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8ad4e800 (linux-vdso.so.1+0x800) #4 0x0000ffff8a0429e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8a0429e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8a0429e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8a0429e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8a0429e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8a0429e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8a0429e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8a0429e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff89cf0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff89cf0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff89cf0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff89cf0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff89cf0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff89cf0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff89cf0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff89cf0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff89d03b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff89d03b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff89d03b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff89d05060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff89d05060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff89d05060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff89d04530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff89d04530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff89d04530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff89d10b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff89d10b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff89d10b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff89d1a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff89d1a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff89d1a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff89c7eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff89c7eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff89c7eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff89c7eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff89c7efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff89c7efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff89c7efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff89c52620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff89c52620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff89c52620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff89c8ef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff89c8ef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff89c8ef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff89cace78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff89cace78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff89cace78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff89f76bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff89f76bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff89f76bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff89f76bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff89f76bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff89f77b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff89f77b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff89f77b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff89f7c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff89f7c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff89f7c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff89f7c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff89f7c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff883d2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff883d2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff883d2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff883d2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff89a97450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff89a4f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff89a4f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff89a4f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff89ad551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaae9a859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaae9a894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaae9a8aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaae9a81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff8102098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff81020a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaae9a820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/ObjCDynTypePopagation.m.script: line 1: 2538160 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/ObjCDynTypePopagation.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/ObjCImproperDynamictallyDetectableCast.m (816 of 18966) ******************** TEST 'Clang :: Analysis/inlining/ObjCImproperDynamictallyDetectableCast.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/ObjCImproperDynamictallyDetectableCast.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/ObjCImproperDynamictallyDetectableCast.m 1. parser at end of file #0 0x0000ffff833cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff833c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff833cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8c34e800 (linux-vdso.so.1+0x800) #4 0x0000ffff8b6429e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8b6429e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8b6429e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8b6429e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8b6429e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8b6429e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8b6429e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8b6429e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8b2f0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8b2f0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8b2f0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8b2f0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8b2f0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8b2f0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8b2f0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8b2f0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8b303b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8b303b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8b303b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8b305060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8b305060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8b305060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8b304530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8b304530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8b304530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8b310b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8b310b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8b310b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8b31a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8b31a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8b31a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8b27eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8b27eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8b27eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8b27eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8b27efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8b27efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8b27efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff8b252620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff8b252620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff8b252620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8b28ef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff8b28ef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff8b28ef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff8b2ace78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff8b2ace78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8b2ace78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff8b576bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff8b576bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff8b576bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff8b576bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff8b576bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff8b577b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff8b577b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff8b577b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff8b57c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8b57c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8b57c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff8b57c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff8b57c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff899d2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff899d2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff899d2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff899d2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff8b097450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff8b04f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff8b04f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff8b04f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff8b0d551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaae4d259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaae4d294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaae4d2aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaae4d21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff8262098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff82620a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaae4d220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/ObjCImproperDynamictallyDetectableCast.m.script: line 1: 2538159 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/ObjCImproperDynamictallyDetectableCast.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/RetainCountExamples.m (817 of 18966) ******************** TEST 'Clang :: Analysis/inlining/RetainCountExamples.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/RetainCountExamples.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/RetainCountExamples.m 1. parser at end of file #0 0x0000ffff9b5facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9b5f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9b5fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa4574800 (linux-vdso.so.1+0x800) #4 0x0000ffffa38729e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa38729e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa38729e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa38729e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa38729e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa38729e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa38729e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa38729e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa3520048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa3520048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa3520048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa3520048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa3520f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa3520f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa3520f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa3520f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa3533b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa3533b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa3533b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa3535060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa3535060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa3535060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa3534530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa3534530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa3534530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa3540b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa3540b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa3540b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa354a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa354a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa354a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa34aeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa34aeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa34aeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa34aeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa34aefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa34aefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa34aefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa3482620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa3482620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa3482620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa34bef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa34bef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa34bef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffa34dce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa34dce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa34dce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa37a6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa37a6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa37a6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa37a6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa37a6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa37a7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffa37a7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa37a7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa37ac130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa37ac130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa37ac130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa37ac130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa37ac130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa1c02058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffa1c02058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa1c02058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffa1c02058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa32c7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa327f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa327f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa327f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa330551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaadf2e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaadf2e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaadf2eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaadf2e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff9a85098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff9a850a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaadf2e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/RetainCountExamples.m.script: line 1: 2538172 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/RetainCountExamples.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/assume-super-init-does-not-return-nil.m (818 of 18966) ******************** TEST 'Clang :: Analysis/inlining/assume-super-init-does-not-return-nil.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/assume-super-init-does-not-return-nil.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/assume-super-init-does-not-return-nil.m 1. parser at end of file #0 0x0000ffff781cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff781c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff781cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8114e800 (linux-vdso.so.1+0x800) #4 0x0000ffff804429e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff804429e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff804429e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff804429e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff804429e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff804429e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff804429e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff804429e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff800f0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff800f0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff800f0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff800f0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff800f0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff800f0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff800f0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff800f0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff80103b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff80103b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff80103b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff80105060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff80105060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff80105060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff80104530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff80104530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff80104530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff80110b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff80110b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff80110b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8011a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8011a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8011a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8007eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8007eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8007eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8007eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8007efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8007efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8007efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff80052620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff80052620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff80052620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8008ef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff8008ef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff8008ef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff800ace78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff800ace78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff800ace78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff80376bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff80376bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff80376bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff80376bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff80376bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff80377b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff80377b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff80377b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff8037c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8037c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8037c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff8037c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff8037c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff7e7d2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff7e7d2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff7e7d2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff7e7d2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff7fe97450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff7fe4f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff7fe4f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff7fe4f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff7fed551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaad91859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaad91894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaad918aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaad9181fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff7742098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff77420a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaad91820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/assume-super-init-does-not-return-nil.m.script: line 1: 2538181 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/assume-super-init-does-not-return-nil.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/containers.cpp (819 of 18966) ******************** TEST 'Clang :: Analysis/inlining/containers.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config c++-inlining=destructors -analyzer-config c++-container-inlining=false -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/containers.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config c++-inlining=destructors -analyzer-config c++-container-inlining=true -DINLINE=1 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/containers.cpp : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config c++-inlining=destructors -analyzer-config c++-container-inlining=false -DTEST_INLINABLE_ALLOCATORS -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/containers.cpp : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config c++-inlining=destructors -analyzer-config c++-container-inlining=true -DTEST_INLINABLE_ALLOCATORS -DINLINE=1 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/containers.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config c++-inlining=destructors -analyzer-config c++-container-inlining=false -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/containers.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testWrappers(BeginOnlySet &, IteratorStructOnlySet &, IteratorTypedefOnlySet &, IteratorUsingOnlySet &) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/containers.cpp:48:3: Error evaluating statement #0 0x0000ffff7817acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff78179100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7817b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff810f2800 (linux-vdso.so.1+0x800) #4 0x0000ffff80047188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff80047188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff80047188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff80047188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff80047188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff80047188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff80047188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff80047188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff8005c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff8005c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff8005c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff8005c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff8005c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff8005c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff8005c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff8005c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff8005c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffff8005c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #22 0x0000ffff8005c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #23 0x0000ffff8005cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #24 0x0000ffff8005cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #25 0x0000ffff8005cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #26 0x0000ffff8005cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #27 0x0000ffff8005cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #28 0x0000ffff80326bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #29 0x0000ffff80326bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #30 0x0000ffff80326bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #31 0x0000ffff80326bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #32 0x0000ffff80326bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #33 0x0000ffff80327b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #34 0x0000ffff80327b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x0000ffff80327b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #36 0x0000ffff8032c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x0000ffff8032c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x0000ffff8032c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x0000ffff8032c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x0000ffff8032c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x0000ffff7e782058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #42 0x0000ffff7e782058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x0000ffff7e782058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #44 0x0000ffff7e782058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x0000ffff7fe47450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #46 0x0000ffff7fdff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #47 0x0000ffff7fdff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #48 0x0000ffff7fdff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #49 0x0000ffff7fe8551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #50 0x0000aaaacd2359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x0000aaaacd2394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x0000aaaacd23aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x0000aaaacd231fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x0000ffff773d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #55 0x0000ffff773d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #56 0x0000aaaacd2320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/containers.cpp.script: line 4: 2538195 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config c++-inlining=destructors -analyzer-config c++-container-inlining=false -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/containers.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/dyn-dispatch-bifurcate.cpp (820 of 18966) ******************** TEST 'Clang :: Analysis/inlining/dyn-dispatch-bifurcate.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=dynamic-bifurcate -verify -Wno-reinterpret-base-class -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/dyn-dispatch-bifurcate.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=dynamic-bifurcate -verify -Wno-reinterpret-base-class -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/dyn-dispatch-bifurcate.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling ReinterpretDisruptsDynamicTypeInfo::test(Parent *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/dyn-dispatch-bifurcate.cpp:35:9: Error evaluating branch #0 0x0000ffff7dd9acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7dd99100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7dd9b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff86d13800 (linux-vdso.so.1+0x800) #4 0x0000ffff860129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff860129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff860129e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff860129e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff860129e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff860129e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff860129e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff860129e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff85cc0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff85cc0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff85cc0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff85cc0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff85cc0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff85cc0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff85cc0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff85cc0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff85cd3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff85cd3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff85cd3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff85cd5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff85cd5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff85cd5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff85cd4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff85cd4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff85cd4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff85ce0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff85ce0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff85ce0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff85cea414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff85cea414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff85cea414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff85c4ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff85c4ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff85c4ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff85c4ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8613c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8613c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8613c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff85c64c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff85c64c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff85c64c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff85c64c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff85c64c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff85c64c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff85c64c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff85c64c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff85c64c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff85c64c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff85c65200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff85c7cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff85c7cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff85c7cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff85c7cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff85c7cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff85f46bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff85f46bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff85f46bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff85f46bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff85f46bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff85f47b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff85f47b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff85f47b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff85f4c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff85f4c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff85f4c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff85f4c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff85f4c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff843a2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff843a2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff843a2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff843a2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff85a67450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff85a1f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff85a1f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff85a1f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff85aa551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab2d459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab2d494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab2d4aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab2d41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7cff098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7cff0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab2d420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/dyn-dispatch-bifurcate.cpp.script: line 1: 2538193 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=dynamic-bifurcate -verify -Wno-reinterpret-base-class -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/dyn-dispatch-bifurcate.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/false-positive-suppression.cpp (821 of 18966) ******************** TEST 'Clang :: Analysis/inlining/false-positive-suppression.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -DSUPPRESSED=1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling Cleanups::testArgument() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.cpp:210:24: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.cpp:210:24: Error evaluating statement #0 0x0000ffff91f3acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff91f39100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff91f3b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9aebd800 (linux-vdso.so.1+0x800) #4 0x0000ffff99e0da74 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff99e0da74 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff99e0da74 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff99e0da74 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff99e0da74 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff99e0da74 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff99e0da74 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff99e0da74 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffff99e0de64 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #13 0x0000ffff99e0de64 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffff99e0de64 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff99e0de64 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffff99e0de64 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffff99e0e37c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #18 0x0000ffff99e0e37c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #19 0x0000ffff99e0e37c clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:486:0 #20 0x0000ffff99e15dd0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #21 0x0000ffff99e15dd0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #22 0x0000ffff99e15dd0 clang::ento::ExprEngine::handleConstructionContext(clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::ento::NodeBuilderContext const*, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions&, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:753:0 #23 0x0000ffff99e15dd0 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:665:0 #24 0x0000ffff99e1b22c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #25 0x0000ffff99e1b22c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #26 0x0000ffff99e1c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #27 0x0000ffff99e1c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #28 0x0000ffff99e1c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #29 0x0000ffff99e1cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #30 0x0000ffff99e1cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #31 0x0000ffff99e1cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #32 0x0000ffff99e1cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #33 0x0000ffff99e1cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #34 0x0000ffff9a0e6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x0000ffff9a0e6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x0000ffff9a0e6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #37 0x0000ffff9a0e6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #38 0x0000ffff9a0e6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #39 0x0000ffff9a0e7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #40 0x0000ffff9a0e7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x0000ffff9a0e7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #42 0x0000ffff9a0ec130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x0000ffff9a0ec130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x0000ffff9a0ec130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x0000ffff9a0ec130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x0000ffff9a0ec130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x0000ffff98542058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #48 0x0000ffff98542058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #49 0x0000ffff98542058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #50 0x0000ffff98542058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #51 0x0000ffff99c07450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #52 0x0000ffff99bbf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #53 0x0000ffff99bbf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #54 0x0000ffff99bbf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #55 0x0000ffff99c4551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #56 0x0000aaaaba5759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #57 0x0000aaaaba5794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #58 0x0000aaaaba57aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #59 0x0000aaaaba571fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #60 0x0000ffff9119098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #61 0x0000ffff91190a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #62 0x0000aaaaba5720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/false-positive-suppression.cpp.script: line 2: 2538228 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/false-positive-suppression.c (822 of 18966) ******************** TEST 'Clang :: Analysis/inlining/false-positive-suppression.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -DSUPPRESSED=1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.c : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config avoid-suppressing-null-argument-paths=true -DSUPPRESSED=1 -DNULL_ARGS=1 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.c 1. parser at end of file 2. While analyzing stack: #0 Calling testConditionalOperatorSuppressFloatCond 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.c:379:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.c:379:10: Error evaluating statement #0 0x0000ffff945aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff945a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff945ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9d520800 (linux-vdso.so.1+0x800) #4 0x0000ffff9c8229e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9c8229e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9c8229e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9c8229e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9c8229e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9c8229e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9c8229e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9c8229e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9c4d0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9c4d0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9c4d0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9c4d0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9c4d0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9c4d0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9c4d0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9c4d0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9c4e3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9c4e3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9c4e3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9c4e5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9c4e5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9c4e5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9c4e4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9c4e4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9c4e4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9c4f0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9c4f0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9c4f0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9c4fa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9c4fa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9c4fa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9c45eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9c45eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9c45eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9c45eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9c94c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9c94c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9c94c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9c57e270 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff9c57e270 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff9c57e270 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffff9c57e270 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffff9c448e38 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffff9c471640 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffff9c471640 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffff9c47187c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffff9c47187c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffff9c47187c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff9c47187c clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffff9c481540 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffff9c481540 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffff9c481540 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffff9c48ac54 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffff9c48ac54 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffff9c48ac54 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffff9c48c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #60 0x0000ffff9c48c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #61 0x0000ffff9c48c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #62 0x0000ffff9c48cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffff9c48cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffff9c48cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffff9c48cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffff9c48cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #67 0x0000ffff9c756bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffff9c756bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffff9c756bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffff9c756bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffff9c756bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffff9c757b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #73 0x0000ffff9c757b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffff9c757b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffff9c75c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffff9c75c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffff9c75c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffff9c75c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffff9c75c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffff9abb2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #81 0x0000ffff9abb2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffff9abb2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #83 0x0000ffff9abb2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffff9c277450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffff9c22f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffff9c22f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffff9c22f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffff9c2b551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaad42459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaad42494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaad424aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaad4241fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffff9380098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffff93800a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaad42420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/false-positive-suppression.c.script: line 3: 2538221 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/false-positive-suppression.m (823 of 18966) ******************** TEST 'Clang :: Analysis/inlining/false-positive-suppression.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -DSUPPRESSED=1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.m : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fobjc-arc -verify -DSUPPRESSED=1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.m : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config avoid-suppressing-null-argument-paths=true -DSUPPRESSED=1 -DNULL_ARGS=1 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.m 1. parser at end of file 2. While analyzing stack: #0 Calling testSynthesizedPropertyReturningNull 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.m:128:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.m:128:10: Error evaluating statement #0 0x0000ffff96dcacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff96dc9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff96dcb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9fd4c800 (linux-vdso.so.1+0x800) #4 0x0000ffff9f0429e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9f0429e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9f0429e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9f0429e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9f0429e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9f0429e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9f0429e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9f0429e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9ecf0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9ecf0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9ecf0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9ecf0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9ecf0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9ecf0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9ecf0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9ecf0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9ed03b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9ed03b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9ed03b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9ed05060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9ed05060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9ed05060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9ed04530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9ed04530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9ed04530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9ed10b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9ed10b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9ed10b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9ed1a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9ed1a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9ed1a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9ec7eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9ec7eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9ec7eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9ec7eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9f16c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9f16c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9f16c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9ece0afc std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffff9ece0afc std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffff9ece0afc std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffff9ece0afc std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffff9ece0afc std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffff9ece0afc clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #48 0x0000ffff9ecaae08 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #49 0x0000ffff9ecaae08 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #50 0x0000ffff9ecac2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffff9ecac5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffff9ecac7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffff9ecacb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9ecacb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9ecacb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9ecacb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9ecacb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff9ef76bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9ef76bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9ef76bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9ef76bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9ef76bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff9ef77b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff9ef77b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff9ef77b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9ef7c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9ef7c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9ef7c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9ef7c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9ef7c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff9d3d2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff9d3d2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff9d3d2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff9d3d2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff9ea97450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9ea4f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9ea4f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9ea4f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9ead551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab70159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab70194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab701aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab7011fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9602098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff96020a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab70120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/false-positive-suppression.m.script: line 4: 2538241 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/inline-defensive-checks.c (824 of 18966) ******************** TEST 'Clang :: Analysis/inlining/inline-defensive-checks.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-inlined-defensive-checks=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/inline-defensive-checks.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-inlined-defensive-checks=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/inline-defensive-checks.c 1. parser at end of file 2. While analyzing stack: #0 Calling idcPlainNullWithArray at line 238 #1 Calling idcTrackZeroValueThroughSymbolicRegionWithArray 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/inline-defensive-checks.c:231:7: Error evaluating branch #0 0x0000ffffa6f4acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa6f49100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa6f4b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffafecf800 (linux-vdso.so.1+0x800) #4 0x0000ffffaf1c29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaf1c29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaf1c29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaf1c29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaf1c29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaf1c29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffaf1c29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffaf1c29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffaee70048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffaee70048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffaee70048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffaee70048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffaee70f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffaee70f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffaee70f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffaee70f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffaee84cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffaee84cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffaee84cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffaee84f90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffaee84f90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffaee84f90 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffaee84530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffaee84530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffaee84530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffaee90b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffaee90b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffaee90b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffaee9a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffaee9a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffaee9a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffaedfeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffaedfeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffaedfeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffaedfeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffaf2ec8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffaf2ec8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffaf2ec8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffaee14c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffaee14c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffaee14c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffaee14c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffaee14c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffaee14c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffaee14c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffaee14c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffaee14c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffaee14c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffaee15200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffaee2cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffaee2cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffaee2cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffaee2cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffaee2cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffaf0f6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffaf0f6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffaf0f6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffaf0f6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffaf0f6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffaf0f7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffaf0f7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffaf0f7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffaf0fc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffaf0fc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffaf0fc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffaf0fc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffaf0fc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffad552058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffad552058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffad552058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffad552058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffaec17450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffaebcf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffaebcf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffaebcf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffaec5551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac33959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac33994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac339aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac3391fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa61a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa61a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac33920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/inline-defensive-checks.c.script: line 1: 2538248 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-inlined-defensive-checks=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/inline-defensive-checks.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/inline-defensive-checks.cpp (825 of 18966) ******************** TEST 'Clang :: Analysis/inlining/inline-defensive-checks.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/inline-defensive-checks.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/inline-defensive-checks.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling get_deref_expr_with_cleanups::test_conjured() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/inline-defensive-checks.cpp:101:24: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/inline-defensive-checks.cpp:101:24: Error evaluating statement #0 0x0000ffff8125acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff81259100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8125b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8a1d0800 (linux-vdso.so.1+0x800) #4 0x0000ffff8912da74 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff8912da74 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8912da74 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8912da74 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8912da74 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8912da74 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8912da74 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8912da74 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffff8912de64 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #13 0x0000ffff8912de64 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffff8912de64 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff8912de64 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffff8912de64 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffff8912e298 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #18 0x0000ffff8912e298 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #19 0x0000ffff8912e298 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x0000ffff8912e298 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:507:0 #21 0x0000ffff89135dd0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #22 0x0000ffff89135dd0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #23 0x0000ffff89135dd0 clang::ento::ExprEngine::handleConstructionContext(clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::ento::NodeBuilderContext const*, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions&, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:753:0 #24 0x0000ffff89135dd0 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:665:0 #25 0x0000ffff8913b22c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #26 0x0000ffff8913b22c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #27 0x0000ffff8913c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #28 0x0000ffff8913c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #29 0x0000ffff8913c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #30 0x0000ffff8913cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #31 0x0000ffff8913cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #32 0x0000ffff8913cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #33 0x0000ffff8913cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #34 0x0000ffff8913cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #35 0x0000ffff89406bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff89406bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff89406bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #38 0x0000ffff89406bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #39 0x0000ffff89406bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #40 0x0000ffff89407b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #41 0x0000ffff89407b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #42 0x0000ffff89407b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #43 0x0000ffff8940c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #44 0x0000ffff8940c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #45 0x0000ffff8940c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #46 0x0000ffff8940c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #47 0x0000ffff8940c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #48 0x0000ffff87862058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #49 0x0000ffff87862058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #50 0x0000ffff87862058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #51 0x0000ffff87862058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #52 0x0000ffff88f27450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #53 0x0000ffff88edf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #54 0x0000ffff88edf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #55 0x0000ffff88edf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #56 0x0000ffff88f6551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #57 0x0000aaaaad9a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #58 0x0000aaaaad9a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #59 0x0000aaaaad9aaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #60 0x0000aaaaad9a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #61 0x0000ffff804b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #62 0x0000ffff804b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #63 0x0000aaaaad9a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/inline-defensive-checks.cpp.script: line 1: 2538259 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/inline-defensive-checks.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/inline-defensive-checks.m (826 of 18966) ******************** TEST 'Clang :: Analysis/inlining/inline-defensive-checks.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-inlined-defensive-checks=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/inline-defensive-checks.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-inlined-defensive-checks=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/inline-defensive-checks.m 1. parser at end of file 2. While analyzing stack: #0 Calling idc at line 121 #1 Calling dontSuppressNilReceiverIDC 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/inline-defensive-checks.m:67:7: Error evaluating branch #0 0x0000ffffa06facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa06f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa06fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa9672800 (linux-vdso.so.1+0x800) #4 0x0000ffffa89729e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa89729e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa89729e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa89729e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa89729e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa89729e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa89729e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa89729e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa8620048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa8620048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa8620048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa8620048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa8620f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa8620f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa8620f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa8620f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa8633b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa8633b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa8633b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa8635060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa8635060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa8635060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa8634530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa8634530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa8634530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa8640b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa8640b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa8640b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa864a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa864a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa864a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa85aeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa85aeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa85aeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa85aeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa8a9c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa8a9c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa8a9c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa85c4c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffa85c4c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffa85c4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffa85c4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffa85c4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffa85c4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffa85c4c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffa85c4c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffa85c4c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffa85c4c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffa85c5200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffa85dcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa85dcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa85dcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa85dcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa85dcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffa88a6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa88a6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa88a6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa88a6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa88a6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa88a7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffa88a7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa88a7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa88ac130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa88ac130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa88ac130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa88ac130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa88ac130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa6d02058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffa6d02058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa6d02058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffa6d02058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa83c7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa837f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa837f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa837f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa840551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac83e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac83e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac83eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac83e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9f95098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff9f950a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac83e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/inline-defensive-checks.m.script: line 1: 2538265 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-inlined-defensive-checks=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/inline-defensive-checks.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/path-notes.c (828 of 18966) ******************** TEST 'Clang :: Analysis/inlining/path-notes.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/path-notes.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=plist-multi-file -analyzer-config suppress-null-return-paths=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/path-notes.c -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/path-notes.c.tmp.plist : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling test4 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/path-notes.c:137:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/path-notes.c:137:7: Error evaluating statement #0 0x0000ffff80f5acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff80f59100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff80f5b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff89ed1800 (linux-vdso.so.1+0x800) #4 0x0000ffff891d29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff891d29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff891d29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff891d29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff891d29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff891d29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff891d29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff891d29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff88e80048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff88e80048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff88e80048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff88e80048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff88e80f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff88e80f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff88e80f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff88e80f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff88e93b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff88e93b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff88e93b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff88e95060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff88e95060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff88e95060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff88e94530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff88e94530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff88e94530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff88ea0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff88ea0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff88ea0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff88eaa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff88eaa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff88eaa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff88e0eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff88e0eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff88e0eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff88e0eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff892fc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff892fc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff892fc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff88f2e270 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff88f2e270 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff88f2e270 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffff88f2e270 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffff88df8e38 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffff88e21640 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffff88e21640 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffff88e2187c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffff88e2187c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffff88e2187c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff88e2187c clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffff88e31540 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffff88e31540 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffff88e31540 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffff88e3ac54 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffff88e3ac54 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffff88e3ac54 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffff88e3c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #60 0x0000ffff88e3c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #61 0x0000ffff88e3c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #62 0x0000ffff88e3cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffff88e3cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffff88e3cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffff88e3cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffff88e3cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #67 0x0000ffff89106bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffff89106bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffff89106bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffff89106bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffff89106bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffff89107b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #73 0x0000ffff89107b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffff89107b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffff8910c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffff8910c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffff8910c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffff8910c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffff8910c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffff87562058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #81 0x0000ffff87562058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffff87562058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #83 0x0000ffff87562058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffff88c27450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffff88bdf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffff88bdf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffff88bdf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffff88c6551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaad59059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaad59094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaad590aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaad5901fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffff801b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffff801b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaad59020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/path-notes.c.script: line 3: 2538271 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/path-notes.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/path-notes.m (829 of 18966) ******************** TEST 'Clang :: Analysis/inlining/path-notes.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.NilArg,osx.cocoa.RetainCount -analyzer-output=text -analyzer-config suppress-null-return-paths=false -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/path-notes.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.NilArg,osx.cocoa.RetainCount -analyzer-output=plist-multi-file -analyzer-config suppress-null-return-paths=false -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/path-notes.m -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/path-notes.m.tmp.plist : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling testAutoreleaseTakesEffectInDispatch 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/path-notes.m:170:12: Error evaluating statement #0 0x0000ffff9d44acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9d449100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9d44b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa63c1800 (linux-vdso.so.1+0x800) #4 0x0000ffffa5308214 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa5308214 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa5308214 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa5308214 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa5308214 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa5308214 clang::ento::ProgramStatePartialTrait>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa5308214 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa5308214 llvm::IntrusiveRefCntPtr clang::ento::removeDeadImpl<(anonymous namespace)::DynamicTypeMap>(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:166:15 #12 0x0000ffffa56b1c58 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffffa56b1c58 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffffa56b1c58 clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x0000ffffa56b1c58 (anonymous namespace)::DynamicTypePropagation::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp:232:0 #16 0x0000ffffa52fcbd4 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #17 0x0000ffffa53173b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x0000ffffa53173b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x0000ffffa53173b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x0000ffffa53173b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x0000ffffa53173b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x0000ffffa53173b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x0000ffffa53173b8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #24 0x0000ffffa532c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #25 0x0000ffffa532c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #26 0x0000ffffa532c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #27 0x0000ffffa532c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #28 0x0000ffffa532c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #29 0x0000ffffa532c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #30 0x0000ffffa532c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #31 0x0000ffffa532c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #32 0x0000ffffa532c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #33 0x0000ffffa532c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #34 0x0000ffffa532c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #35 0x0000ffffa532cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffa532cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffa532cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffffa532cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffffa532cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffffa55f6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffffa55f6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffffa55f6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffffa55f6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffffa55f6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffffa55f7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffffa55f7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffffa55f7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffffa55fc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffffa55fc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffffa55fc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffffa55fc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffffa55fc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffffa3a52058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffffa3a52058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffffa3a52058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffffa3a52058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffffa5117450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffffa50cf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffffa50cf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffffa50cf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffffa515551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaad87559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaad87594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaad875aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaad8751fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff9c6a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff9c6a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaad87520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/path-notes.m.script: line 3: 2538290 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.NilArg,osx.cocoa.RetainCount -analyzer-output=text -analyzer-config suppress-null-return-paths=false -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/path-notes.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/path-notes.cpp (830 of 18966) ******************** TEST 'Clang :: Analysis/inlining/path-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -analyzer-config c++-inlining=destructors -std=c++11 -verify -Wno-tautological-undefined-compare /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/path-notes.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=plist-multi-file -analyzer-config c++-inlining=destructors -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/path-notes.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/path-notes.cpp.tmp.plist -Wno-tautological-undefined-compare : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling PR17746::test(Outer *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/path-notes.cpp:296:12: Error evaluating destructor #0 0x0000ffff9c46acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9c469100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9c46b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa53ef800 (linux-vdso.so.1+0x800) #4 0x0000ffffa46e29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa46e29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa46e29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa46e29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa46e29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa46e29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa46e29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa46e29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa4390048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa4390048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa4390048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa4390048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa4390f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa4390f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa4390f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa4390f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa43a3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa43a3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa43a3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa43a5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa43a5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa43a5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa43a4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa43a4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa43a4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa43b0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa43b0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa43b0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa43ba414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa43ba414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa43ba414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa431eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa431eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa431eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa431eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa480c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa480c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa480c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa43f3840 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffa43f3840 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffa43f3840 checkCXXMethodCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:460:79 #45 0x0000ffffa43f3840 checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:558:31 #46 0x0000ffffa43f3840 void clang::ento::check::PreCall::_checkCall<(anonymous namespace)::CallAndMessageChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:168:45 #47 0x0000ffffa43089a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #48 0x0000ffffa43089a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #49 0x0000ffffa43089a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #50 0x0000ffffa43089a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #51 0x0000ffffa43089a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #52 0x0000ffffa4346a4c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #53 0x0000ffffa4346a4c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #54 0x0000ffffa4346a4c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #55 0x0000ffffa4346a4c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #56 0x0000ffffa4346a4c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #57 0x0000ffffa4346a4c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #58 0x0000ffffa4346a4c clang::ento::ExprEngine::VisitCXXDestructor(clang::QualType, clang::ento::MemRegion const*, clang::Stmt const*, bool, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::ento::EvalCallOptions&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:911:0 #59 0x0000ffffa4347904 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #60 0x0000ffffa4347904 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #61 0x0000ffffa4347904 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #62 0x0000ffffa4347904 clang::ento::ExprEngine::ProcessDeleteDtor(clang::CFGDeleteDtor, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1475:0 #63 0x0000ffffa4348ac0 clang::ento::ExprEngine::ProcessImplicitDtor(clang::CFGImplicitDtor, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1300:0 #64 0x0000ffffa434c614 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:991:0 #65 0x0000ffffa434c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #66 0x0000ffffa434cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa434cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa434cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #69 0x0000ffffa434cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #70 0x0000ffffa434cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #71 0x0000ffffa4616bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #72 0x0000ffffa4616bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #73 0x0000ffffa4616bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #74 0x0000ffffa4616bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #75 0x0000ffffa4616bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #76 0x0000ffffa4617b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #77 0x0000ffffa4617b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #78 0x0000ffffa4617b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #79 0x0000ffffa461c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #80 0x0000ffffa461c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #81 0x0000ffffa461c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #82 0x0000ffffa461c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #83 0x0000ffffa461c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #84 0x0000ffffa2a72058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #85 0x0000ffffa2a72058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #86 0x0000ffffa2a72058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #87 0x0000ffffa2a72058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #88 0x0000ffffa4137450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #89 0x0000ffffa40ef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #90 0x0000ffffa40ef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #91 0x0000ffffa40ef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #92 0x0000ffffa417551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #93 0x0000aaaac5a759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #94 0x0000aaaac5a794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #95 0x0000aaaac5a7aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #96 0x0000aaaac5a71fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #97 0x0000ffff9b6c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #98 0x0000ffff9b6c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #99 0x0000aaaac5a720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/path-notes.cpp.script: line 3: 2538283 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -analyzer-config c++-inlining=destructors -std=c++11 -verify -Wno-tautological-undefined-compare /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/path-notes.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/placement-new-fp-suppression.cpp (832 of 18966) ******************** TEST 'Clang :: Analysis/inlining/placement-new-fp-suppression.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core.CallAndMessage -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/placement-new-fp-suppression.cpp : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core.CallAndMessage -DSUPPRESSED -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/placement-new-fp-suppression.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core.CallAndMessage -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/placement-new-fp-suppression.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling safe_malloc(size_t) at line 45 #1 Calling MallocAllocator::Allocate(size_t, size_t) at line 57 #2 Calling BumpPtrAllocator::Allocate(size_t, size_t) at line 82 #3 Calling ASTContext::Allocate(size_t, unsigned int) at line 103 #4 Calling operator new[](size_t, const ASTContext &, size_t) at line 130 #5 Calling g(const ASTContext &) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/placement-new-fp-suppression.cpp:34:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/placement-new-fp-suppression.cpp:34:7: Error evaluating statement #0 0x0000ffff8282acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff82829100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8282b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8b7a9800 (linux-vdso.so.1+0x800) #4 0x0000ffff8aaa29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8aaa29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8aaa29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8aaa29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8aaa29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8aaa29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8aaa29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8aaa29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8a750048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8a750048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8a750048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8a750048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8a750f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8a750f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8a750f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8a750f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8a763b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8a763b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8a763b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8a765060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8a765060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8a765060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8a764530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8a764530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8a764530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8a770b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8a770b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8a770b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8a77a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8a77a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8a77a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8a6dea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8a6dea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8a6dea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8a6dea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8abcc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8abcc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8abcc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8a6f1ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff8a6f1ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff8a6f1ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff8a70c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff8a70c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff8a70c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff8a70c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff8a70c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff8a70c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffff8a70c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffff8a70c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffff8a70cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8a70cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8a70cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8a70cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8a70cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff8a9d6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8a9d6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8a9d6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8a9d6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8a9d6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff8a9d7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff8a9d7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff8a9d7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8a9dc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8a9dc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8a9dc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8a9dc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8a9dc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff88e32058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff88e32058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff88e32058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff88e32058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff8a4f7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8a4af104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8a4af104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8a4af104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8a53551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab00559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab00594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab005aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab0051fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff81a8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff81a80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab00520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/placement-new-fp-suppression.cpp.script: line 2: 2538304 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core.CallAndMessage -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/placement-new-fp-suppression.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/retain-count-self-init.m (834 of 18966) ******************** TEST 'Clang :: Analysis/inlining/retain-count-self-init.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,osx.cocoa.SelfInit -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/retain-count-self-init.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,osx.cocoa.SelfInit -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/retain-count-self-init.m 1. parser at end of file #0 0x0000ffff99c2acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff99c29100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff99c2b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa2ba0800 (linux-vdso.so.1+0x800) #4 0x0000ffffa1ea29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa1ea29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa1ea29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa1ea29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa1ea29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa1ea29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa1ea29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa1ea29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa1b50048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa1b50048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa1b50048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa1b50048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa1b50f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa1b50f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa1b50f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa1b50f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa1b63b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa1b63b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa1b63b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa1b65060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa1b65060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa1b65060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa1b64530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa1b64530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa1b64530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa1b70b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa1b70b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa1b70b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa1b7a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa1b7a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa1b7a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa1adeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa1adeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa1adeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa1adeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa1adefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa1adefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa1adefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa1ab2620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa1ab2620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa1ab2620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa1aeef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa1aeef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa1aeef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffa1b0ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa1b0ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa1b0ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa1dd6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa1dd6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa1dd6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa1dd6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa1dd6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa1dd7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffa1dd7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa1dd7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa1ddc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa1ddc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa1ddc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa1ddc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa1ddc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa0232058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffa0232058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa0232058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffa0232058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa18f7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa18af104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa18af104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa18af104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa193551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaadcdd59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaadcdd94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaadcddaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaadcdd1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff98e8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff98e80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaadcdd20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/retain-count-self-init.m.script: line 1: 2538313 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,osx.cocoa.SelfInit -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/retain-count-self-init.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/stl.cpp (838 of 18966) ******************** TEST 'Clang :: Analysis/inlining/stl.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete,debug.ExprInspection -analyzer-config c++-container-inlining=true -analyzer-config c++-stdlib-inlining=false -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/stl.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete,debug.ExprInspection -analyzer-config c++-container-inlining=true -analyzer-config c++-stdlib-inlining=true -std=c++11 -DINLINE=1 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/stl.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete,debug.ExprInspection -analyzer-config c++-container-inlining=true -analyzer-config c++-stdlib-inlining=false -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/stl.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testException(std::exception) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/stl.cpp:22:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/stl.cpp:22:3: Error evaluating statement #0 0x0000ffff8af6acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8af69100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8af6b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff93ee2800 (linux-vdso.so.1+0x800) #4 0x0000ffff931e29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff931e29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff931e29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff931e29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff931e29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff931e29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff931e29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff931e29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff92e90048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff92e90048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff92e90048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff92e90048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff92e90f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff92e90f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff92e90f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff92e90f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff92ea3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff92ea3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff92ea3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff92ea5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff92ea5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff92ea5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff92ea4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff92ea4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff92ea4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff92eb0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff92eb0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff92eb0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff92eba414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff92eba414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff92eba414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff92e1ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff92e1ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff92e1ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff92e1ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff93310ea4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff93310ea4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff93310ea4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff93310ea4 getArgumentValueString(clang::CallExpr const*, clang::ento::CheckerContext&) (.part.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:150:20 #43 0x0000ffff92f2bd10 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #44 0x0000ffff92f2bd10 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #45 0x0000ffff92f2bd10 (anonymous namespace)::ExprInspectionChecker::analyzerEval(clang::CallExpr const*, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:215:0 #46 0x0000ffff92f5f4b0 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #47 0x0000ffff92f5f4b0 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::ExprInspectionChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:0 #48 0x0000ffff92e0938c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #49 0x0000ffff92e68bec llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #50 0x0000ffff92e68bec llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #51 0x0000ffff92e68bec clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #52 0x0000ffff92e68bec clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #53 0x0000ffff92e69514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #54 0x0000ffff92e4b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #55 0x0000ffff92e4b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #56 0x0000ffff92e4c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #57 0x0000ffff92e4c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #58 0x0000ffff92e4c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #59 0x0000ffff92e4cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff92e4cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff92e4cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffff92e4cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffff92e4cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #64 0x0000ffff93116bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffff93116bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffff93116bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffff93116bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffff93116bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffff93117b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #70 0x0000ffff93117b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffff93117b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffff9311c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffff9311c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffff9311c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffff9311c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffff9311c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffff91572058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #78 0x0000ffff91572058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffff91572058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #80 0x0000ffff91572058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffff92c37450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffff92bef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffff92bef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffff92bef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffff92c7551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaae4ab59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaae4ab94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaae4abaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaae4ab1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffff8a1c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff8a1c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaae4ab20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/stl.cpp.script: line 2: 2538320 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete,debug.ExprInspection -analyzer-config c++-container-inlining=true -analyzer-config c++-stdlib-inlining=false -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/stl.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/temp-dtors-path-notes.cpp (839 of 18966) ******************** TEST 'Clang :: Analysis/inlining/temp-dtors-path-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker core -analyzer-config cfg-temporary-dtors=true,c++-temp-dtor-inlining=true -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/temp-dtors-path-notes.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker core -analyzer-config cfg-temporary-dtors=true,c++-temp-dtor-inlining=true -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/temp-dtors-path-notes.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_bug_after_dtor::C::C() at line 54 #1 Calling test_bug_after_dtor::test() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/temp-dtors-path-notes.cpp:48:9: Error evaluating statement #0 0x0000ffff8e44acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8e449100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8e44b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff973c7800 (linux-vdso.so.1+0x800) #4 0x0000ffff96317188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff96317188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff96317188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff96317188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff96317188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff96317188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff96317188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff96317188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff9632c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff9632c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff9632c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff9632c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff9632c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff9632c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff9632c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff9632c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff9632c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffff9632c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #22 0x0000ffff9632c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffff9632c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffff9632cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff9632cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff9632cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff9632cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff9632cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #29 0x0000ffff965f6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff965f6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff965f6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff965f6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff965f6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff965f7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #35 0x0000ffff965f7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff965f7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff965fc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff965fc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff965fc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff965fc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff965fc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff94a52058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #43 0x0000ffff94a52058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff94a52058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #45 0x0000ffff94a52058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff96117450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff960cf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff960cf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff960cf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff9615551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaadcfc59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaadcfc94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaadcfcaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaadcfc1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff8d6a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff8d6a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaadcfc20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/temp-dtors-path-notes.cpp.script: line 1: 2538329 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker core -analyzer-config cfg-temporary-dtors=true,c++-temp-dtor-inlining=true -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/temp-dtors-path-notes.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/inner-pointer.cpp (840 of 18966) ******************** TEST 'Clang :: Analysis/inner-pointer.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=cplusplus.InnerPointer -Wno-dangling -Wno-dangling-field -Wno-return-stack-address /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inner-pointer.cpp -analyzer-output=text -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=cplusplus.InnerPointer -Wno-dangling -Wno-dangling-field -Wno-return-stack-address /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inner-pointer.cpp -analyzer-output=text -verify 1. parser at end of file #0 0x0000ffffabd6acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffabd69100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffabd6b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb4ced800 (linux-vdso.so.1+0x800) #4 0x0000ffffb3c3c024 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb3c3c024 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb3c3c024 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb3c3c024 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb3c3c024 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb3c3c024 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb3c3c024 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb3c3c024 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2911:0 #12 0x0000ffffb3c3c948 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #13 0x0000ffffb3c4c974 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #14 0x0000ffffb3c4cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffb3c4cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffb3c4cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffb3c4cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffb3c4cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffffb3f16bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffb3f16bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffb3f16bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffb3f16bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffb3f16bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffb3f17b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffffb3f17b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffb3f17b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffb3f1c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffb3f1c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffb3f1c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffb3f1c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffb3f1c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffffb2372058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffffb2372058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffffb2372058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffffb2372058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffb3a37450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffb39ef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffb39ef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffb39ef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffb3a7551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaaaf8559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaaaf8594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaaaf85aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaaaf851fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffffaafc098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffffaafc0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaaaf8520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/inner-pointer.cpp.script: line 1: 2538351 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=cplusplus.InnerPointer -Wno-dangling -Wno-dangling-field -Wno-return-stack-address /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inner-pointer.cpp -analyzer-output=text -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/test_objc_inlining_option.m (841 of 18966) ******************** TEST 'Clang :: Analysis/inlining/test_objc_inlining_option.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config ipa=dynamic-bifurcate -analyzer-config objc-inlining=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/test_objc_inlining_option.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config ipa=dynamic-bifurcate -analyzer-config objc-inlining=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/test_objc_inlining_option.m 1. parser at end of file #0 0x0000ffffa6d4acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa6d49100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa6d4b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffafcc7800 (linux-vdso.so.1+0x800) #4 0x0000ffffaefc29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaefc29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaefc29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaefc29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaefc29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaefc29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffaefc29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffaefc29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffaec70048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffaec70048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffaec70048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffaec70048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffaec70f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffaec70f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffaec70f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffaec70f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffaec83b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffaec83b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffaec83b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffaec85060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffaec85060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffaec85060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffaec84530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffaec84530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffaec84530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffaec90b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffaec90b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffaec90b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffaec9a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffaec9a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffaec9a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffaebfeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffaebfeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffaebfeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffaebfeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffaebfefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffaebfefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffaebfefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffaebd2620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffaebd2620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffaebd2620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffaec0ef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffaec0ef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffaec0ef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffaec2ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffaec2ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffaec2ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffaeef6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffaeef6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffaeef6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffaeef6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffaeef6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffaeef7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffaeef7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffaeef7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffaeefc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffaeefc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffaeefc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffaeefc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffaeefc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffad352058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffad352058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffad352058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffad352058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffaea17450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffae9cf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffae9cf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffae9cf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffaea5551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaab24a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaab24a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaab24aaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaab24a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffa5fa098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffa5fa0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaab24a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/test_objc_inlining_option.m.script: line 1: 2538344 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config ipa=dynamic-bifurcate -analyzer-config objc-inlining=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/test_objc_inlining_option.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/issue-55019.cpp (842 of 18966) ******************** TEST 'Clang :: Analysis/issue-55019.cpp' FAILED ******************** Script: -- : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/issue-55019.cpp -verify -analyzer-checker=core -analyzer-checker=unix -analyzer-checker=debug.ExprInspection -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/issue-55019.cpp -verify -analyzer-checker=core -analyzer-checker=unix -analyzer-checker=debug.ExprInspection 1. parser at end of file #0 0x0000ffff80e4acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff80e49100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff80e4b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff89dc6800 (linux-vdso.so.1+0x800) #4 0x0000ffff88d1c024 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff88d1c024 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff88d1c024 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff88d1c024 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff88d1c024 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff88d1c024 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff88d1c024 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff88d1c024 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2911:0 #12 0x0000ffff88d1c948 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #13 0x0000ffff88d2c974 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #14 0x0000ffff88d2cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff88d2cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff88d2cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff88d2cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff88d2cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffff88ff6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff88ff6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff88ff6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff88ff6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff88ff6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff88ff7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffff88ff7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff88ff7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff88ffc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff88ffc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff88ffc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff88ffc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff88ffc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff87452058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffff87452058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff87452058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffff87452058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff88b17450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff88acf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff88acf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff88acf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff88b5551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaacba159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaacba194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaacba1aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaacba11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff800a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff800a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaacba120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/issue-55019.cpp.script: line 1: 2538439 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/issue-55019.cpp -verify -analyzer-checker=core -analyzer-checker=unix -analyzer-checker=debug.ExprInspection -- ******************** Testing: 0 FAIL: Clang :: Analysis/keychainAPI-diagnostic-visitor.m (844 of 18966) ******************** TEST 'Clang :: Analysis/keychainAPI-diagnostic-visitor.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=osx.SecKeychainAPI -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/keychainAPI-diagnostic-visitor.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=osx.SecKeychainAPI -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/keychainAPI-diagnostic-visitor.m 1. parser at end of file 2. While analyzing stack: #0 Calling DellocWithCFStringCreate4 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/keychainAPI-diagnostic-visitor.m:28:5: Error evaluating statement #0 0x0000ffffacecacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffacec9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffacecb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb5e46800 (linux-vdso.so.1+0x800) #4 0x0000ffffb4f3bd58 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb4f3bd58 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb4f3bd58 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb4f3bd58 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb4f3bd58 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb4f3bd58 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb4f3bd58 get<(anonymous namespace)::AllocatedData> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb4f3bd58 (anonymous namespace)::MacOSKeychainAPIChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp:545:52 #12 0x0000ffffb4d7cbd4 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffffb4d973b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffffb4d973b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffffb4d973b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffffb4d973b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffffb4d973b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffffb4d973b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffffb4d973b8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffffb4dac264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffffb4dac264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffffb4dac264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffffb4dac264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffffb4dac264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffffb4dac264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffffb4dac264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffffb4dac264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffffb4dac264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffffb4dac5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #30 0x0000ffffb4dac7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #31 0x0000ffffb4dacb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffffb4dacb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffffb4dacb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffffb4dacb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffffb4dacb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffffb5076bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffb5076bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffb5076bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffffb5076bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffffb5076bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffffb5077b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffffb5077b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffffb5077b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffffb507c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffffb507c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffffb507c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffffb507c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffffb507c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffffb34d2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffffb34d2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffffb34d2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffffb34d2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffffb4b97450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffffb4b4f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffffb4b4f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffffb4b4f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffffb4bd551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaaabe359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaaabe394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaaabe3aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaaabe31fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffffac12098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffffac120a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaaabe320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/keychainAPI-diagnostic-visitor.m.script: line 1: 2538474 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=osx.SecKeychainAPI -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/keychainAPI-diagnostic-visitor.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/invalidated-iterator.cpp (845 of 18966) ******************** TEST 'Clang :: Analysis/invalidated-iterator.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.InvalidatedIterator -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/invalidated-iterator.cpp -verify : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.InvalidatedIterator -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=true -DINLINE=1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/invalidated-iterator.cpp -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.InvalidatedIterator -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/invalidated-iterator.cpp -verify 1. parser at end of file 2. While analyzing stack: #0 Calling invalidated_subscript_end_ptr_iterator(cont_with_ptr_iterator &) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/invalidated-iterator.cpp:196:12: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/invalidated-iterator.cpp:196:12: Error evaluating statement #0 0x0000ffffa2fbacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa2fb9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa2fbb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffabf34800 (linux-vdso.so.1+0x800) #4 0x0000ffffaaeb9cd0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffaaeb9cd0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffaaeb9cd0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffaaeb9cd0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffaaeb9cd0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffaaeb9cd0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffaaeb9cd0 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffffaaeb9cd0 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffffaaeb9cd0 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x0000ffffaaeb9dac (anonymous namespace)::RangeConstraintManager::getSymVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2862:36 #14 0x0000ffffaaf0d3d8 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #15 0x0000ffffaaf0d3d8 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier::getConstOrVisit(clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1246:0 #16 0x0000ffffaaf0cc14 VisitSymIntExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1270:0 #17 0x0000ffffaaf0cc14 clang::ento::SymExprVisitor<(anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier, clang::ento::SVal>::Visit(clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:0 #18 0x0000ffffab319dd4 VisitNonLocSymbolVal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1365:0 #19 0x0000ffffab319dd4 Visit /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def:67:0 #20 0x0000ffffab319dd4 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1371:0 #21 0x0000ffffaaef4824 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #22 0x0000ffffaaef4824 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #23 0x0000ffffaaef3df8 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #24 0x0000ffffaaef3efc clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #25 0x0000ffffaaef4f3c clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:26:17 #26 0x0000ffffaaef4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffaaef4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffaaef4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffaaf00b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffaaf00b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffaaf00b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffaaf0a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffaaf0a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffaaf0a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffaae6ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffaae6ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffaae6ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffaae6ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffaae6efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffaae6efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffaae6efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffaae42620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffaae42620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffaae42620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffaaff5894 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #46 0x0000ffffaaff5894 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #47 0x0000ffffaaff5894 clang::ento::iterator::assumeNoOverflow(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, long) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/Iterator.cpp:291:0 #48 0x0000ffffaaf71d18 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #49 0x0000ffffaaf71d18 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffaaf71d18 createContainerBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:850:0 #51 0x0000ffffaaf71d18 handleBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:258:0 #52 0x0000ffffaaf71d18 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:193:0 #53 0x0000ffffaaf71d18 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::ContainerModeling>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #54 0x0000ffffaae589a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #55 0x0000ffffaae589a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x0000ffffaae589a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #57 0x0000ffffaae589a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #58 0x0000ffffaae589a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #59 0x0000ffffaaeb8c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #60 0x0000ffffaaeb8c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #61 0x0000ffffaaeb8c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #62 0x0000ffffaaeb8c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #63 0x0000ffffaaeb8c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #64 0x0000ffffaaeb8c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #65 0x0000ffffaaeb9514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #66 0x0000ffffaae9b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #67 0x0000ffffaae9b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #68 0x0000ffffaae9c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #69 0x0000ffffaae9c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #70 0x0000ffffaae9c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #71 0x0000ffffaae9cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x0000ffffaae9cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x0000ffffaae9cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #74 0x0000ffffaae9cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #75 0x0000ffffaae9cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #76 0x0000ffffab166bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #77 0x0000ffffab166bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #78 0x0000ffffab166bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #79 0x0000ffffab166bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #80 0x0000ffffab166bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #81 0x0000ffffab167b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #82 0x0000ffffab167b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #83 0x0000ffffab167b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #84 0x0000ffffab16c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #85 0x0000ffffab16c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #86 0x0000ffffab16c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #87 0x0000ffffab16c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #88 0x0000ffffab16c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #89 0x0000ffffa95c2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #90 0x0000ffffa95c2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #91 0x0000ffffa95c2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #92 0x0000ffffa95c2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #93 0x0000ffffaac87450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #94 0x0000ffffaac3f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #95 0x0000ffffaac3f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #96 0x0000ffffaac3f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #97 0x0000ffffaacc551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #98 0x0000aaaada3459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #99 0x0000aaaada3494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #100 0x0000aaaada34aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #101 0x0000aaaada341fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #102 0x0000ffffa221098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #103 0x0000ffffa2210a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #104 0x0000aaaada3420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/invalidated-iterator.cpp.script: line 2: 2538435 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.InvalidatedIterator -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/invalidated-iterator.cpp -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/iterator-modeling.cpp (846 of 18966) ******************** TEST 'Clang :: Analysis/iterator-modeling.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-modeling.cpp -verify -analyzer-config display-checker-name=false : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=true -DINLINE=1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-modeling.cpp -verify -analyzer-config display-checker-name=false : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=true -DINLINE=1 -DSTD_ADVANCE_INLINE_LEVEL=0 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-modeling.cpp -verify -analyzer-config display-checker-name=false : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=true -DINLINE=1 -DSTD_ADVANCE_INLINE_LEVEL=1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-modeling.cpp -verify -analyzer-config display-checker-name=false : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=true -DINLINE=1 -DSTD_ADVANCE_INLINE_LEVEL=2 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-modeling.cpp -verify -analyzer-config display-checker-name=false : 'RUN: at line 11'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.IteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-modeling.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-modeling.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-modeling.cpp -verify -analyzer-config display-checker-name=false 1. parser at end of file 2. While analyzing stack: #0 Calling print_state(std::vector &) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-modeling.cpp:2032:19: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-modeling.cpp:2032:19: Error evaluating statement #0 0x0000ffffa5d2acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa5d29100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa5d2b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaecaf800 (linux-vdso.so.1+0x800) #4 0x0000ffffadbfda74 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffadbfda74 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffadbfda74 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffadbfda74 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffadbfda74 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffadbfda74 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffadbfda74 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffadbfda74 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffffadbfde64 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #13 0x0000ffffadbfde64 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffffadbfde64 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffffadbfde64 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffffadbfde64 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffffadbfe544 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #18 0x0000ffffadbfe544 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #19 0x0000ffffadbfe544 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:463:0 #20 0x0000ffffadc3f86c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #21 0x0000ffffadc3f86c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #22 0x0000ffffadc3f86c clang::ento::ExprEngine::handleConstructionContext(clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::ento::NodeBuilderContext const*, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions&, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:753:0 #23 0x0000ffffadc3f86c clang::ento::ExprEngine::bindReturnValue(clang::ento::CallEvent const&, clang::LocationContext const*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:773:0 #24 0x0000ffffadc3fd08 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #25 0x0000ffffadc3fd08 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #26 0x0000ffffadc3fd08 clang::ento::ExprEngine::conservativeEvalCall(clang::ento::CallEvent const&, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:834:0 #27 0x0000ffffadc406c4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #28 0x0000ffffadc406c4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #29 0x0000ffffadc406c4 clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1266:0 #30 0x0000ffffadbc9458 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #31 0x0000ffffadc28bec llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #32 0x0000ffffadc28bec llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #33 0x0000ffffadc28bec clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #34 0x0000ffffadc28bec clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #35 0x0000ffffadc29514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #36 0x0000ffffadc0b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #37 0x0000ffffadc0b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #38 0x0000ffffadc0c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #39 0x0000ffffadc0c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #40 0x0000ffffadc0c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #41 0x0000ffffadc0cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x0000ffffadc0cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x0000ffffadc0cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #44 0x0000ffffadc0cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #45 0x0000ffffadc0cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #46 0x0000ffffaded6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #47 0x0000ffffaded6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #48 0x0000ffffaded6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #49 0x0000ffffaded6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #50 0x0000ffffaded6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #51 0x0000ffffaded7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #52 0x0000ffffaded7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #53 0x0000ffffaded7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #54 0x0000ffffadedc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffffadedc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffffadedc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #57 0x0000ffffadedc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #58 0x0000ffffadedc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #59 0x0000ffffac332058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #60 0x0000ffffac332058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #61 0x0000ffffac332058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #62 0x0000ffffac332058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #63 0x0000ffffad9f7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #64 0x0000ffffad9af104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #65 0x0000ffffad9af104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #66 0x0000ffffad9af104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #67 0x0000ffffada3551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #68 0x0000aaaad0a759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #69 0x0000aaaad0a794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #70 0x0000aaaad0a7aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #71 0x0000aaaad0a71fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #72 0x0000ffffa4f8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #73 0x0000ffffa4f80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #74 0x0000aaaad0a720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/iterator-modeling.cpp.script: line 6: 2538465 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-modeling.cpp -verify -analyzer-config display-checker-name=false -- ******************** Testing: 0 FAIL: Clang :: Analysis/ivars.m (847 of 18966) ******************** TEST 'Clang :: Analysis/ivars.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -fblocks -verify -Wno-objc-root-class -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ivars.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -fblocks -verify -Wno-objc-root-class -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ivars.m 1. parser at end of file 2. While analyzing stack: #0 Calling testNull 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ivars.m:136:7: Error evaluating branch #0 0x0000ffff791bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff791b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff791bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8213d800 (linux-vdso.so.1+0x800) #4 0x0000ffff814329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff814329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff814329e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff814329e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff814329e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff814329e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff814329e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff814329e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff810e0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff810e0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff810e0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff810e0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff810e0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff810e0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff810e0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff810e0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff810f3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff810f3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff810f3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff810f5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff810f5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff810f5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff810f4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff810f4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff810f4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff81100b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff81100b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff81100b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8110a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8110a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8110a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8106eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8106eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8106eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8106eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8155c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8155c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8155c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff81084c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff81084c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff81084c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff81084c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff81084c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff81084c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff81084c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff81084c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff81084c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff81084c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff81085200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff8109cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8109cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8109cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8109cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8109cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff81366bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff81366bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff81366bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff81366bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff81366bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff81367b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff81367b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff81367b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8136c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8136c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8136c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8136c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8136c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff7f7c2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff7f7c2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff7f7c2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff7f7c2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff80e87450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff80e3f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff80e3f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff80e3f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff80ec551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaadcb759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaadcb794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaadcb7aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaadcb71fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7841098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff78410a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaadcb720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ivars.m.script: line 1: 2538470 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -fblocks -verify -Wno-objc-root-class -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ivars.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/iterator-range.cpp (848 of 18966) ******************** TEST 'Clang :: Analysis/iterator-range.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.IteratorRange -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-range.cpp -verify : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.IteratorRange -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=true -DINLINE=1 -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-range.cpp -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.IteratorRange -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-range.cpp -verify 1. parser at end of file 2. While analyzing stack: #0 Calling ptr_iter_diff(cont_with_ptr_iterator &) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-range.cpp:939:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-range.cpp:939:13: Error evaluating statement #0 0x0000ffff8655acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff86559100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8655b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8f4d6800 (linux-vdso.so.1+0x800) #4 0x0000ffff8e459cd0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff8e459cd0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8e459cd0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8e459cd0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8e459cd0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8e459cd0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8e459cd0 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffff8e459cd0 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffff8e459cd0 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x0000ffff8e459dac (anonymous namespace)::RangeConstraintManager::getSymVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2862:36 #14 0x0000ffff8e4ad3d8 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #15 0x0000ffff8e4ad3d8 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier::getConstOrVisit(clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1246:0 #16 0x0000ffff8e4acc14 VisitSymIntExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1270:0 #17 0x0000ffff8e4acc14 clang::ento::SymExprVisitor<(anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier, clang::ento::SVal>::Visit(clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:0 #18 0x0000ffff8e8b9dd4 VisitNonLocSymbolVal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1365:0 #19 0x0000ffff8e8b9dd4 Visit /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def:67:0 #20 0x0000ffff8e8b9dd4 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1371:0 #21 0x0000ffff8e494824 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #22 0x0000ffff8e494824 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #23 0x0000ffff8e493df8 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #24 0x0000ffff8e493efc clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #25 0x0000ffff8e494f3c clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:26:17 #26 0x0000ffff8e494530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8e494530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8e494530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8e4a0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8e4a0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8e4a0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8e4aa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8e4aa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8e4aa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8e40ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8e40ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8e40ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8e40ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8e40efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8e40efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8e40efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff8e3e2620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff8e3e2620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff8e3e2620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8e595894 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #46 0x0000ffff8e595894 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #47 0x0000ffff8e595894 clang::ento::iterator::assumeNoOverflow(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, long) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/Iterator.cpp:291:0 #48 0x0000ffff8e511d18 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #49 0x0000ffff8e511d18 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8e511d18 createContainerBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:850:0 #51 0x0000ffff8e511d18 handleBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:258:0 #52 0x0000ffff8e511d18 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:193:0 #53 0x0000ffff8e511d18 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::ContainerModeling>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #54 0x0000ffff8e3f89a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #55 0x0000ffff8e3f89a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x0000ffff8e3f89a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #57 0x0000ffff8e3f89a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #58 0x0000ffff8e3f89a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #59 0x0000ffff8e458c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #60 0x0000ffff8e458c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #61 0x0000ffff8e458c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #62 0x0000ffff8e458c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #63 0x0000ffff8e458c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #64 0x0000ffff8e458c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #65 0x0000ffff8e459514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #66 0x0000ffff8e43b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #67 0x0000ffff8e43b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #68 0x0000ffff8e43c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #69 0x0000ffff8e43c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #70 0x0000ffff8e43c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #71 0x0000ffff8e43cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x0000ffff8e43cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x0000ffff8e43cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #74 0x0000ffff8e43cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #75 0x0000ffff8e43cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #76 0x0000ffff8e706bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #77 0x0000ffff8e706bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #78 0x0000ffff8e706bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #79 0x0000ffff8e706bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #80 0x0000ffff8e706bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #81 0x0000ffff8e707b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #82 0x0000ffff8e707b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #83 0x0000ffff8e707b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #84 0x0000ffff8e70c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #85 0x0000ffff8e70c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #86 0x0000ffff8e70c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #87 0x0000ffff8e70c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #88 0x0000ffff8e70c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #89 0x0000ffff8cb62058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #90 0x0000ffff8cb62058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #91 0x0000ffff8cb62058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #92 0x0000ffff8cb62058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #93 0x0000ffff8e227450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #94 0x0000ffff8e1df104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #95 0x0000ffff8e1df104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #96 0x0000ffff8e1df104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #97 0x0000ffff8e26551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #98 0x0000aaaab6ad59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #99 0x0000aaaab6ad94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #100 0x0000aaaab6adaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #101 0x0000aaaab6ad1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #102 0x0000ffff857b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #103 0x0000ffff857b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #104 0x0000aaaab6ad20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/iterator-range.cpp.script: line 2: 2538468 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.IteratorRange -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-range.cpp -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/keychainAPI.m (850 of 18966) ******************** TEST 'Clang :: Analysis/keychainAPI.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.SecKeychainAPI -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/keychainAPI.m -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.SecKeychainAPI -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/keychainAPI.m -verify 1. parser at end of file 2. While analyzing stack: #0 Calling radar_19196494_v2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/keychainAPI.m:460:5: Error evaluating statement #0 0x0000ffff83eaacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff83ea9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff83eab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8ce2d800 (linux-vdso.so.1+0x800) #4 0x0000ffff8bf1bd58 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff8bf1bd58 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8bf1bd58 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8bf1bd58 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8bf1bd58 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8bf1bd58 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8bf1bd58 get<(anonymous namespace)::AllocatedData> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8bf1bd58 (anonymous namespace)::MacOSKeychainAPIChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp:545:52 #12 0x0000ffff8bd5cbd4 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffff8bd773b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffff8bd773b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffff8bd773b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffff8bd773b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffff8bd773b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffff8bd773b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffff8bd773b8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffff8bd8c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffff8bd8c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffff8bd8c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffff8bd8c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffff8bd8c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffff8bd8c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffff8bd8c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffff8bd8c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffff8bd8c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffff8bd8c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #30 0x0000ffff8bd8c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #31 0x0000ffff8bd8cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffff8bd8cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffff8bd8cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffff8bd8cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffff8bd8cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffff8c056bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff8c056bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff8c056bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffff8c056bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffff8c056bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffff8c057b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffff8c057b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffff8c057b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffff8c05c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffff8c05c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffff8c05c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffff8c05c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffff8c05c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffff8a4b2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffff8a4b2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffff8a4b2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffff8a4b2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffff8bb77450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffff8bb2f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffff8bb2f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffff8bb2f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffff8bbb551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaab51b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaab51b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaab51baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaab51b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffff8310098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffff83100a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaab51b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/keychainAPI.m.script: line 1: 2538494 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.SecKeychainAPI -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/keychainAPI.m -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/kmalloc-linux.c (851 of 18966) ******************** TEST 'Clang :: Analysis/kmalloc-linux.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/kmalloc-linux.c -verify -Wno-incompatible-library-redeclaration -analyzer-checker=core -analyzer-checker=unix.Malloc -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/kmalloc-linux.c -verify -Wno-incompatible-library-redeclaration -analyzer-checker=core -analyzer-checker=unix.Malloc 1. parser at end of file 2. While analyzing stack: #0 Calling test_3arg_malloc_leak 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/kmalloc-linux.c:120:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/kmalloc-linux.c:120:10: Error evaluating statement #0 0x0000ffff8cbcacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8cbc9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8cbcb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff95b43800 (linux-vdso.so.1+0x800) #4 0x0000ffff94e429e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff94e429e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff94e429e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff94e429e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff94e429e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff94e429e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff94e429e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff94e429e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff94af0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff94af0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff94af0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff94af0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff94af0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff94af0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff94af0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff94af0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff94b04cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff94b04cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff94b04cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff94b04530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff94b04530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff94b04530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #26 0x0000ffff94b10b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #27 0x0000ffff94b10b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #28 0x0000ffff94b10b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #29 0x0000ffff94b1a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x0000ffff94b1a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff94b1a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #32 0x0000ffff94a7eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffff94a7eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffff94a7eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #35 0x0000ffff94a7eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #36 0x0000ffff94f6c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff94f6c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff94f6c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #39 0x0000ffff94c42d4c std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #40 0x0000ffff94c42d4c std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #41 0x0000ffff94c42d4c std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #42 0x0000ffff94c42d4c std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #43 0x0000ffff94c42d4c std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #44 0x0000ffff94c42d4c performKernelMalloc /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1189:0 #45 0x0000ffff94c42d4c (anonymous namespace)::MallocChecker::checkKernelMalloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1225:0 #46 0x0000ffff94c50180 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #47 0x0000ffff94c50180 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #48 0x0000ffff94a689a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #49 0x0000ffff94a689a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #50 0x0000ffff94a689a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #51 0x0000ffff94a689a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #52 0x0000ffff94a689a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #53 0x0000ffff94ac8c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #54 0x0000ffff94ac8c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #55 0x0000ffff94ac8c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #56 0x0000ffff94ac8c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #57 0x0000ffff94ac8c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #58 0x0000ffff94ac8c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #59 0x0000ffff94ac9514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #60 0x0000ffff94aab270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #61 0x0000ffff94aab270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #62 0x0000ffff94aac2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #63 0x0000ffff94aac5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #64 0x0000ffff94aac7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #65 0x0000ffff94aacb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x0000ffff94aacb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x0000ffff94aacb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #68 0x0000ffff94aacb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #69 0x0000ffff94aacb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #70 0x0000ffff94d76bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #71 0x0000ffff94d76bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #72 0x0000ffff94d76bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #73 0x0000ffff94d76bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #74 0x0000ffff94d76bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #75 0x0000ffff94d77b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #76 0x0000ffff94d77b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x0000ffff94d77b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #78 0x0000ffff94d7c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x0000ffff94d7c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x0000ffff94d7c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x0000ffff94d7c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x0000ffff94d7c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x0000ffff931d2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #84 0x0000ffff931d2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x0000ffff931d2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #86 0x0000ffff931d2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x0000ffff94897450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #88 0x0000ffff9484f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #89 0x0000ffff9484f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #90 0x0000ffff9484f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #91 0x0000ffff948d551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #92 0x0000aaaad9f559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x0000aaaad9f594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x0000aaaad9f5aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x0000aaaad9f51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x0000ffff8be2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #97 0x0000ffff8be20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #98 0x0000aaaad9f520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/kmalloc-linux.c.script: line 1: 2538502 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/kmalloc-linux.c -verify -Wno-incompatible-library-redeclaration -analyzer-checker=core -analyzer-checker=unix.Malloc -- ******************** Testing: 0 FAIL: Clang :: Analysis/lambdas-generalized-capture.cpp (852 of 18966) ******************** TEST 'Clang :: Analysis/lambdas-generalized-capture.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,deadcode,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas-generalized-capture.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,deadcode,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas-generalized-capture.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling caseSplitInGeneralizedCapture(_Bool) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas-generalized-capture.cpp:44:21: Error evaluating branch #0 0x0000ffff8336acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff83369100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8336b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8c2e4800 (linux-vdso.so.1+0x800) #4 0x0000ffff8b5e29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8b5e29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8b5e29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8b5e29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8b5e29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8b5e29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8b5e29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8b5e29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8b290048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8b290048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8b290048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8b290048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8b290d10 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8b290d10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8b290d10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8b290d10 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffff8b2a4cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8b2a4cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8b2a4cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff8b2a4f90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8b2a4f90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8b2a4f90 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff8b2a4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8b2a4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8b2a4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8b2b0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8b2b0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8b2b0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8b2ba414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8b2ba414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8b2ba414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8b21ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8b21ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8b21ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8b21ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8b70c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8b70c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8b70c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8b234c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff8b234c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff8b234c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff8b234c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff8b234c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff8b234c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff8b234c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff8b234c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff8b234c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff8b234c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff8b235200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff8b24cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8b24cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8b24cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8b24cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8b24cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff8b516bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8b516bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8b516bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8b516bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8b516bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff8b517b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff8b517b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff8b517b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8b51c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8b51c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8b51c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8b51c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8b51c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff89972058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff89972058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff89972058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff89972058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff8b037450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8afef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8afef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8afef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8b07551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab76c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab76c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab76caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab76c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff825c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff825c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab76c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/lambdas-generalized-capture.cpp.script: line 1: 2538521 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,deadcode,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas-generalized-capture.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/lambdas.mm (853 of 18966) ******************** TEST 'Clang :: Analysis/lambdas.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks -Wno-objc-root-class -analyzer-checker=core,deadcode,debug.ExprInspection -analyzer-config inline-lambdas=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks -Wno-objc-root-class -analyzer-checker=core,deadcode,debug.ExprInspection -analyzer-config inline-lambdas=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas.mm 1. parser at end of file 2. While analyzing stack: #0 Calling castLambdaInLocalBlock() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas.mm:139:17: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas.mm:139:17: Error evaluating statement #0 0x0000ffff7f46acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7f469100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7f46b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff883ed800 (linux-vdso.so.1+0x800) #4 0x0000ffff87337804 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff87337804 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff87337804 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff87337804 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff87337804 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff87337804 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff87337804 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff87337804 clang::ento::ExprEngine::getObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:607:55 #12 0x0000ffff87368680 clang::ento::ExprEngine::finishArgumentConstruction(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:640:59 #13 0x0000ffff87368824 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #14 0x0000ffff87368824 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x0000ffff87368824 clang::ento::ExprEngine::finishArgumentConstruction(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:657:72 #16 0x0000ffff87345534 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:832:0 #17 0x0000ffff8734b22c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #18 0x0000ffff8734b22c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #19 0x0000ffff8734c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #20 0x0000ffff8734c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #21 0x0000ffff8734c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #22 0x0000ffff8734cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #23 0x0000ffff8734cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #24 0x0000ffff8734cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #25 0x0000ffff8734cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #26 0x0000ffff8734cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #27 0x0000ffff87616bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x0000ffff87616bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x0000ffff87616bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #30 0x0000ffff87616bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #31 0x0000ffff87616bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #32 0x0000ffff87617b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #33 0x0000ffff87617b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x0000ffff87617b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #35 0x0000ffff8761c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff8761c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff8761c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x0000ffff8761c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x0000ffff8761c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x0000ffff85a72058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #41 0x0000ffff85a72058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x0000ffff85a72058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #43 0x0000ffff85a72058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x0000ffff87137450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #45 0x0000ffff870ef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #46 0x0000ffff870ef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #47 0x0000ffff870ef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #48 0x0000ffff8717551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #49 0x0000aaaab75d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x0000aaaab75d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x0000aaaab75daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x0000aaaab75d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x0000ffff7e6c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #54 0x0000ffff7e6c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #55 0x0000aaaab75d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/lambdas.mm.script: line 1: 2538543 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks -Wno-objc-root-class -analyzer-checker=core,deadcode,debug.ExprInspection -analyzer-config inline-lambdas=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/lambdas-modern.cpp (854 of 18966) ******************** TEST 'Clang :: Analysis/lambdas-modern.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,debug.ExprInspection -analyzer-config inline-lambdas=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas-modern.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyzer-checker=core,debug.ExprInspection -analyzer-config inline-lambdas=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas-modern.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,debug.ExprInspection -analyzer-config inline-lambdas=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas-modern.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling MakeUniquePtr() at line 26 #1 Calling testCopyElidedUniquePtr() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas-modern.cpp:23:38: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas-modern.cpp:23:38: Error evaluating statement #0 0x0000ffffa6fbacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa6fb9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa6fbb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaff32800 (linux-vdso.so.1+0x800) #4 0x0000ffffaee8da74 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffaee8da74 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffaee8da74 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffaee8da74 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffaee8da74 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffaee8da74 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffaee8da74 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffaee8da74 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffffaee8de64 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #13 0x0000ffffaee8de64 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffffaee8de64 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffffaee8de64 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffffaee8de64 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffffaee8e544 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #18 0x0000ffffaee8e544 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #19 0x0000ffffaee8e544 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:463:0 #20 0x0000ffffaee8e484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x0000ffffaee8e484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x0000ffffaee8e484 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:451:0 #23 0x0000ffffaee8e4d8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #24 0x0000ffffaee8e4d8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #25 0x0000ffffaee8e4d8 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:459:0 #26 0x0000ffffaeecf86c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #27 0x0000ffffaeecf86c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #28 0x0000ffffaeecf86c clang::ento::ExprEngine::handleConstructionContext(clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::ento::NodeBuilderContext const*, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions&, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:753:0 #29 0x0000ffffaeecf86c clang::ento::ExprEngine::bindReturnValue(clang::ento::CallEvent const&, clang::LocationContext const*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:773:0 #30 0x0000ffffaeecfd08 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #31 0x0000ffffaeecfd08 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #32 0x0000ffffaeecfd08 clang::ento::ExprEngine::conservativeEvalCall(clang::ento::CallEvent const&, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:834:0 #33 0x0000ffffaeed06c4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x0000ffffaeed06c4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x0000ffffaeed06c4 clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1266:0 #36 0x0000ffffaee59458 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #37 0x0000ffffaeeb8bec llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #38 0x0000ffffaeeb8bec llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #39 0x0000ffffaeeb8bec clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #40 0x0000ffffaeeb8bec clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #41 0x0000ffffaeeb9514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #42 0x0000ffffaee9b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #43 0x0000ffffaee9b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #44 0x0000ffffaee9c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #45 0x0000ffffaee9c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #46 0x0000ffffaee9c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #47 0x0000ffffaee9cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #48 0x0000ffffaee9cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #49 0x0000ffffaee9cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #50 0x0000ffffaee9cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #51 0x0000ffffaee9cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #52 0x0000ffffaf166bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #53 0x0000ffffaf166bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #54 0x0000ffffaf166bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #55 0x0000ffffaf166bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #56 0x0000ffffaf166bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #57 0x0000ffffaf167b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #58 0x0000ffffaf167b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #59 0x0000ffffaf167b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #60 0x0000ffffaf16c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #61 0x0000ffffaf16c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #62 0x0000ffffaf16c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #63 0x0000ffffaf16c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #64 0x0000ffffaf16c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #65 0x0000ffffad5c2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #66 0x0000ffffad5c2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #67 0x0000ffffad5c2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #68 0x0000ffffad5c2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #69 0x0000ffffaec87450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #70 0x0000ffffaec3f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #71 0x0000ffffaec3f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #72 0x0000ffffaec3f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #73 0x0000ffffaecc551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #74 0x0000aaaade1759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #75 0x0000aaaade1794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #76 0x0000aaaade17aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #77 0x0000aaaade171fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #78 0x0000ffffa621098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #79 0x0000ffffa6210a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #80 0x0000aaaade1720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/lambdas-modern.cpp.script: line 2: 2538529 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,debug.ExprInspection -analyzer-config inline-lambdas=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas-modern.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/lambdas.cpp (855 of 18966) ******************** TEST 'Clang :: Analysis/lambdas.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,deadcode,debug.ExprInspection -analyzer-config inline-lambdas=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core -analyzer-config inline-lambdas=false -DNO_INLINING=1 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas.cpp : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,debug.DumpCFG -analyzer-config inline-lambdas=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas.cpp > /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/lambdas.cpp.tmp 2>&1 : 'RUN: at line 4'; /usr/bin/FileCheck --input-file=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/lambdas.cpp.tmp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,deadcode,debug.ExprInspection -analyzer-config inline-lambdas=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling invalidate_static_on_unknown_lambda()::(anonymous class)::operator()() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas.cpp:374:5: Error evaluating statement #0 0x0000ffffaa18acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaa189100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaa18b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb3108800 (linux-vdso.so.1+0x800) #4 0x0000ffffb20ac134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb20ac134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb20ac134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb20ac134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffb20ac134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffb20ac134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffb205748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffb205748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffb205748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffb206c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffb206c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffb206c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffb206c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffb206c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffb206c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffb206c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffb206c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffb206c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffb206c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #23 0x0000ffffb206c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffb206c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffb206cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffb206cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffb206cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffb206cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffb206cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #30 0x0000ffffb2336bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffb2336bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffb2336bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffb2336bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffb2336bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffb2337b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #36 0x0000ffffb2337b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffb2337b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffb233c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffb233c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffb233c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffb233c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffb233c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffb0792058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #44 0x0000ffffb0792058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffb0792058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #46 0x0000ffffb0792058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffb1e57450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffb1e0f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffb1e0f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffb1e0f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffb1e9551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaab16a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaab16a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaab16aaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaab16a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffffa93e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffffa93e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaab16a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/lambdas.cpp.script: line 4: 2538535 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,deadcode,debug.ExprInspection -analyzer-config inline-lambdas=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/left-shift-cxx2a.cpp (858 of 18966) ******************** TEST 'Clang :: Analysis/left-shift-cxx2a.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -triple x86_64-apple-darwin13 -Wno-shift-count-overflow -verify=expected,cxx17 -std=c++17 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/left-shift-cxx2a.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -triple x86_64-apple-darwin13 -Wno-shift-count-overflow -verify=expected,cxx2a -std=c++2a /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/left-shift-cxx2a.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -triple x86_64-apple-darwin13 -Wno-shift-count-overflow -verify=expected,cxx17 -std=c++17 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/left-shift-cxx2a.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testUnrepresentableLeftShift(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/left-shift-cxx2a.cpp:19:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/left-shift-cxx2a.cpp:19:7: Error evaluating statement #0 0x0000ffffaaafacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaaaf9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaaafb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb3a7a800 (linux-vdso.so.1+0x800) #4 0x0000ffffb2d729e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb2d729e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb2d729e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb2d729e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb2d729e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb2d729e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb2d729e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb2d729e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb2a20048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb2a20048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb2a20048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb2a20048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb2a20f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb2a20f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb2a20f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb2a20f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb2a33b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb2a33b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb2a33b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb2a35060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb2a35060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb2a35060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb2a34530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb2a34530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb2a34530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb2a40b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb2a40b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb2a40b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb2a4a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb2a4a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb2a4a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb29aea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb29aea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb29aea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb29aea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffb2e9c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb2e9c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb2e9c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb29c1ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb29c1ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb29c1ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffb29dc07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffb29dc07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffb29dc07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffb29dc07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffb29dc07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffb29dc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffffb29dc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffffb29dc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffffb29dcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb29dcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb29dcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb29dcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb29dcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb2ca6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb2ca6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb2ca6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb2ca6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb2ca6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb2ca7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb2ca7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb2ca7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb2cac130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb2cac130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb2cac130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb2cac130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb2cac130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb1102058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb1102058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb1102058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb1102058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb27c7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb277f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb277f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb277f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb280551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab1ce59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab1ce94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab1ceaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab1ce1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa9d5098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa9d50a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab1ce20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/left-shift-cxx2a.cpp.script: line 2: 2538548 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -triple x86_64-apple-darwin13 -Wno-shift-count-overflow -verify=expected,cxx17 -std=c++17 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/left-shift-cxx2a.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/lifetime-extension.cpp (859 of 18966) ******************** TEST 'Clang :: Analysis/lifetime-extension.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++11 -analyzer-checker=core,debug.ExprInspection -analyzer-config cfg-temporary-dtors=false -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++11 -analyzer-checker=core,debug.ExprInspection -analyzer-config cfg-temporary-dtors=true,c++-temp-dtor-inlining=true -DTEMPORARIES -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.cpp : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++17 -analyzer-checker=core,debug.ExprInspection -analyzer-config cfg-temporary-dtors=true,c++-temp-dtor-inlining=true -DTEMPORARIES -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.cpp : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++11 -analyzer-checker=core,debug.ExprInspection -analyzer-config cfg-temporary-dtors=false -DMOVES -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.cpp : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++11 -analyzer-checker=core,debug.ExprInspection -analyzer-config cfg-temporary-dtors=true,c++-temp-dtor-inlining=true -DTEMPORARIES -DMOVES -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.cpp : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++17 -analyzer-checker=core,debug.ExprInspection -analyzer-config cfg-temporary-dtors=true,c++-temp-dtor-inlining=true -DTEMPORARIES -DMOVES -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++11 -analyzer-checker=core,debug.ExprInspection -analyzer-config cfg-temporary-dtors=false -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling maintain_address_of_copies::AddressVector::AddressVector() at line 325 #1 Calling maintain_address_of_copies::f4() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.cpp:240:25: Error evaluating statement #0 0x0000ffff7e5dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7e5d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7e5db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff87558800 (linux-vdso.so.1+0x800) #4 0x0000ffff864a7188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff864a7188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff864a7188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff864a7188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff864a7188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff864a7188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff864a7188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff864a7188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff864bc264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff864bc264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff864bc264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff864bc264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff864bc264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff864bc264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff864bc264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff864bc264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff864bc264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffff864bc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #22 0x0000ffff864bc6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffff864bc9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffff864bcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff864bcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff864bcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff864bcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff864bcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #29 0x0000ffff86786bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff86786bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff86786bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff86786bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff86786bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff86787b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #35 0x0000ffff86787b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff86787b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff8678c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff8678c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff8678c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff8678c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff8678c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff84be2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #43 0x0000ffff84be2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff84be2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #45 0x0000ffff84be2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff862a7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff8625f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff8625f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff8625f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff862e551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaad86259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaad86294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaad862aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaad8621fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff7d83098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff7d830a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaad86220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/lifetime-extension.cpp.script: line 6: 2538572 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++11 -analyzer-checker=core,debug.ExprInspection -analyzer-config cfg-temporary-dtors=false -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/lifetime-extended-regions.cpp (860 of 18966) ******************** TEST 'Clang :: Analysis/lifetime-extended-regions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=debug.ExprInspection -Wno-dangling -Wno-c++1z-extensions -verify=expected,cpp14 -x c++ -std=c++14 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extended-regions.cpp : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=debug.ExprInspection -analyzer-config elide-constructors=false -Wno-dangling -Wno-c++1z-extensions -verify=expected,cpp14 -x c++ -std=c++14 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extended-regions.cpp : 'RUN: at line 12'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=debug.ExprInspection -Wno-dangling -verify=expected,cpp17 -x c++ -std=c++17 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extended-regions.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=debug.ExprInspection -Wno-dangling -Wno-c++1z-extensions -verify=expected,cpp14 -x c++ -std=c++14 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extended-regions.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling select(_Bool, const int &, const int &) at line 161 #1 Calling propagation(_Bool) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extended-regions.cpp:24:61: Error evaluating branch #0 0x0000ffffb56aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb56a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb56ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbe627800 (linux-vdso.so.1+0x800) #4 0x0000ffffbd9229e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbd9229e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbd9229e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbd9229e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbd9229e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbd9229e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbd9229e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbd9229e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbd5d0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbd5d0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbd5d0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbd5d0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbd5d0d10 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbd5d0d10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbd5d0d10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbd5d0d10 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffffbd5e4cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbd5e4cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbd5e4cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffbd5e4f90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbd5e4f90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbd5e4f90 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffbd5e4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbd5e4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbd5e4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbd5f0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbd5f0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbd5f0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbd5fa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbd5fa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbd5fa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbd55ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbd55ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbd55ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbd55ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffbda4c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbda4c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbda4c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffbd574c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffbd574c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffbd574c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffbd574c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffbd574c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffbd574c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffbd574c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffbd574c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffbd574c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffbd574c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffbd575200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffbd58cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffbd58cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffbd58cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffbd58cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffbd58cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffbd856bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffbd856bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffbd856bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffbd856bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffbd856bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffbd857b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffbd857b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffbd857b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffbd85c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffbd85c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffbd85c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffbd85c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffbd85c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffbbcb2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffbbcb2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffbbcb2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffbbcb2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffbd377450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffbd32f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffbd32f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffbd32f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffbd3b551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab0de59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab0de94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab0deaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab0de1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffb490098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffb4900a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab0de20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/lifetime-extended-regions.cpp.script: line 3: 2538568 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=debug.ExprInspection -Wno-dangling -Wno-c++1z-extensions -verify=expected,cpp14 -x c++ -std=c++14 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extended-regions.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/lifetime-extension.mm (861 of 18966) ******************** TEST 'Clang :: Analysis/lifetime-extension.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++11 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.mm : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++17 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.mm : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++11 -analyzer-checker=core,debug.ExprInspection -DMOVES -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.mm : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++17 -analyzer-checker=core,debug.ExprInspection -DMOVES -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++11 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.mm 1. parser at end of file 2. While analyzing stack: #0 Calling AddressVector::AddressVector() at line 55 #1 Calling testReturnByValueFromMessage(Foo *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.mm:13:25: Error evaluating statement #0 0x0000ffff7f08acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7f089100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7f08b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff88004800 (linux-vdso.so.1+0x800) #4 0x0000ffff86f57188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff86f57188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff86f57188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff86f57188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff86f57188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff86f57188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff86f57188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff86f57188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff86f6c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff86f6c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff86f6c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff86f6c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff86f6c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff86f6c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff86f6c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff86f6c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff86f6c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffff86f6c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #22 0x0000ffff86f6c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffff86f6c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffff86f6cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff86f6cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff86f6cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff86f6cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff86f6cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #29 0x0000ffff87236bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff87236bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff87236bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff87236bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff87236bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff87237b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #35 0x0000ffff87237b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff87237b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff8723c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff8723c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff8723c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff8723c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff8723c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff85692058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #43 0x0000ffff85692058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff85692058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #45 0x0000ffff85692058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff86d57450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff86d0f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff86d0f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff86d0f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff86d9551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaae3d759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaae3d794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaae3d7aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaae3d71fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff7e2e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff7e2e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaae3d720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/lifetime-extension.mm.script: line 4: 2538584 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++11 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/live-bindings-test.cpp (863 of 18966) ******************** TEST 'Clang :: Analysis/live-bindings-test.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyzer-checker=core,deadcode -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/live-bindings-test.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyzer-checker=core,deadcode -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/live-bindings-test.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling deconstruct_tuple_types_no_warning() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/live-bindings-test.cpp:125:3: Error evaluating statement #0 0x0000ffff7c5aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7c5a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7c5ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8552b800 (linux-vdso.so.1+0x800) #4 0x0000ffff84477188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff84477188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff84477188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff84477188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff84477188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff84477188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff84477188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff84477188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff8448c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff8448c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff8448c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff8448c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff8448c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff8448c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff8448c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff8448c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff8448c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffff8448c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #22 0x0000ffff8448c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #23 0x0000ffff8448cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #24 0x0000ffff8448cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #25 0x0000ffff8448cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #26 0x0000ffff8448cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #27 0x0000ffff8448cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #28 0x0000ffff84756bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #29 0x0000ffff84756bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #30 0x0000ffff84756bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #31 0x0000ffff84756bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #32 0x0000ffff84756bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #33 0x0000ffff84757b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #34 0x0000ffff84757b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x0000ffff84757b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #36 0x0000ffff8475c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x0000ffff8475c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x0000ffff8475c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x0000ffff8475c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x0000ffff8475c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x0000ffff82bb2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #42 0x0000ffff82bb2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x0000ffff82bb2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #44 0x0000ffff82bb2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x0000ffff84277450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #46 0x0000ffff8422f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #47 0x0000ffff8422f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #48 0x0000ffff8422f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #49 0x0000ffff842b551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #50 0x0000aaaad43759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x0000aaaad43794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x0000aaaad437aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x0000aaaad4371fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x0000ffff7b80098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #55 0x0000ffff7b800a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #56 0x0000aaaad43720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/live-bindings-test.cpp.script: line 1: 2538606 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyzer-checker=core,deadcode -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/live-bindings-test.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/llvm-conventions.cpp (865 of 18966) ******************** TEST 'Clang :: Analysis/llvm-conventions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.llvm.Conventions -std=c++14 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/llvm-conventions.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.llvm.Conventions -std=c++14 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/llvm-conventions.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling getTemporaryString() at line 182 #1 Calling assigningTempStringFromFunctionToStringRefTest() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/llvm-conventions.cpp:177:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/llvm-conventions.cpp:177:10: Error evaluating statement #0 0x0000ffffaf8bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaf8b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaf8bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb8833800 (linux-vdso.so.1+0x800) #4 0x0000ffffb778da74 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffb778da74 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb778da74 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb778da74 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb778da74 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb778da74 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb778da74 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb778da74 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffffb778de64 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #13 0x0000ffffb778de64 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffffb778de64 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffffb778de64 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffffb778de64 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffffb778e37c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #18 0x0000ffffb778e37c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #19 0x0000ffffb778e37c clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:486:0 #20 0x0000ffffb778e484 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x0000ffffb778e484 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x0000ffffb778e484 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:451:0 #23 0x0000ffffb778e4d8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #24 0x0000ffffb778e4d8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #25 0x0000ffffb778e4d8 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:459:0 #26 0x0000ffffb7795dd0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #27 0x0000ffffb7795dd0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #28 0x0000ffffb7795dd0 clang::ento::ExprEngine::handleConstructionContext(clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::ento::NodeBuilderContext const*, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions&, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:753:0 #29 0x0000ffffb7795dd0 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:665:0 #30 0x0000ffffb779b22c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #31 0x0000ffffb779b22c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #32 0x0000ffffb779c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #33 0x0000ffffb779c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #34 0x0000ffffb779c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #35 0x0000ffffb779cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffb779cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffb779cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffffb779cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffffb779cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffffb7a66bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffffb7a66bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffffb7a66bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffffb7a66bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffffb7a66bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffffb7a67b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffffb7a67b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffffb7a67b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffffb7a6c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffffb7a6c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffffb7a6c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffffb7a6c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffffb7a6c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffffb5ec2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffffb5ec2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffffb5ec2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffffb5ec2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffffb7587450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffffb753f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffffb753f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffffb753f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffffb75c551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaab25a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaab25a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaab25aaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaab25a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffffaeb1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffffaeb10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaab25a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/llvm-conventions.cpp.script: line 1: 2538627 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.llvm.Conventions -std=c++14 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/llvm-conventions.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/live-variables.cpp (866 of 18966) ******************** TEST 'Clang :: Analysis/live-variables.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/live-variables.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/live-variables.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/live-variables.cpp:18:9: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/live-variables.cpp:18:9: Error evaluating statement #0 0x0000ffffa522acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa5229100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa522b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffae1a6800 (linux-vdso.so.1+0x800) #4 0x0000ffffad4a29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffad4a29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffad4a29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffad4a29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffad4a29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffad4a29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffad4a29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffad4a29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffad150048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffad150048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffad150048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffad150048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffad150f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffad150f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffad150f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffad150f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffad163b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffad163b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffad163b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffad165060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffad165060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffad165060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffad164530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffad164530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffad164530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffad170b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffad170b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffad170b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffad17a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffad17a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffad17a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffad0deaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffad0deaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffad0deaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffad0deaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffad5cc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffad5cc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffad5cc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffad0f1ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffad0f1ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffad0f1ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffad10c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffad10c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffad10c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffad10c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffad10c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffad10c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffffad10c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffffad10c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffffad10cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffad10cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffad10cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffad10cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffad10cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffad3d6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffad3d6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffad3d6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffad3d6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffad3d6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffad3d7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffad3d7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffad3d7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffad3dc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffad3dc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffad3dc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffad3dc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffad3dc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffab832058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffab832058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffab832058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffab832058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffacef7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffaceaf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffaceaf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffaceaf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffacf3551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad9fb59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad9fb94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad9fbaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad9fb1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa448098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa4480a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad9fb20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/live-variables.cpp.script: line 1: 2538622 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/live-variables.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/live-variables.m (867 of 18966) ******************** TEST 'Clang :: Analysis/live-variables.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fobjc-arc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/live-variables.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fobjc-arc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/live-variables.m 1. parser at end of file 2. While analyzing stack: #0 Calling foo 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/live-variables.m:19:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/live-variables.m:19:10: Error evaluating statement #0 0x0000ffff9537acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff95379100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9537b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9e2fe800 (linux-vdso.so.1+0x800) #4 0x0000ffff9d5f29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9d5f29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9d5f29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9d5f29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9d5f29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9d5f29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9d5f29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9d5f29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9d2a0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9d2a0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9d2a0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9d2a0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9d2a0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9d2a0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9d2a0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9d2a0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9d2b3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9d2b3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9d2b3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9d2b5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9d2b5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9d2b5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9d2b4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9d2b4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9d2b4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9d2c0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9d2c0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9d2c0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9d2ca414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9d2ca414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9d2ca414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9d22eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9d22eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9d22eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9d22eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9d71c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9d71c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9d71c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9d241ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff9d241ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff9d241ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff9d25c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff9d25c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff9d25c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff9d25c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff9d25c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff9d25c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffff9d25c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffff9d25c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffff9d25cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9d25cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9d25cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9d25cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9d25cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff9d526bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9d526bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9d526bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9d526bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9d526bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff9d527b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff9d527b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff9d527b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9d52c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9d52c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9d52c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9d52c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9d52c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff9b982058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff9b982058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff9b982058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff9b982058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff9d047450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9cfff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9cfff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9cfff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9d08551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac7ff59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac7ff94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac7ffaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac7ff1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff945d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff945d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac7ff20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/live-variables.m.script: line 1: 2538624 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fobjc-arc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/live-variables.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/localization-aggressive.m (868 of 18966) ******************** TEST 'Clang :: Analysis/localization-aggressive.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -fblocks -x objective-c-header -emit-pch -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/localization-aggressive.m.tmp.pch /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/localization-pch.h : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-config optin.osx.cocoa.localizability.NonLocalizedStringChecker:AggressiveReport=true -analyzer-checker=optin.osx.cocoa.localizability.NonLocalizedStringChecker -analyzer-checker=optin.osx.cocoa.localizability.EmptyLocalizationContextChecker -include-pch /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/localization-aggressive.m.tmp.pch -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/localization-aggressive.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-config optin.osx.cocoa.localizability.NonLocalizedStringChecker:AggressiveReport=true -analyzer-checker=optin.osx.cocoa.localizability.NonLocalizedStringChecker -analyzer-checker=optin.osx.cocoa.localizability.EmptyLocalizationContextChecker -include-pch /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/localization-aggressive.m.tmp.pch -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/localization-aggressive.m 1. parser at end of file #0 0x0000ffff7a1eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7a1e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7a1eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8316d800 (linux-vdso.so.1+0x800) #4 0x0000ffff824629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff824629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff824629e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff824629e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff824629e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff824629e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff824629e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff824629e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff82110048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff82110048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff82110048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff82110048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff82110f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff82110f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff82110f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff82110f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff82123b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff82123b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff82123b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff82125060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff82125060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff82125060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff82124530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff82124530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff82124530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff82130b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff82130b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff82130b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8213a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8213a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8213a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8209eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8209eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8209eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8209eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8209efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8209efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8209efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff82072620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff82072620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff82072620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff820aef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff820aef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff820aef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff820cce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff820cce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff820cce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff82396bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff82396bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff82396bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff82396bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff82396bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff82397b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff82397b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff82397b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff8239c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8239c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8239c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff8239c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff8239c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff807f2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff807f2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff807f2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff807f2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff81eb7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff81e6f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff81e6f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff81e6f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff81ef551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaad82759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaad82794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaad827aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaad8271fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff7944098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff79440a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaad82720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/localization-aggressive.m.script: line 2: 2538634 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-config optin.osx.cocoa.localizability.NonLocalizedStringChecker:AggressiveReport=true -analyzer-checker=optin.osx.cocoa.localizability.NonLocalizedStringChecker -analyzer-checker=optin.osx.cocoa.localizability.EmptyLocalizationContextChecker -include-pch /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/localization-aggressive.m.tmp.pch -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/localization-aggressive.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/logical-ops.c (869 of 18966) ******************** TEST 'Clang :: Analysis/logical-ops.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/logical-ops.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/logical-ops.c 1. parser at end of file 2. While analyzing stack: #0 Calling ambiguous_backtrack_2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/logical-ops.c:52:27: Error evaluating statement #0 0x0000ffffac36acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffac369100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffac36b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb52e3800 (linux-vdso.so.1+0x800) #4 0x0000ffffb428c134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb428c134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb428c134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb428c134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffb428c134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffb428c134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffb423748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffb423748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffb423748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffb424c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffb424c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffb424c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffb424c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffb424c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffb424c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffb424c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffb424c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffb424c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffb424c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #23 0x0000ffffb424c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffb424c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffb424cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffb424cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffb424cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffb424cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffb424cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #30 0x0000ffffb4516bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffb4516bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffb4516bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffb4516bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffb4516bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffb4517b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #36 0x0000ffffb4517b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffb4517b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffb451c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffb451c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffb451c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffb451c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffb451c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffb2972058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #44 0x0000ffffb2972058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffb2972058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #46 0x0000ffffb2972058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffb4037450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffb3fef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffb3fef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffb3fef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffb407551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaac01a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaac01a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaac01aaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaac01a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffffab5c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffffab5c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaac01a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/logical-ops.c.script: line 1: 2538653 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/logical-ops.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/localization.m (872 of 18966) ******************** TEST 'Clang :: Analysis/localization.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-output=text -analyzer-checker=optin.osx.cocoa.localizability.NonLocalizedStringChecker -analyzer-checker=alpha.osx.cocoa.localizability.PluralMisuseChecker -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/localization.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-output=text -analyzer-checker=optin.osx.cocoa.localizability.NonLocalizedStringChecker -analyzer-checker=alpha.osx.cocoa.localizability.PluralMisuseChecker -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/localization.m 1. parser at end of file #0 0x0000ffff80fbacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff80fb9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff80fbb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff89f32800 (linux-vdso.so.1+0x800) #4 0x0000ffff892329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff892329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff892329e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff892329e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff892329e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff892329e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff892329e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff892329e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff88ee0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff88ee0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff88ee0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff88ee0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff88ee0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff88ee0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff88ee0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff88ee0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff88ef3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff88ef3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff88ef3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff88ef5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff88ef5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff88ef5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff88ef4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff88ef4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff88ef4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff88f00b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff88f00b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff88f00b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff88f0a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff88f0a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff88f0a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff88e6eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff88e6eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff88e6eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff88e6eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff88e6efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff88e6efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff88e6efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff88e42620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff88e42620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff88e42620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff88e7ef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff88e7ef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff88e7ef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff88e9ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff88e9ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff88e9ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff89166bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff89166bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff89166bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff89166bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff89166bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff89167b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff89167b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff89167b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff8916c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8916c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8916c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff8916c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff8916c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff875c2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff875c2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff875c2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff875c2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff88c87450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff88c3f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff88c3f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff88c3f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff88cc551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaabee259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaabee294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaabee2aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaabee21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff8021098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff80210a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaabee220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/localization.m.script: line 1: 2538647 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-output=text -analyzer-checker=optin.osx.cocoa.localizability.NonLocalizedStringChecker -analyzer-checker=alpha.osx.cocoa.localizability.PluralMisuseChecker -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/localization.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/loop-unrolling.cpp (873 of 18966) ******************** TEST 'Clang :: Analysis/loop-unrolling.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config unroll-loops=true,cfg-loopexit=true -verify -std=c++14 -analyzer-config exploration_strategy=unexplored_first_queue /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-unrolling.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config unroll-loops=true,cfg-loopexit=true,exploration_strategy=dfs -verify -std=c++14 -DDFS=1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-unrolling.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config unroll-loops=true,cfg-loopexit=true -verify -std=c++14 -analyzer-config exploration_strategy=unexplored_first_queue /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-unrolling.cpp 1. parser at end of file #0 0x0000ffff9573acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff95739100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9573b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9e6b0800 (linux-vdso.so.1+0x800) #4 0x0000ffff9d9b29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9d9b29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9d9b29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9d9b29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9d9b29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9d9b29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9d9b29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9d9b29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9d660048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9d660048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9d660048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9d660048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9d660f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9d660f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9d660f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9d660f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9d673b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9d673b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9d673b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9d675060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9d675060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9d675060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9d674530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9d674530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9d674530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9d680b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9d680b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9d680b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9d68a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9d68a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9d68a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9d5eeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9d5eeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9d5eeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9d5eeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9d5eefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9d5eefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9d5eefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff9d5c2620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff9d5c2620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff9d5c2620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff9d5fef2c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff9d5fef2c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff9d5fef2c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff9d61ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff9d61ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff9d61ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff9d8e6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff9d8e6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff9d8e6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff9d8e6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff9d8e6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff9d8e7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff9d8e7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff9d8e7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff9d8ec130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff9d8ec130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff9d8ec130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff9d8ec130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff9d8ec130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff9bd42058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff9bd42058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff9bd42058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff9bd42058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff9d407450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff9d3bf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff9d3bf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff9d3bf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff9d44551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaabe5959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaabe5994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaabe59aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaabe591fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff9499098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff94990a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaabe5920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/loop-unrolling.cpp.script: line 2: 2538667 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config unroll-loops=true,cfg-loopexit=true -verify -std=c++14 -analyzer-config exploration_strategy=unexplored_first_queue /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-unrolling.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/loop-widening-preserve-reference-type.cpp (874 of 18966) ******************** TEST 'Clang :: Analysis/loop-widening-preserve-reference-type.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-max-loop 4 -analyzer-config widen-loops=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening-preserve-reference-type.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-max-loop 4 -analyzer-config widen-loops=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening-preserve-reference-type.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling invalid_type_alias_region_access() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening-preserve-reference-type.cpp:18:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening-preserve-reference-type.cpp:18:10: Error evaluating statement #0 0x0000ffffb327acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb3279100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb327b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbc1ff800 (linux-vdso.so.1+0x800) #4 0x0000ffffbb147804 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbb147804 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbb147804 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbb147804 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbb147804 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbb147804 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbb147804 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffffbb147804 clang::ento::ExprEngine::getObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:607:55 #12 0x0000ffffbb627800 std::_Optional_base_impl>::_M_is_engaged() const /usr/include/c++/12/optional:471:0 #13 0x0000ffffbb627800 std::optional::operator bool() const /usr/include/c++/12/optional:985:0 #14 0x0000ffffbb627800 clang::ento::ExprEngine::VisitCXXBindTemporaryExpr(clang::CXXBindTemporaryExpr const*, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&) (.part.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1666:0 #15 0x0000ffffbb15b8fc clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #16 0x0000ffffbb15b8fc clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #17 0x0000ffffbb15b8fc clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1882:0 #18 0x0000ffffbb15c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #19 0x0000ffffbb15c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #20 0x0000ffffbb15c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #21 0x0000ffffbb15cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #22 0x0000ffffbb15cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #23 0x0000ffffbb15cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #24 0x0000ffffbb15cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #25 0x0000ffffbb15cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #26 0x0000ffffbb426bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbb426bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbb426bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #29 0x0000ffffbb426bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #30 0x0000ffffbb426bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #31 0x0000ffffbb427b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #32 0x0000ffffbb427b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x0000ffffbb427b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #34 0x0000ffffbb42c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x0000ffffbb42c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x0000ffffbb42c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x0000ffffbb42c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x0000ffffbb42c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x0000ffffb9882058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #40 0x0000ffffb9882058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x0000ffffb9882058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #42 0x0000ffffb9882058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x0000ffffbaf47450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #44 0x0000ffffbaeff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #45 0x0000ffffbaeff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #46 0x0000ffffbaeff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #47 0x0000ffffbaf8551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #48 0x0000aaaabf2359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x0000aaaabf2394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x0000aaaabf23aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x0000aaaabf231fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x0000ffffb24d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #53 0x0000ffffb24d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #54 0x0000aaaabf2320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/loop-widening-preserve-reference-type.cpp.script: line 1: 2538688 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-max-loop 4 -analyzer-config widen-loops=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening-preserve-reference-type.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/loop-widening.cpp (875 of 18966) ******************** TEST 'Clang :: Analysis/loop-widening.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening.cpp -analyzer-checker=core -analyzer-config widen-loops=true -analyzer-config track-conditions=false -analyzer-max-loop 2 -analyzer-output=text -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening.cpp -analyzer-checker=core -analyzer-config widen-loops=true -analyzer-config track-conditions=false -analyzer-max-loop 2 -analyzer-output=text 1. parser at end of file #0 0x0000ffffa807acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa8079100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa807b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb0ff3800 (linux-vdso.so.1+0x800) #4 0x0000ffffaff4c024 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffaff4c024 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffaff4c024 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffaff4c024 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffaff4c024 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffaff4c024 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffaff4c024 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffaff4c024 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2911:0 #12 0x0000ffffaff4c948 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #13 0x0000ffffaff5c974 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #14 0x0000ffffaff5cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffaff5cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffaff5cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffaff5cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffaff5cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffffb0226bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffb0226bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffb0226bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffb0226bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffb0226bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffb0227b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffffb0227b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffb0227b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffb022c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffb022c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffb022c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffb022c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffb022c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffffae682058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffffae682058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffffae682058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffffae682058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffafd47450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffafcff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffafcff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffafcff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffafd8551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaae4ce59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaae4ce94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaae4ceaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaae4ce1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffffa72d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffffa72d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaae4ce20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/loop-widening.cpp.script: line 1: 2538702 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening.cpp -analyzer-checker=core -analyzer-config widen-loops=true -analyzer-config track-conditions=false -analyzer-max-loop 2 -analyzer-output=text -- ******************** Testing: 0 FAIL: Clang :: Analysis/loop-widening-notes.cpp (876 of 18966) ******************** TEST 'Clang :: Analysis/loop-widening-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-max-loop 2 -analyzer-config widen-loops=true -analyzer-output=text -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening-notes.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-max-loop 2 -analyzer-config widen-loops=true -analyzer-output=text -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening-notes.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_for_loop() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening-notes.cpp:62:8: Error evaluating New Allocator Call #0 0x0000ffff83d1acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff83d19100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff83d1b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8cc9b800 (linux-vdso.so.1+0x800) #4 0x0000ffff8bf929e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8bf929e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8bf929e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8bf929e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8bf929e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8bf929e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8bf929e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8bf929e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8bc40048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8bc40048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8bc40048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8bc40048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8bc40f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8bc40f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8bc40f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8bc40f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8bc53b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8bc53b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8bc53b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8bc55060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8bc55060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8bc55060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8bc54530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8bc54530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8bc54530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8bc60b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8bc60b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8bc60b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8bc6a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8bc6a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8bc6a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8bbceaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8bbceaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8bbceaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8bbceaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8bbcefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8bbcefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8bbcefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff8bbf8f68 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff8bbf8f68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff8bbf8f68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff8bbf8f68 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff8bbf8f68 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff8bbf937c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff8bbf937c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff8bbf937c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff8bbf937c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff8bbf937c clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffff8bbfc5fc clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffff8bbfc6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #54 0x0000ffff8bbfc9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffff8bbfcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffff8bbfcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffff8bbfcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffff8bbfcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffff8bbfcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #60 0x0000ffff8bec6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffff8bec6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffff8bec6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffff8bec6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffff8bec6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffff8bec7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #66 0x0000ffff8bec7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffff8bec7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffff8becc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffff8becc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffff8becc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffff8becc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffff8becc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffff8a322058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #74 0x0000ffff8a322058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffff8a322058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #76 0x0000ffff8a322058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffff8b9e7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffff8b99f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffff8b99f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffff8b99f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffff8ba2551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaabe5a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaabe5a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaabe5aaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaabe5a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffff82f7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffff82f70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaabe5a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/loop-widening-notes.cpp.script: line 1: 2538683 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-max-loop 2 -analyzer-config widen-loops=true -analyzer-output=text -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening-notes.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/loop-widening.c (877 of 18966) ******************** TEST 'Clang :: Analysis/loop-widening.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-max-loop 4 -analyzer-config widen-loops=true -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DTEST_NULL_TERM -analyzer-checker=core,unix.Malloc,debug.ExprInspection,alpha.cplusplus.IteratorRange -analyzer-max-loop 4 -analyzer-config widen-loops=true -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-max-loop 4 -analyzer-config widen-loops=true -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening.c 1. parser at end of file 2. While analyzing stack: #0 Calling nested_loop_inner_widen 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening.c:188:5: Error evaluating statement #0 0x0000ffffa57eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa57e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa57eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffae760800 (linux-vdso.so.1+0x800) #4 0x0000ffffad70c134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffad70c134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffad70c134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffad70c134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffad70c134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffad70c134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffad6b748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffad6b748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffad6b748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffad6cc264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffad6cc264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffad6cc264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffad6cc264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffad6cc264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffad6cc264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffad6cc264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffad6cc264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffad6cc264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffad6cc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #23 0x0000ffffad6cc6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffad6cc9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffad6ccb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffad6ccb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffad6ccb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffad6ccb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffad6ccb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #30 0x0000ffffad996bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffad996bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffad996bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffad996bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffad996bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffad997b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #36 0x0000ffffad997b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffad997b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffad99c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffad99c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffad99c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffad99c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffad99c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffabdf2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #44 0x0000ffffabdf2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffabdf2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #46 0x0000ffffabdf2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffad4b7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffad46f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffad46f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffad46f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffad4f551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaab59d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaab59d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaab59daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaab59d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffffa4a4098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffffa4a40a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaab59d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/loop-widening.c.script: line 2: 2538696 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-max-loop 4 -analyzer-config widen-loops=true -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/main.c (879 of 18966) ******************** TEST 'Clang :: Analysis/main.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/main.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/main.c 1. parser at end of file 2. While analyzing stack: #0 Calling foo 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/main.c:26:23: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/main.c:26:23: Error evaluating statement #0 0x0000ffff9d00acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9d009100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9d00b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa5f8b800 (linux-vdso.so.1+0x800) #4 0x0000ffffa52829e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa52829e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa52829e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa52829e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa52829e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa52829e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa52829e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa52829e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa4f30048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa4f30048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa4f30048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa4f30048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa4f30f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa4f30f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa4f30f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa4f30f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa4f43b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa4f43b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa4f43b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa4f45060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa4f45060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa4f45060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa4f44530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa4f44530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa4f44530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa4f50b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa4f50b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa4f50b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa4f5a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa4f5a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa4f5a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa4ebea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa4ebea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa4ebea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa4ebea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffa53ac8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa53ac8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa53ac8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa4ed1ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffa4ed1ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffa4ed1ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffa4eec07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffa4eec07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffa4eec07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffa4eec07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffa4eec07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffa4eec2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffffa4eec5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffffa4eec7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffffa4eecb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa4eecb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa4eecb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa4eecb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa4eecb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffa51b6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa51b6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa51b6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa51b6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa51b6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa51b7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffa51b7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa51b7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa51bc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa51bc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa51bc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa51bc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa51bc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa3612058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffa3612058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa3612058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffa3612058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa4cd7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa4c8f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa4c8f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa4c8f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa4d1551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaabc6859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaabc6894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaabc68aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaabc681fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9c26098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff9c260a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaabc6820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/main.c.script: line 1: 2538724 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/main.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/main.cpp (880 of 18966) ******************** TEST 'Clang :: Analysis/main.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/main.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/main.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling main() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/main.cpp:15:23: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/main.cpp:15:23: Error evaluating statement #0 0x0000ffffa51cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa51c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa51cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffae14e800 (linux-vdso.so.1+0x800) #4 0x0000ffffad4429e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffad4429e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffad4429e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffad4429e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffad4429e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffad4429e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffad4429e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffad4429e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffad0f0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffad0f0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffad0f0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffad0f0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffad0f0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffad0f0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffad0f0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffad0f0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffad103b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffad103b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffad103b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffad105060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffad105060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffad105060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffad104530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffad104530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffad104530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffad110b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffad110b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffad110b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffad11a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffad11a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffad11a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffad07ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffad07ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffad07ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffad07ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffad56c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffad56c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffad56c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffad091ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffad091ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffad091ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffad0ac07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffad0ac07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffad0ac07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffad0ac07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffad0ac07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffad0ac2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffffad0ac5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffffad0ac7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffffad0acb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffad0acb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffad0acb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffad0acb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffad0acb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffad376bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffad376bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffad376bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffad376bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffad376bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffad377b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffad377b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffad377b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffad37c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffad37c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffad37c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffad37c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffad37c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffab7d2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffab7d2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffab7d2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffab7d2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000fffface97450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000fffface4f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000fffface4f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000fffface4f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffaced551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad1db59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad1db94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad1dbaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad1db1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa442098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa4420a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad1db20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/main.cpp.script: line 1: 2538727 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/main.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc-annotations.c (883 of 18966) ******************** TEST 'Clang :: Analysis/malloc-annotations.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix.Malloc -analyzer-config unix.DynamicMemoryModeling:Optimistic=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-annotations.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix.Malloc -analyzer-config unix.DynamicMemoryModeling:Optimistic=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-annotations.c 1. parser at end of file 2. While analyzing stack: #0 Calling testMultipleFreeAnnotations 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-annotations.c:271:12: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-annotations.c:271:12: Error evaluating statement #0 0x0000ffff92daacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff92da9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff92dab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9bd24800 (linux-vdso.so.1+0x800) #4 0x0000ffff9b009250 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9b009250 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9b009250 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9b009250 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9b009250 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9b009250 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9b009250 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9b009250 (anonymous namespace)::MallocChecker::evalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:3069:0 #12 0x0000ffff9ae17760 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffff9ae17760 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffff9ae17760 llvm::IntrusiveRefCntPtr clang::ento::eval::Assume::_evalAssume<(anonymous namespace)::MallocChecker>(void*, llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:463:74 #15 0x0000ffff9ac2b758 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff9ac2b758 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff9ac2b758 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff9ac2b758 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffff9acf0be4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff9acf0be4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff9acf0be4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffff9acf0be4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffff9acfa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffff9acfa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff9acfa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #26 0x0000ffff9ac5ebd8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9ac5ebd8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9ac5ebd8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffff9ac5ebd8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffff9b14c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff9b14c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff9b14c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #33 0x0000ffff9ae23840 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffff9ae23840 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffff9ae23840 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffff9ae23840 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffff9ae23840 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffff9ae23840 (anonymous namespace)::MallocChecker::ProcessZeroAllocCheck(clang::ento::CallEvent const&, unsigned int, llvm::IntrusiveRefCntPtr, std::optional) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1529:0 #39 0x0000ffff9ae23c90 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffff9ae23c90 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffff9ae23c90 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #42 0x0000ffff9ae30180 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffff9ae30180 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffff9ac489a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff9ac489a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff9ac489a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffff9ac489a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffff9ac489a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffff9aca8c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffff9aca8c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffff9aca8c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffff9aca8c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffff9aca8c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffff9aca8c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffff9aca9514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffff9ac8b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffff9ac8b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffff9ac8c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffff9ac8c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffff9ac8c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffff9ac8cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffff9ac8cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffff9ac8cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffff9ac8cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffff9ac8cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #66 0x0000ffff9af56bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffff9af56bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffff9af56bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffff9af56bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffff9af56bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffff9af57b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #72 0x0000ffff9af57b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffff9af57b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffff9af5c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffff9af5c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffff9af5c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffff9af5c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffff9af5c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffff993b2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #80 0x0000ffff993b2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffff993b2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #82 0x0000ffff993b2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffff9aa77450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffff9aa2f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffff9aa2f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffff9aa2f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffff9aab551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaab1fc59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaab1fc94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaab1fcaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaab1fc1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff9200098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff92000a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaab1fc20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-annotations.c.script: line 1: 2538734 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix.Malloc -analyzer-config unix.DynamicMemoryModeling:Optimistic=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-annotations.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc-annotations.cpp (884 of 18966) ******************** TEST 'Clang :: Analysis/malloc-annotations.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix.Malloc -analyzer-config unix.DynamicMemoryModeling:Optimistic=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-annotations.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix.Malloc -analyzer-config unix.DynamicMemoryModeling:Optimistic=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-annotations.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling af5(MemoryAllocator &) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-annotations.cpp:95:3: Error evaluating statement #0 0x0000ffff813aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff813a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff813ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8a32e800 (linux-vdso.so.1+0x800) #4 0x0000ffff89429c50 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff89429c50 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff89429c50 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff89429c50 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff89429c50 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff89429c50 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff89429c50 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff89429c50 (anonymous namespace)::MallocChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:2796:0 #12 0x0000ffff8925cbd4 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffff892773b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffff892773b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffff892773b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffff892773b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffff892773b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffff892773b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffff892773b8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffff8928c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffff8928c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffff8928c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffff8928c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffff8928c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffff8928c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffff8928c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffff8928c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffff8928c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffff8928c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #30 0x0000ffff8928c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #31 0x0000ffff8928cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffff8928cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffff8928cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffff8928cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffff8928cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffff89556bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff89556bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff89556bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffff89556bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffff89556bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffff89557b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffff89557b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffff89557b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffff8955c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffff8955c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffff8955c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffff8955c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffff8955c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffff879b2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffff879b2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffff879b2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffff879b2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffff89077450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffff8902f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffff8902f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffff8902f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffff890b551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaad91559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaad91594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaad915aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaad9151fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffff8060098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffff80600a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaad91520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-annotations.cpp.script: line 1: 2538746 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix.Malloc -analyzer-config unix.DynamicMemoryModeling:Optimistic=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-annotations.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc-free-after-return.cpp (888 of 18966) ******************** TEST 'Clang :: Analysis/malloc-free-after-return.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.NewDelete -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-free-after-return.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.NewDelete -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-free-after-return.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling S::S() at line 19 #1 Calling freeAfterReturnLocal() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-free-after-return.cpp:6:14: Error evaluating New Allocator Call #0 0x0000ffff8283acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff82839100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8283b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8b7b9800 (linux-vdso.so.1+0x800) #4 0x0000ffff8aab29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8aab29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8aab29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8aab29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8aab29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8aab29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8aab29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8aab29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8a760048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8a760048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8a760048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8a760048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8a760f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8a760f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8a760f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8a760f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8a773b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8a773b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8a773b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8a775060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8a775060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8a775060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8a774530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8a774530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8a774530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8a780b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8a780b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8a780b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8a78a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8a78a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8a78a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8a6eeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8a6eeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8a6eeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8a6eeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8a6eefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8a6eefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8a6eefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff8a718f68 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff8a718f68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff8a718f68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff8a718f68 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff8a718f68 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff8a71937c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff8a71937c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff8a71937c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff8a71937c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff8a71937c clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffff8a71c5fc clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffff8a71c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #54 0x0000ffff8a71c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffff8a71cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffff8a71cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffff8a71cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffff8a71cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffff8a71cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #60 0x0000ffff8a9e6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffff8a9e6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffff8a9e6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffff8a9e6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffff8a9e6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffff8a9e7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #66 0x0000ffff8a9e7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffff8a9e7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffff8a9ec130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffff8a9ec130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffff8a9ec130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffff8a9ec130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffff8a9ec130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffff88e42058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #74 0x0000ffff88e42058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffff88e42058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #76 0x0000ffff88e42058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffff8a507450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffff8a4bf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffff8a4bf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffff8a4bf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffff8a54551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaac42359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaac42394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaac423aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaac4231fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffff81a9098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffff81a90a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaac42320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-free-after-return.cpp.script: line 1: 2538783 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.NewDelete -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-free-after-return.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc-fnptr-plist.c (889 of 18966) ******************** TEST 'Clang :: Analysis/malloc-fnptr-plist.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker core,unix.Malloc -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-fnptr-plist.c.tmp.plist -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-fnptr-plist.c : 'RUN: at line 2'; /usr/bin/FileCheck --input-file=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-fnptr-plist.c.tmp.plist /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-fnptr-plist.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker core,unix.Malloc -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-fnptr-plist.c.tmp.plist -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-fnptr-plist.c 1. parser at end of file 2. While analyzing stack: #0 Calling foo 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-fnptr-plist.c:7:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-fnptr-plist.c:7:3: Error evaluating statement #0 0x0000ffffaad8acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaad89100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaad8b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb3d04800 (linux-vdso.so.1+0x800) #4 0x0000ffffb30029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb30029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb30029e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb30029e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb30029e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb30029e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb30029e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb30029e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb2cb0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb2cb0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb2cb0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb2cb0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb2cb0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb2cb0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb2cb0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb2cb0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb2cc3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb2cc3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb2cc3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb2cc5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb2cc5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb2cc5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb2cc4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb2cc4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb2cc4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb2cd0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb2cd0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb2cd0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb2cda414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb2cda414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb2cda414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb2c3eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb2c3eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb2c3eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb2c3eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb312c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb312c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb312c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb2e07fe4 (anonymous namespace)::MallocChecker::FreeMemAux(clang::ento::CheckerContext&, clang::Expr const*, clang::ento::CallEvent const&, llvm::IntrusiveRefCntPtr, bool, bool&, (anonymous namespace)::AllocationFamily, bool) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1909:0 #43 0x0000ffffb2fe40f0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x0000ffffb2fe40f0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffb2fe40f0 (anonymous namespace)::MallocChecker::FreeMemAux(clang::ento::CheckerContext&, clang::ento::CallEvent const&, llvm::IntrusiveRefCntPtr, unsigned int, bool, bool&, (anonymous namespace)::AllocationFamily, bool) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1808:0 #46 0x0000ffffb2e031bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #47 0x0000ffffb2e031bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #48 0x0000ffffb2e031bc (anonymous namespace)::MallocChecker::checkFree(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1293:0 #49 0x0000ffffb2e100b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #50 0x0000ffffb2e100b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #51 0x0000ffffb2e100b4 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1489:0 #52 0x0000ffffb2e100b4 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #53 0x0000ffffb2c289a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffb2c289a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffb2c289a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #56 0x0000ffffb2c289a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #57 0x0000ffffb2c289a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #58 0x0000ffffb2c88c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #59 0x0000ffffb2c88c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #60 0x0000ffffb2c88c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #61 0x0000ffffb2c88c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #62 0x0000ffffb2c88c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #63 0x0000ffffb2c88c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #64 0x0000ffffb2c89514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #65 0x0000ffffb2c6b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #66 0x0000ffffb2c6b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #67 0x0000ffffb2c6c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #68 0x0000ffffb2c6c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #69 0x0000ffffb2c6c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #70 0x0000ffffb2c6cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x0000ffffb2c6cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x0000ffffb2c6cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #73 0x0000ffffb2c6cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #74 0x0000ffffb2c6cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #75 0x0000ffffb2f36bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #76 0x0000ffffb2f36bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #77 0x0000ffffb2f36bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #78 0x0000ffffb2f36bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #79 0x0000ffffb2f36bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #80 0x0000ffffb2f37b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #81 0x0000ffffb2f37b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #82 0x0000ffffb2f37b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #83 0x0000ffffb2f3c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #84 0x0000ffffb2f3c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #85 0x0000ffffb2f3c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #86 0x0000ffffb2f3c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #87 0x0000ffffb2f3c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #88 0x0000ffffb1392058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #89 0x0000ffffb1392058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #90 0x0000ffffb1392058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #91 0x0000ffffb1392058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #92 0x0000ffffb2a57450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #93 0x0000ffffb2a0f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #94 0x0000ffffb2a0f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #95 0x0000ffffb2a0f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #96 0x0000ffffb2a9551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #97 0x0000aaaad03259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #98 0x0000aaaad03294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #99 0x0000aaaad032aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #100 0x0000aaaad0321fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #101 0x0000ffffa9fe098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #102 0x0000ffffa9fe0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #103 0x0000aaaad03220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-fnptr-plist.c.script: line 2: 2538781 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker core,unix.Malloc -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-fnptr-plist.c.tmp.plist -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-fnptr-plist.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc-bodyfarms.cpp (890 of 18966) ******************** TEST 'Clang :: Analysis/malloc-bodyfarms.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-bodyfarms.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-bodyfarms.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_no_state_change_in_body_farm_2() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-bodyfarms.cpp:24:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-bodyfarms.cpp:24:13: Error evaluating statement #0 0x0000ffffab15acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffab159100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffab15b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb40d3800 (linux-vdso.so.1+0x800) #4 0x0000ffffb33b9250 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb33b9250 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb33b9250 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb33b9250 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb33b9250 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb33b9250 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb33b9250 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb33b9250 (anonymous namespace)::MallocChecker::evalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:3069:0 #12 0x0000ffffb31c7760 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffffb31c7760 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffffb31c7760 llvm::IntrusiveRefCntPtr clang::ento::eval::Assume::_evalAssume<(anonymous namespace)::MallocChecker>(void*, llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:463:74 #15 0x0000ffffb2fdb758 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffffb2fdb758 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffffb2fdb758 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffffb2fdb758 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffffb30a0be4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffb30a0be4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffb30a0be4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffffb30a0be4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffffb30aa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffffb30aa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffb30aa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #26 0x0000ffffb300ebd8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb300ebd8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb300ebd8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffffb300ebd8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffffb34fc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffb34fc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffb34fc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #33 0x0000ffffb31d3840 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffffb31d3840 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffffb31d3840 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffffb31d3840 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffffb31d3840 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffffb31d3840 (anonymous namespace)::MallocChecker::ProcessZeroAllocCheck(clang::ento::CallEvent const&, unsigned int, llvm::IntrusiveRefCntPtr, std::optional) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1529:0 #39 0x0000ffffb31d3c90 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffffb31d3c90 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffffb31d3c90 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #42 0x0000ffffb31e0180 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffffb31e0180 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffffb2ff89a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffffb2ff89a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffb2ff89a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffffb2ff89a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffffb2ff89a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffffb3058c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffffb3058c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffffb3058c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffffb3058c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffffb3058c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffffb3058c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffffb3059514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffffb303b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffffb303b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffffb303c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffffb303c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffffb303c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffffb303cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffffb303cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffffb303cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffffb303cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffffb303cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #66 0x0000ffffb3306bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffffb3306bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffffb3306bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffffb3306bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffffb3306bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffffb3307b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #72 0x0000ffffb3307b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffffb3307b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffffb330c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffffb330c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffffb330c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffffb330c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffffb330c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffffb1762058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #80 0x0000ffffb1762058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffffb1762058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #82 0x0000ffffb1762058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffffb2e27450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffffb2ddf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffffb2ddf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffffb2ddf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffffb2e6551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaaea2559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaaea2594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaaea25aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaaea251fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffffaa3b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffffaa3b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaaea2520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-bodyfarms.cpp.script: line 1: 2538768 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-bodyfarms.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc-bodyfarms.c (891 of 18966) ******************** TEST 'Clang :: Analysis/malloc-bodyfarms.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-bodyfarms.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-bodyfarms.c 1. parser at end of file 2. While analyzing stack: #0 Calling test_no_state_change_in_body_farm_2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-bodyfarms.c:16:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-bodyfarms.c:16:13: Error evaluating statement #0 0x0000ffffabe2acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffabe29100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffabe2b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb4da6800 (linux-vdso.so.1+0x800) #4 0x0000ffffb4089250 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb4089250 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb4089250 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb4089250 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb4089250 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb4089250 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb4089250 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb4089250 (anonymous namespace)::MallocChecker::evalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:3069:0 #12 0x0000ffffb3e97760 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffffb3e97760 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffffb3e97760 llvm::IntrusiveRefCntPtr clang::ento::eval::Assume::_evalAssume<(anonymous namespace)::MallocChecker>(void*, llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:463:74 #15 0x0000ffffb3cab758 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffffb3cab758 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffffb3cab758 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffffb3cab758 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffffb3d70be4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffb3d70be4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffb3d70be4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffffb3d70be4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffffb3d7a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffffb3d7a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffb3d7a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #26 0x0000ffffb3cdebd8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb3cdebd8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb3cdebd8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffffb3cdebd8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffffb41cc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffb41cc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffb41cc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #33 0x0000ffffb3ea3840 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffffb3ea3840 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffffb3ea3840 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffffb3ea3840 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffffb3ea3840 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffffb3ea3840 (anonymous namespace)::MallocChecker::ProcessZeroAllocCheck(clang::ento::CallEvent const&, unsigned int, llvm::IntrusiveRefCntPtr, std::optional) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1529:0 #39 0x0000ffffb3ea4618 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffffb3ea4618 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffffb3ea4618 (anonymous namespace)::MallocChecker::checkCalloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1282:0 #42 0x0000ffffb3eb0180 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffffb3eb0180 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffffb3cc89a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffffb3cc89a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffb3cc89a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffffb3cc89a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffffb3cc89a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffffb3d28c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffffb3d28c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffffb3d28c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffffb3d28c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffffb3d28c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffffb3d28c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffffb3d29514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffffb3d0b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffffb3d0b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffffb3d0c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffffb3d0c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffffb3d0c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffffb3d0cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffffb3d0cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffffb3d0cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffffb3d0cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffffb3d0cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #66 0x0000ffffb3fd6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffffb3fd6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffffb3fd6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffffb3fd6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffffb3fd6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffffb3fd7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #72 0x0000ffffb3fd7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffffb3fd7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffffb3fdc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffffb3fdc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffffb3fdc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffffb3fdc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffffb3fdc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffffb2432058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #80 0x0000ffffb2432058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffffb2432058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #82 0x0000ffffb2432058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffffb3af7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffffb3aaf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffffb3aaf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffffb3aaf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffffb3b3551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaae92659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaae92694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaae926aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaae9261fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffffab08098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffffab080a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaae92620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-bodyfarms.c.script: line 1: 2538761 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-bodyfarms.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc-interprocedural.c (893 of 18966) ******************** TEST 'Clang :: Analysis/malloc-interprocedural.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.Malloc -analyzer-inline-max-stack-depth=5 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-interprocedural.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.Malloc -analyzer-inline-max-stack-depth=5 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-interprocedural.c 1. parser at end of file 2. While analyzing stack: #0 Calling useStrndup 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-interprocedural.c:125:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-interprocedural.c:125:7: Error evaluating statement #0 0x0000ffff81abacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff81ab9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff81abb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8aa32800 (linux-vdso.so.1+0x800) #4 0x0000ffff89d329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff89d329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff89d329e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff89d329e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff89d329e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff89d329e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff89d329e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff89d329e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff899e0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff899e0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff899e0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff899e0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff899e0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff899e0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff899e0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff899e0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff899f3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff899f3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff899f3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff899f5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff899f5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff899f5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff899f4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff899f4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff899f4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff89a00b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff89a00b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff89a00b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff89a0a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff89a0a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff89a0a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8996ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8996ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8996ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8996ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff89e5c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff89e5c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff89e5c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff89981ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff89981ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff89981ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff8999c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff8999c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff8999c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff8999c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff8999c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff8999c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffff8999c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffff8999c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffff8999cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8999cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8999cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8999cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8999cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff89c66bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff89c66bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff89c66bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff89c66bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff89c66bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff89c67b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff89c67b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff89c67b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff89c6c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff89c6c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff89c6c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff89c6c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff89c6c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff880c2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff880c2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff880c2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff880c2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff89787450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8973f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8973f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8973f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff897c551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac89859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac89894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac898aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac8981fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff80d1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff80d10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac89820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-interprocedural.c.script: line 1: 2538800 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.Malloc -analyzer-inline-max-stack-depth=5 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-interprocedural.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc-overflow2.c (894 of 18966) ******************** TEST 'Clang :: Analysis/malloc-overflow2.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-unknown -analyzer-checker=alpha.security.MallocOverflow,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-overflow2.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-unknown -analyzer-checker=alpha.security.MallocOverflow,unix,optin.portability -DPORTABILITY -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-overflow2.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-unknown -analyzer-checker=alpha.security.MallocOverflow,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-overflow2.c 1. parser at end of file 2. While analyzing stack: #0 Calling f 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-overflow2.c:36:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-overflow2.c:36:10: Error evaluating statement #0 0x0000ffffb3d4acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb3d49100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb3d4b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbccce800 (linux-vdso.so.1+0x800) #4 0x0000ffffbbfa9250 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbbfa9250 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbbfa9250 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbbfa9250 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbbfa9250 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbbfa9250 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbbfa9250 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbbfa9250 (anonymous namespace)::MallocChecker::evalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:3069:0 #12 0x0000ffffbbdb7760 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffffbbdb7760 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffffbbdb7760 llvm::IntrusiveRefCntPtr clang::ento::eval::Assume::_evalAssume<(anonymous namespace)::MallocChecker>(void*, llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:463:74 #15 0x0000ffffbbbcb758 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffffbbbcb758 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffffbbbcb758 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffffbbbcb758 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffffbbc90be4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffbbc90be4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffbbc90be4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffffbbc90be4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffffbbc9a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffffbbc9a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffbbc9a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #26 0x0000ffffbbbfea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbbbfea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbbbfea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffffbbbfea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffffbc0ec8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffbc0ec8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffbc0ec8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #33 0x0000ffffbbdc3840 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffffbbdc3840 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffffbbdc3840 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffffbbdc3840 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffffbbdc3840 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffffbbdc3840 (anonymous namespace)::MallocChecker::ProcessZeroAllocCheck(clang::ento::CallEvent const&, unsigned int, llvm::IntrusiveRefCntPtr, std::optional) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1529:0 #39 0x0000ffffbbdc3c90 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffffbbdc3c90 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffffbbdc3c90 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #42 0x0000ffffbbdd0180 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffffbbdd0180 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffffbbbe89a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffffbbbe89a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffbbbe89a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffffbbbe89a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffffbbbe89a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffffbbc48c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffffbbc48c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffffbbc48c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffffbbc48c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffffbbc48c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffffbbc48c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffffbbc49514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffffbbc2b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffffbbc2b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffffbbc2c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffffbbc2c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffffbbc2c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffffbbc2cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffffbbc2cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffffbbc2cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffffbbc2cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffffbbc2cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #66 0x0000ffffbbef6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffffbbef6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffffbbef6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffffbbef6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffffbbef6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffffbbef7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #72 0x0000ffffbbef7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffffbbef7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffffbbefc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffffbbefc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffffbbefc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffffbbefc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffffbbefc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffffba352058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #80 0x0000ffffba352058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffffba352058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #82 0x0000ffffba352058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffffbba17450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffffbb9cf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffffbb9cf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffffbb9cf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffffbba5551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaad5c259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaad5c294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaad5c2aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaad5c21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffffb2fa098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffffb2fa0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaad5c220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-overflow2.c.script: line 2: 2538808 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-unknown -analyzer-checker=alpha.security.MallocOverflow,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-overflow2.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc-plist.c (895 of 18966) ******************** TEST 'Clang :: Analysis/malloc-plist.c' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -f /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-plist.c.tmp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core,unix.Malloc -analyzer-output=plist -verify -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-plist.c.tmp -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-plist.c : 'RUN: at line 3'; tail -n +11 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-plist.c.tmp | grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' | diff -ub /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/expected-plists/malloc-plist.c.plist - -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core,unix.Malloc -analyzer-output=plist -verify -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-plist.c.tmp -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-plist.c 1. parser at end of file 2. While analyzing stack: #0 Calling my_malloc_into_struct at line 208 #1 Calling testMyMalloc 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-plist.c:204:9: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-plist.c:204:9: Error evaluating statement #0 0x0000ffffa5ebacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa5eb9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa5ebb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaee36800 (linux-vdso.so.1+0x800) #4 0x0000ffffae119250 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffae119250 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffae119250 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffae119250 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffae119250 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffae119250 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffae119250 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffae119250 (anonymous namespace)::MallocChecker::evalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:3069:0 #12 0x0000ffffadf27760 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffffadf27760 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffffadf27760 llvm::IntrusiveRefCntPtr clang::ento::eval::Assume::_evalAssume<(anonymous namespace)::MallocChecker>(void*, llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:463:74 #15 0x0000ffffadd3b758 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffffadd3b758 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffffadd3b758 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffffadd3b758 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffffade00be4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffade00be4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffade00be4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffffade00be4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffffade0a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffffade0a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffade0a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #26 0x0000ffffadd6ebd8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffadd6ebd8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffadd6ebd8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffffadd6ebd8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffffae25c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffae25c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffae25c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #33 0x0000ffffadf33840 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffffadf33840 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffffadf33840 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffffadf33840 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffffadf33840 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffffadf33840 (anonymous namespace)::MallocChecker::ProcessZeroAllocCheck(clang::ento::CallEvent const&, unsigned int, llvm::IntrusiveRefCntPtr, std::optional) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1529:0 #39 0x0000ffffadf33c90 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffffadf33c90 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffffadf33c90 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #42 0x0000ffffadf40180 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffffadf40180 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffffadd589a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffffadd589a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffadd589a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffffadd589a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffffadd589a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffffaddb8c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffffaddb8c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffffaddb8c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffffaddb8c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffffaddb8c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffffaddb8c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffffaddb9514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffffadd9b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffffadd9b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffffadd9c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffffadd9c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffffadd9c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffffadd9cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffffadd9cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffffadd9cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffffadd9cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffffadd9cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #66 0x0000ffffae066bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffffae066bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffffae066bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffffae066bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffffae066bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffffae067b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #72 0x0000ffffae067b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffffae067b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffffae06c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffffae06c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffffae06c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffffae06c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffffae06c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffffac4c2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #80 0x0000ffffac4c2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffffac4c2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #82 0x0000ffffac4c2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffffadb87450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffffadb3f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffffadb3f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffffadb3f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffffadbc551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaad2ff59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaad2ff94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaad2ffaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaad2ff1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffffa511098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffffa5110a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaad2ff20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-plist.c.script: line 3: 2538818 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core,unix.Malloc -analyzer-output=plist -verify -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-plist.c.tmp -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-plist.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc-static-storage.cpp (896 of 18966) ******************** TEST 'Clang :: Analysis/malloc-static-storage.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-static-storage.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-static-storage.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling malloc_cond(_Bool) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-static-storage.cpp:70:7: Error evaluating branch #0 0x0000ffff9723acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff97239100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9723b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa01bb800 (linux-vdso.so.1+0x800) #4 0x0000ffff9f4b29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9f4b29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9f4b29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9f4b29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9f4b29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9f4b29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9f4b29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9f4b29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9f160048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9f160048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9f160048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9f160048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9f160d10 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9f160d10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9f160d10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9f160d10 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffff9f174cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9f174cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9f174cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff9f174f90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9f174f90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9f174f90 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff9f174530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9f174530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9f174530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9f180b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9f180b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9f180b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9f18a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9f18a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9f18a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9f0eea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9f0eea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9f0eea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9f0eea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff9f5dc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9f5dc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9f5dc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9f104c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff9f104c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff9f104c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff9f104c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff9f104c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff9f104c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff9f104c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff9f104c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff9f104c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff9f104c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff9f105200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff9f11cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9f11cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9f11cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9f11cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9f11cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff9f3e6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9f3e6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9f3e6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9f3e6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9f3e6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff9f3e7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff9f3e7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff9f3e7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9f3ec130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9f3ec130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9f3ec130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9f3ec130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9f3ec130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff9d842058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff9d842058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff9d842058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff9d842058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff9ef07450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9eebf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9eebf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9eebf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9ef4551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab25d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab25d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab25daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab25d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9649098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff96490a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab25d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-static-storage.cpp.script: line 1: 2538831 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-static-storage.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc.cpp (897 of 18966) ******************** TEST 'Clang :: Analysis/malloc.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.cpp -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix.Malloc -analyzer-checker=cplusplus.NewDelete : 'RUN: at line 8'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.cpp -triple i386-unknown-linux-gnu -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix.Malloc -analyzer-checker=cplusplus.NewDelete : 'RUN: at line 16'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.cpp -DTEST_INLINABLE_ALLOCATORS -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix.Malloc -analyzer-checker=cplusplus.NewDelete : 'RUN: at line 23'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.cpp -DTEST_INLINABLE_ALLOCATORS -triple i386-unknown-linux-gnu -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix.Malloc -analyzer-checker=cplusplus.NewDelete -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.cpp -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix.Malloc -analyzer-checker=cplusplus.NewDelete 1. parser at end of file 2. While analyzing stack: #0 Calling pr46253_class::a::realloc(int, _Bool) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.cpp:203:38: Error evaluating statement #0 0x0000ffff7c6facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7c6f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7c6fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8567f800 (linux-vdso.so.1+0x800) #4 0x0000ffff8461c134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8461c134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8461c134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8461c134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff8461c134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff8461c134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff845c748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff845c748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff845c748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff845dc264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff845dc264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff845dc264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff845dc264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff845dc264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff845dc264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff845dc264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff845dc264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff845dc264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff845dc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #23 0x0000ffff845dc6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff845dc9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff845dcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff845dcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff845dcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff845dcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff845dcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #30 0x0000ffff848a6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff848a6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff848a6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff848a6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff848a6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff848a7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #36 0x0000ffff848a7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff848a7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff848ac130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff848ac130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff848ac130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff848ac130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff848ac130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff82d02058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #44 0x0000ffff82d02058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff82d02058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #46 0x0000ffff82d02058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff843c7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff8437f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff8437f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff8437f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff8440551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaad7d559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaad7d594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaad7d5aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaad7d51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff7b95098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff7b950a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaad7d520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc.cpp.script: line 4: 2538862 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.cpp -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix.Malloc -analyzer-checker=cplusplus.NewDelete -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc.m (899 of 18966) ******************** TEST 'Clang :: Analysis/malloc.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -verify -Wno-objc-root-class -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -verify -Wno-objc-root-class -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.m 1. parser at end of file 2. While analyzing stack: #0 Calling wrapInNSValue 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.m:55:18: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.m:55:18: Error evaluating statement #0 0x0000ffffa35cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa35c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa35cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffac54b800 (linux-vdso.so.1+0x800) #4 0x0000ffffab829250 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffab829250 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffab829250 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffab829250 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffab829250 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffab829250 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffab829250 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffab829250 (anonymous namespace)::MallocChecker::evalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:3069:0 #12 0x0000ffffab637760 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffffab637760 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffffab637760 llvm::IntrusiveRefCntPtr clang::ento::eval::Assume::_evalAssume<(anonymous namespace)::MallocChecker>(void*, llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:463:74 #15 0x0000ffffab44b758 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffffab44b758 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffffab44b758 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffffab44b758 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffffab510be4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffab510be4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffab510be4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffffab510be4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffffab51a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffffab51a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffab51a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #26 0x0000ffffab47ebd8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffab47ebd8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffab47ebd8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffffab47ebd8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffffab96c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffab96c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffab96c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #33 0x0000ffffab643840 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffffab643840 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffffab643840 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffffab643840 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffffab643840 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffffab643840 (anonymous namespace)::MallocChecker::ProcessZeroAllocCheck(clang::ento::CallEvent const&, unsigned int, llvm::IntrusiveRefCntPtr, std::optional) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1529:0 #39 0x0000ffffab643c90 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffffab643c90 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffffab643c90 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #42 0x0000ffffab650180 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffffab650180 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffffab4689a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffffab4689a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffab4689a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffffab4689a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffffab4689a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffffab4c8c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffffab4c8c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffffab4c8c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffffab4c8c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffffab4c8c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffffab4c8c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffffab4c9514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffffab4ab270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffffab4ab270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffffab4ac2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffffab4ac5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffffab4ac7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffffab4acb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffffab4acb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffffab4acb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffffab4acb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffffab4acb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #66 0x0000ffffab776bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffffab776bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffffab776bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffffab776bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffffab776bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffffab777b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #72 0x0000ffffab777b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffffab777b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffffab77c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffffab77c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffffab77c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffffab77c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffffab77c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffffa9bd2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #80 0x0000ffffa9bd2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffffa9bd2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #82 0x0000ffffa9bd2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffffab297450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffffab24f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffffab24f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffffab24f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffffab2d551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaab47e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaab47e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaab47eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaab47e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffffa282098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffffa2820a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaab47e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc.m.script: line 1: 2538864 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -verify -Wno-objc-root-class -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc.c (900 of 18966) ******************** TEST 'Clang :: Analysis/malloc.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-strict-prototypes -Wno-error=implicit-int -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.c -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix -analyzer-checker=debug.ExprInspection -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-strict-prototypes -Wno-error=implicit-int -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.c -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix -analyzer-checker=debug.ExprInspection 1. parser at end of file 2. While analyzing stack: #0 Calling testExtent 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.c:1894:19: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.c:1894:19: Error evaluating statement #0 0x0000ffff7ce9acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7ce99100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7ce9b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff85e1a800 (linux-vdso.so.1+0x800) #4 0x0000ffff851129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff851129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff851129e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff851129e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff851129e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff851129e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff851129e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff851129e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff84dc0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff84dc0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff84dc0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff84dc0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff84dc0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff84dc0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff84dc0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff84dc0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff84dd3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff84dd3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff84dd3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff84dd5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff84dd5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff84dd5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff84dd4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff84dd4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff84dd4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff84de0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff84de0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff84de0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff84dea414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff84dea414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff84dea414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff84d4ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff84d4ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff84d4ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff84d4ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8523c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8523c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8523c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff84f13840 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffff84f13840 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffff84f13840 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffff84f13840 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffff84f13840 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffff84f13840 (anonymous namespace)::MallocChecker::ProcessZeroAllocCheck(clang::ento::CallEvent const&, unsigned int, llvm::IntrusiveRefCntPtr, std::optional) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1529:0 #48 0x0000ffff84f13c90 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #49 0x0000ffff84f13c90 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff84f13c90 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #51 0x0000ffff84f20180 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #52 0x0000ffff84f20180 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #53 0x0000ffff84d389a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffff84d389a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffff84d389a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #56 0x0000ffff84d389a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #57 0x0000ffff84d389a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #58 0x0000ffff84d98c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #59 0x0000ffff84d98c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #60 0x0000ffff84d98c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #61 0x0000ffff84d98c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #62 0x0000ffff84d98c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #63 0x0000ffff84d98c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #64 0x0000ffff84d99514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #65 0x0000ffff84d7b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #66 0x0000ffff84d7b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #67 0x0000ffff84d7c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #68 0x0000ffff84d7c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #69 0x0000ffff84d7c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #70 0x0000ffff84d7cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x0000ffff84d7cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x0000ffff84d7cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #73 0x0000ffff84d7cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #74 0x0000ffff84d7cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #75 0x0000ffff85046bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #76 0x0000ffff85046bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #77 0x0000ffff85046bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #78 0x0000ffff85046bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #79 0x0000ffff85046bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #80 0x0000ffff85047b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #81 0x0000ffff85047b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #82 0x0000ffff85047b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #83 0x0000ffff8504c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #84 0x0000ffff8504c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #85 0x0000ffff8504c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #86 0x0000ffff8504c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #87 0x0000ffff8504c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #88 0x0000ffff834a2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #89 0x0000ffff834a2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #90 0x0000ffff834a2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #91 0x0000ffff834a2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #92 0x0000ffff84b67450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #93 0x0000ffff84b1f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #94 0x0000ffff84b1f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #95 0x0000ffff84b1f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #96 0x0000ffff84ba551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #97 0x0000aaaac61359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #98 0x0000aaaac61394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #99 0x0000aaaac613aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #100 0x0000aaaac6131fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #101 0x0000ffff7c0f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #102 0x0000ffff7c0f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #103 0x0000aaaac61320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc.c.script: line 1: 2538857 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-strict-prototypes -Wno-error=implicit-int -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.c -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix -analyzer-checker=debug.ExprInspection -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc.mm (901 of 18966) ******************** TEST 'Clang :: Analysis/malloc.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete -analyzer-checker=unix.MismatchedDeallocator -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete -analyzer-checker=unix.MismatchedDeallocator -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.mm 1. parser at end of file 2. While analyzing stack: #0 Calling test_reinterpret_cast_to_block() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.mm:350:38: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.mm:350:38: Error evaluating statement #0 0x0000ffff8f34acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8f349100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8f34b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff982c0800 (linux-vdso.so.1+0x800) #4 0x0000ffff975a9250 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff975a9250 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff975a9250 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff975a9250 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff975a9250 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff975a9250 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff975a9250 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff975a9250 (anonymous namespace)::MallocChecker::evalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:3069:0 #12 0x0000ffff973b7760 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffff973b7760 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffff973b7760 llvm::IntrusiveRefCntPtr clang::ento::eval::Assume::_evalAssume<(anonymous namespace)::MallocChecker>(void*, llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:463:74 #15 0x0000ffff971cb758 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff971cb758 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff971cb758 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff971cb758 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffff97290be4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff97290be4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff97290be4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffff97290be4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffff9729a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffff9729a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff9729a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #26 0x0000ffff971febd8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff971febd8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff971febd8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffff971febd8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffff976ec8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff976ec8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff976ec8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #33 0x0000ffff973c3840 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffff973c3840 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffff973c3840 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffff973c3840 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffff973c3840 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffff973c3840 (anonymous namespace)::MallocChecker::ProcessZeroAllocCheck(clang::ento::CallEvent const&, unsigned int, llvm::IntrusiveRefCntPtr, std::optional) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1529:0 #39 0x0000ffff973c3c90 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffff973c3c90 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffff973c3c90 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #42 0x0000ffff973d0180 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffff973d0180 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffff971e89a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff971e89a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff971e89a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffff971e89a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffff971e89a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffff97248c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffff97248c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffff97248c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffff97248c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffff97248c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffff97248c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffff97249514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffff9722b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffff9722b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffff9722c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffff9722c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffff9722c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffff9722cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffff9722cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffff9722cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffff9722cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffff9722cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #66 0x0000ffff974f6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffff974f6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffff974f6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffff974f6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffff974f6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffff974f7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #72 0x0000ffff974f7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffff974f7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffff974fc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffff974fc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffff974fc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffff974fc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffff974fc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffff95952058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #80 0x0000ffff95952058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffff95952058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #82 0x0000ffff95952058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffff97017450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffff96fcf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffff96fcf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffff96fcf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffff9705551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaad91759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaad91794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaad917aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaad9171fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff8e5a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff8e5a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaad91720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc.mm.script: line 1: 2538866 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete -analyzer-checker=unix.MismatchedDeallocator -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/max-nodes-suppress-on-sink.c (902 of 18966) ******************** TEST 'Clang :: Analysis/max-nodes-suppress-on-sink.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config max-nodes=12 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/max-nodes-suppress-on-sink.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config max-nodes=12 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/max-nodes-suppress-on-sink.c 1. parser at end of file 2. While analyzing stack: #0 Calling test_unreachable_successor_blocks 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/max-nodes-suppress-on-sink.c:76:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/max-nodes-suppress-on-sink.c:76:13: Error evaluating statement #0 0x0000ffffa0edacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa0ed9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa0edb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa9e53800 (linux-vdso.so.1+0x800) #4 0x0000ffffa9139250 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa9139250 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa9139250 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa9139250 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa9139250 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa9139250 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa9139250 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa9139250 (anonymous namespace)::MallocChecker::evalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:3069:0 #12 0x0000ffffa8f47760 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffffa8f47760 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffffa8f47760 llvm::IntrusiveRefCntPtr clang::ento::eval::Assume::_evalAssume<(anonymous namespace)::MallocChecker>(void*, llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:463:74 #15 0x0000ffffa8d5b758 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffffa8d5b758 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffffa8d5b758 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffffa8d5b758 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffffa8e20be4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffa8e20be4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffa8e20be4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffffa8e20be4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffffa8e2a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffffa8e2a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffa8e2a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #26 0x0000ffffa8d8ebd8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa8d8ebd8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa8d8ebd8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffffa8d8ebd8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffffa927c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffa927c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffa927c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #33 0x0000ffffa8f53840 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffffa8f53840 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffffa8f53840 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffffa8f53840 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffffa8f53840 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffffa8f53840 (anonymous namespace)::MallocChecker::ProcessZeroAllocCheck(clang::ento::CallEvent const&, unsigned int, llvm::IntrusiveRefCntPtr, std::optional) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1529:0 #39 0x0000ffffa8f53c90 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffffa8f53c90 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffffa8f53c90 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #42 0x0000ffffa8f60180 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffffa8f60180 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffffa8d789a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffffa8d789a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffa8d789a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffffa8d789a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffffa8d789a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffffa8dd8c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffffa8dd8c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffffa8dd8c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffffa8dd8c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffffa8dd8c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffffa8dd8c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffffa8dd9514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffffa8dbb270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffffa8dbb270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffffa8dbc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffffa8dbc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffffa8dbc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffffa8dbcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffffa8dbcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffffa8dbcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffffa8dbcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffffa8dbcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #66 0x0000ffffa9086bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffffa9086bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffffa9086bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffffa9086bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffffa9086bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffffa9087b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #72 0x0000ffffa9087b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffffa9087b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffffa908c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffffa908c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffffa908c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffffa908c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffffa908c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffffa74e2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #80 0x0000ffffa74e2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffffa74e2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #82 0x0000ffffa74e2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffffa8ba7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffffa8b5f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffffa8b5f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffffa8b5f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffffa8be551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaaae0e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaaae0e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaaae0eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaaae0e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffffa013098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffffa0130a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaaae0e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/max-nodes-suppress-on-sink.c.script: line 1: 2538880 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config max-nodes=12 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/max-nodes-suppress-on-sink.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/max-nodes-suppress-on-sink.cpp (903 of 18966) ******************** TEST 'Clang :: Analysis/max-nodes-suppress-on-sink.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -fcxx-exceptions -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config max-nodes=12 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/max-nodes-suppress-on-sink.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -fcxx-exceptions -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config max-nodes=12 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/max-nodes-suppress-on-sink.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_handled_throw_treated_as_noreturn() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/max-nodes-suppress-on-sink.cpp:25:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/max-nodes-suppress-on-sink.cpp:25:13: Error evaluating statement #0 0x0000ffffa78bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa78b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa78bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb083a800 (linux-vdso.so.1+0x800) #4 0x0000ffffafb19250 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffafb19250 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffafb19250 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffafb19250 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffafb19250 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffafb19250 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffafb19250 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffafb19250 (anonymous namespace)::MallocChecker::evalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:3069:0 #12 0x0000ffffaf927760 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffffaf927760 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffffaf927760 llvm::IntrusiveRefCntPtr clang::ento::eval::Assume::_evalAssume<(anonymous namespace)::MallocChecker>(void*, llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:463:74 #15 0x0000ffffaf73b758 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffffaf73b758 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffffaf73b758 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffffaf73b758 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffffaf800be4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffaf800be4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffaf800be4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffffaf800be4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffffaf80a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffffaf80a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffaf80a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #26 0x0000ffffaf76ebd8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffaf76ebd8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffaf76ebd8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffffaf76ebd8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffffafc5c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffafc5c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffafc5c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #33 0x0000ffffaf933840 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffffaf933840 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffffaf933840 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffffaf933840 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffffaf933840 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffffaf933840 (anonymous namespace)::MallocChecker::ProcessZeroAllocCheck(clang::ento::CallEvent const&, unsigned int, llvm::IntrusiveRefCntPtr, std::optional) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1529:0 #39 0x0000ffffaf933c90 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffffaf933c90 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffffaf933c90 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #42 0x0000ffffaf940180 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffffaf940180 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffffaf7589a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffffaf7589a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffaf7589a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffffaf7589a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffffaf7589a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffffaf7b8c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffffaf7b8c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffffaf7b8c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffffaf7b8c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffffaf7b8c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffffaf7b8c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffffaf7b9514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffffaf79b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffffaf79b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffffaf79c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffffaf79c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffffaf79c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffffaf79cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffffaf79cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffffaf79cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffffaf79cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffffaf79cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #66 0x0000ffffafa66bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffffafa66bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffffafa66bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffffafa66bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffffafa66bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffffafa67b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #72 0x0000ffffafa67b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffffafa67b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffffafa6c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffffafa6c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffffafa6c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffffafa6c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffffafa6c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffffadec2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #80 0x0000ffffadec2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffffadec2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #82 0x0000ffffadec2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffffaf587450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffffaf53f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffffaf53f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffffaf53f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffffaf5c551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaacb1259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaacb1294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaacb12aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaacb121fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffffa6b1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffffa6b10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaacb1220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/max-nodes-suppress-on-sink.cpp.script: line 1: 2538884 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -fcxx-exceptions -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config max-nodes=12 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/max-nodes-suppress-on-sink.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/memory-model.cpp (905 of 18966) ******************** TEST 'Clang :: Analysis/memory-model.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++20 -analyzer-checker=core,unix,cplusplus,debug.ExprInspection -triple x86_64-unknown-linux-gnu -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/memory-model.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++20 -analyzer-checker=core,unix,cplusplus,debug.ExprInspection -triple x86_64-unknown-linux-gnu -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/memory-model.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling user_defined_new() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/memory-model.cpp:150:12: Error evaluating statement #0 0x0000ffff80bbacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff80bb9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff80bbb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff89b38800 (linux-vdso.so.1+0x800) #4 0x0000ffff88a87188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff88a87188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff88a87188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff88a87188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff88a87188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff88a87188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff88a87188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff88a87188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff88a9c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff88a9c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff88a9c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff88a9c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff88a9c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff88a9c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff88a9c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff88a9c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff88a9c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffff88a9c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #22 0x0000ffff88a9c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #23 0x0000ffff88a9cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #24 0x0000ffff88a9cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #25 0x0000ffff88a9cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #26 0x0000ffff88a9cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #27 0x0000ffff88a9cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #28 0x0000ffff88d66bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #29 0x0000ffff88d66bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #30 0x0000ffff88d66bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #31 0x0000ffff88d66bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #32 0x0000ffff88d66bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #33 0x0000ffff88d67b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #34 0x0000ffff88d67b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x0000ffff88d67b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #36 0x0000ffff88d6c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x0000ffff88d6c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x0000ffff88d6c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x0000ffff88d6c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x0000ffff88d6c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x0000ffff871c2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #42 0x0000ffff871c2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x0000ffff871c2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #44 0x0000ffff871c2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x0000ffff88887450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #46 0x0000ffff8883f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #47 0x0000ffff8883f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #48 0x0000ffff8883f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #49 0x0000ffff888c551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #50 0x0000aaaadaac59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x0000aaaadaac94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x0000aaaadaacaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x0000aaaadaac1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x0000ffff7fe1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #55 0x0000ffff7fe10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #56 0x0000aaaadaac20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/memory-model.cpp.script: line 1: 2538905 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++20 -analyzer-checker=core,unix,cplusplus,debug.ExprInspection -triple x86_64-unknown-linux-gnu -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/memory-model.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/member-expr.cpp (906 of 18966) ******************** TEST 'Clang :: Analysis/member-expr.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/member-expr.cpp -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/member-expr.cpp -verify 1. parser at end of file #0 0x0000ffff7748acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff77489100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7748b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff80407800 (linux-vdso.so.1+0x800) #4 0x0000ffff7f7029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff7f7029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff7f7029e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff7f7029e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff7f7029e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff7f7029e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff7f7029e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff7f7029e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff7f3b0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff7f3b0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff7f3b0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff7f3b0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff7f3b0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff7f3b0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff7f3b0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff7f3b0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff7f3c3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff7f3c3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff7f3c3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff7f3c5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff7f3c5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff7f3c5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff7f3c4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff7f3c4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff7f3c4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff7f3d0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff7f3d0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff7f3d0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff7f3da414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff7f3da414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff7f3da414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff7f33eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff7f33eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff7f33eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff7f33eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff7f33efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff7f33efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff7f33efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff7f312620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff7f312620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff7f312620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff7f34ef2c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff7f34ef2c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff7f34ef2c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff7f36ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff7f36ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff7f36ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff7f636bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff7f636bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff7f636bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff7f636bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff7f636bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff7f637b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff7f637b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff7f637b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff7f63c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff7f63c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff7f63c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff7f63c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff7f63c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff7da92058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff7da92058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff7da92058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff7da92058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff7f157450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff7f10f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff7f10f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff7f10f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff7f19551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaae22359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaae22394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaae223aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaae2231fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff766e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff766e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaae22320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/member-expr.cpp.script: line 1: 2538896 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/member-expr.cpp -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/method-call-intra-p.cpp (907 of 18966) ******************** TEST 'Clang :: Analysis/method-call-intra-p.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/method-call-intra-p.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/method-call-intra-p.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling ChildOfInvalidateArgs::ChildOfInvalidateArgs() at line 25 #1 Calling virtualFun(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/method-call-intra-p.cpp:12:8: Error evaluating statement #0 0x0000ffffae76acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffae769100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffae76b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb76ef800 (linux-vdso.so.1+0x800) #4 0x0000ffffb6637188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb6637188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb6637188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb6637188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb6637188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb6637188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb6637188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb6637188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffffb664c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffb664c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffb664c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffb664c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffb664c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffb664c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffb664c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffb664c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffb664c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffffb664c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #22 0x0000ffffb664c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffffb664c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffffb664cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffb664cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffb664cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffb664cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffb664cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #29 0x0000ffffb6916bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffb6916bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffb6916bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffb6916bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffb6916bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffb6917b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #35 0x0000ffffb6917b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffb6917b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffb691c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffb691c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffb691c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffb691c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffb691c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffb4d72058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #43 0x0000ffffb4d72058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffb4d72058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #45 0x0000ffffb4d72058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffb6437450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffb63ef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffb63ef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffb63ef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffb647551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaacf1459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaacf1494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaacf14aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaacf141fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffffad9c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffffad9c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaacf1420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/method-call-intra-p.cpp.script: line 1: 2538925 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/method-call-intra-p.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/method-call.cpp (909 of 18966) ******************** TEST 'Clang :: Analysis/method-call.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-inlining=constructors -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/method-call.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-inlining=constructors -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/method-call.cpp 1. parser at end of file #0 0x0000ffffa456acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa4569100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa456b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffad4eb800 (linux-vdso.so.1+0x800) #4 0x0000ffffac43c024 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffac43c024 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffac43c024 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffac43c024 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffac43c024 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffac43c024 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffac43c024 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffac43c024 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2911:0 #12 0x0000ffffac43c948 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #13 0x0000ffffac44c974 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #14 0x0000ffffac44cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffac44cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffac44cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffac44cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffac44cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffffac716bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffac716bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffac716bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffac716bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffac716bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffac717b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffffac717b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffac717b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffac71c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffac71c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffac71c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffac71c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffac71c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffffaab72058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffffaab72058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffffaab72058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffffaab72058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffac237450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffac1ef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffac1ef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffac1ef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffac27551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaab25e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaab25e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaab25eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaab25e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffffa37c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffffa37c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaab25e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/method-call.cpp.script: line 1: 2538939 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-inlining=constructors -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/method-call.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/method-call-path-notes.cpp (911 of 18966) ******************** TEST 'Clang :: Analysis/method-call-path-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/method-call-path-notes.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=plist-multi-file /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/method-call-path-notes.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/method-call-path-notes.cpp.tmp.plist : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling test_cast(const TestInstanceCall *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/method-call-path-notes.cpp:41:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/method-call-path-notes.cpp:41:7: Error evaluating statement #0 0x0000ffffb193acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb1939100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb193b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffba8b5800 (linux-vdso.so.1+0x800) #4 0x0000ffffb9bb29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb9bb29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb9bb29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb9bb29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb9bb29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb9bb29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb9bb29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb9bb29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb9860048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb9860048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb9860048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb9860048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb9860f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb9860f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb9860f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb9860f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb9873b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb9873b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb9873b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb9875060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb9875060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb9875060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb9874530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb9874530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb9874530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb9880b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb9880b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb9880b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb988a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb988a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb988a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb97eea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb97eea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb97eea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb97eea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffb9cdc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb9cdc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb9cdc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb9801ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb9801ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb9801ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffb981c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffb981c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffb981c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffb981c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffb981c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffb981c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffffb981c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffffb981c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffffb981cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb981cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb981cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb981cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb981cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb9ae6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb9ae6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb9ae6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb9ae6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb9ae6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb9ae7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb9ae7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb9ae7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb9aec130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb9aec130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb9aec130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb9aec130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb9aec130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb7f42058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb7f42058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb7f42058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb7f42058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb9607450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb95bf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb95bf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb95bf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb964551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac6a259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac6a294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac6a2aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac6a21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffb0b9098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffb0b90a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac6a220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/method-call-path-notes.cpp.script: line 3: 2538932 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/method-call-path-notes.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/mig.mm (912 of 18966) ******************** TEST 'Clang :: Analysis/mig.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,osx.MIG -std=c++14 -analyzer-output=text -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mig.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,osx.MIG -std=c++14 -analyzer-output=text -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mig.mm 1. parser at end of file 2. While analyzing stack: #0 Calling test_os_ref_retain(thread_t) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mig.mm:257:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mig.mm:257:3: Error evaluating statement #0 0x0000ffff90dbacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff90db9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff90dbb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff99d36800 (linux-vdso.so.1+0x800) #4 0x0000ffff98e475a0 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff98e475a0 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff98e475a0 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff98e475a0 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff98e475a0 llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:0 #9 0x0000ffff98e475a0 clang::ento::ProgramStatePartialTrait>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:204:0 #10 0x0000ffff98e475a0 contains<(anonymous namespace)::RefCountedParameters> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:470:0 #11 0x0000ffff98e475a0 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MIGChecker.cpp:212:0 #12 0x0000ffff98e475a0 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MIGChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #13 0x0000ffff98c589a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #14 0x0000ffff98c589a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff98c589a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #16 0x0000ffff98c589a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #17 0x0000ffff98c589a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #18 0x0000ffff98cb8c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #19 0x0000ffff98cb8c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #20 0x0000ffff98cb8c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #21 0x0000ffff98cb8c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #22 0x0000ffff98cb8c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #23 0x0000ffff98cb8c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #24 0x0000ffff98cb9514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #25 0x0000ffff98c9b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #26 0x0000ffff98c9b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #27 0x0000ffff98c9c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #28 0x0000ffff98c9c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #29 0x0000ffff98c9c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #30 0x0000ffff98c9cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #31 0x0000ffff98c9cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #32 0x0000ffff98c9cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #33 0x0000ffff98c9cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #34 0x0000ffff98c9cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #35 0x0000ffff98f66bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff98f66bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff98f66bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #38 0x0000ffff98f66bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #39 0x0000ffff98f66bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #40 0x0000ffff98f67b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #41 0x0000ffff98f67b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #42 0x0000ffff98f67b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #43 0x0000ffff98f6c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #44 0x0000ffff98f6c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #45 0x0000ffff98f6c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #46 0x0000ffff98f6c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #47 0x0000ffff98f6c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #48 0x0000ffff973c2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #49 0x0000ffff973c2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #50 0x0000ffff973c2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #51 0x0000ffff973c2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #52 0x0000ffff98a87450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #53 0x0000ffff98a3f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #54 0x0000ffff98a3f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #55 0x0000ffff98a3f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #56 0x0000ffff98ac551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #57 0x0000aaaad13959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #58 0x0000aaaad13994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #59 0x0000aaaad139aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #60 0x0000aaaad1391fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #61 0x0000ffff9001098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #62 0x0000ffff90010a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #63 0x0000aaaad13920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/mig.mm.script: line 1: 2538946 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,osx.MIG -std=c++14 -analyzer-output=text -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mig.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/misc-ps-64.m (913 of 18966) ******************** TEST 'Clang :: Analysis/misc-ps-64.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-64.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-64.m 1. parser at end of file 2. While analyzing stack: #0 Calling rdar_6845148_b 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-64.m:42:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-64.m:42:7: Error evaluating statement #0 0x0000ffff8ed9acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8ed99100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8ed9b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff97d1d800 (linux-vdso.so.1+0x800) #4 0x0000ffff970129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff970129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff970129e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff970129e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff970129e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff970129e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff970129e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff970129e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff96cc0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff96cc0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff96cc0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff96cc0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff96cc0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff96cc0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff96cc0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff96cc0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff96cd3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff96cd3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff96cd3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff96cd5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff96cd5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff96cd5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff96cd4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff96cd4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff96cd4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff96ce0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff96ce0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff96ce0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff96cea414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff96cea414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff96cea414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff96c4ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff96c4ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff96c4ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff96c4ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff9713c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9713c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9713c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff96c61ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff96c61ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff96c61ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff96c7c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff96c7c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff96c7c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff96c7c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff96c7c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff96c7c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffff96c7c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffff96c7c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffff96c7cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff96c7cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff96c7cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff96c7cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff96c7cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff96f46bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff96f46bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff96f46bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff96f46bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff96f46bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff96f47b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff96f47b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff96f47b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff96f4c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff96f4c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff96f4c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff96f4c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff96f4c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff953a2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff953a2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff953a2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff953a2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff96a67450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff96a1f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff96a1f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff96a1f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff96aa551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab7e259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab7e294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab7e2aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab7e21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8dff098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff8dff0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab7e220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps-64.m.script: line 1: 2538957 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-64.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/misc-ps-cxx0x.cpp (914 of 18966) ******************** TEST 'Clang :: Analysis/misc-ps-cxx0x.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.NullDereference,core.uninitialized.UndefReturn -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-cxx0x.cpp -verify -o /dev/null -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.NullDereference,core.uninitialized.UndefReturn -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-cxx0x.cpp -verify -o /dev/null 1. parser at end of file #0 0x0000ffffa81eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa81e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa81eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb116e800 (linux-vdso.so.1+0x800) #4 0x0000ffffb04629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb04629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb04629e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb04629e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb04629e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb04629e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb04629e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb04629e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb0110048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb0110048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb0110048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb0110048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb0110f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb0110f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb0110f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb0110f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb0123b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb0123b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb0123b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb0125060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb0125060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb0125060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb0124530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb0124530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb0124530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb0130b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb0130b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb0130b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb013a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb013a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb013a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb009eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb009eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb009eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb009eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb009efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb009efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb009efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb0072620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffb0072620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffb0072620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffb00aef2c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffb00aef2c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffb00aef2c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffb00cce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffb00cce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffb00cce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffb0396bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffb0396bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffb0396bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffb0396bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffb0396bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffb0397b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffb0397b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffb0397b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffb039c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb039c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb039c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffb039c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffb039c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffae7f2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffae7f2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffae7f2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffae7f2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffafeb7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffafe6f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffafe6f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffafe6f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffafef551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaadc7859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaadc7894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaadc78aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaadc781fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffa744098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffa7440a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaadc7820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps-cxx0x.cpp.script: line 1: 2538968 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.NullDereference,core.uninitialized.UndefReturn -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-cxx0x.cpp -verify -o /dev/null -- ******************** Testing: 0 FAIL: Clang :: Analysis/misc-ps-ranges.m (915 of 18966) ******************** TEST 'Clang :: Analysis/misc-ps-ranges.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-ranges.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-ranges.m 1. parser at end of file 2. While analyzing stack: #0 Calling pr5969_positive 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-ranges.m:50:22: Error evaluating statement #0 0x0000ffff8843acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff88439100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8843b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff913bf800 (linux-vdso.so.1+0x800) #4 0x0000ffff9035c134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9035c134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9035c134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9035c134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff9035c134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff9035c134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff9030748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff9030748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff9030748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff9031c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff9031c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff9031c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff9031c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff9031c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff9031c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff9031c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff9031c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff9031c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff9031c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #23 0x0000ffff9031c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff9031c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff9031cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff9031cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff9031cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff9031cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff9031cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #30 0x0000ffff905e6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff905e6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff905e6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff905e6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff905e6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff905e7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #36 0x0000ffff905e7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff905e7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff905ec130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff905ec130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff905ec130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff905ec130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff905ec130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff8ea42058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #44 0x0000ffff8ea42058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff8ea42058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #46 0x0000ffff8ea42058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff90107450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff900bf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff900bf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff900bf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff9014551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaad65a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaad65a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaad65aaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaad65a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff8769098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff87690a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaad65a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps-ranges.m.script: line 1: 2538984 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-ranges.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/misc-ps-eager-assume.m (916 of 18966) ******************** TEST 'Clang :: Analysis/misc-ps-eager-assume.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-eager-assume.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-eager-assume.m 1. parser at end of file 2. While analyzing stack: #0 Calling pr5627_g 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-eager-assume.m:144:16: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-eager-assume.m:144:16: Error evaluating statement #0 0x0000ffff8da2acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8da29100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8da2b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff969a5800 (linux-vdso.so.1+0x800) #4 0x0000ffff95ca29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff95ca29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff95ca29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff95ca29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff95ca29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff95ca29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff95ca29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff95ca29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff95950048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff95950048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff95950048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff95950048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff95950f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff95950f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff95950f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff95950f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff95963b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff95963b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff95963b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff95965060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff95965060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff95965060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff95964530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff95964530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff95964530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff95970b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff95970b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff95970b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9597a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9597a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9597a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff958dea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff958dea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff958dea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff958dea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff95dcc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff95dcc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff95dcc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff958f1ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff958f1ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff958f1ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff9590c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff9590c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff9590c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff9590c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff9590c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff9590c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffff9590c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffff9590c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffff9590cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9590cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9590cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9590cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9590cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff95bd6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff95bd6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff95bd6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff95bd6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff95bd6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff95bd7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff95bd7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff95bd7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff95bdc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff95bdc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff95bdc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff95bdc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff95bdc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff94032058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff94032058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff94032058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff94032058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff956f7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff956af104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff956af104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff956af104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9573551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaabe2159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaabe2194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaabe21aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaabe211fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8cc8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff8cc80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaabe2120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps-eager-assume.m.script: line 1: 2538977 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-eager-assume.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/misc-ps-region-store.cpp (919 of 18966) ******************** TEST 'Clang :: Analysis/misc-ps-region-store.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.cpp -fexceptions -fcxx-exceptions -Wno-tautological-undefined-compare : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.cpp -fexceptions -fcxx-exceptions -Wno-tautological-undefined-compare -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.cpp -fexceptions -fcxx-exceptions -Wno-tautological-undefined-compare 1. parser at end of file 2. While analyzing stack: #0 Calling pr12921(int, char **) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.cpp:718:9: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.cpp:718:9: Error evaluating statement #0 0x0000ffff983aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff983a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff983ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa132a800 (linux-vdso.so.1+0x800) #4 0x0000ffffa06229e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa06229e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa06229e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa06229e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa06229e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa06229e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa06229e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa06229e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa02d0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa02d0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa02d0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa02d0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa02d0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa02d0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa02d0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa02d0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa02e3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa02e3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa02e3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa02e5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa02e5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa02e5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa02e4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa02e4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa02e4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa02f0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa02f0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa02f0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa02fa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa02fa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa02fa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa025ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa025ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa025ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa025ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffa074c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa074c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa074c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa0271ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffa0271ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffa0271ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffa028c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffa028c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffa028c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffa028c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffa028c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffa028c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffffa028c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffffa028c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffffa028cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa028cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa028cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa028cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa028cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffa0556bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa0556bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa0556bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa0556bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa0556bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa0557b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffa0557b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa0557b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa055c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa055c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa055c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa055c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa055c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff9e9b2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff9e9b2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff9e9b2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff9e9b2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa0077450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa002f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa002f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa002f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa00b551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaadaef59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaadaef94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaadaefaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaadaef1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9760098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff97600a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaadaef20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps-region-store.cpp.script: line 2: 2539002 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.cpp -fexceptions -fcxx-exceptions -Wno-tautological-undefined-compare -- ******************** Testing: 0 FAIL: Clang :: Analysis/misc-ps-region-store.m (920 of 18966) ******************** TEST 'Clang :: Analysis/misc-ps-region-store.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core.CastToStruct,alpha.security.ReturnPtrRange,alpha.security.ArrayBound -verify -fblocks -Wno-objc-root-class -Wno-strict-prototypes -Wno-error=implicit-function-declaration /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -DTEST_64 -analyzer-checker=core,alpha.core.CastToStruct,alpha.security.ReturnPtrRange,alpha.security.ArrayBound -verify -fblocks -Wno-objc-root-class -Wno-strict-prototypes -Wno-error=implicit-function-declaration /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core.CastToStruct,alpha.security.ReturnPtrRange,alpha.security.ArrayBound -verify -fblocks -Wno-objc-root-class -Wno-strict-prototypes -Wno-error=implicit-function-declaration /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.m 1. parser at end of file 2. While analyzing stack: #0 Calling rdar11125868 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.m:1360:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.m:1360:10: Error evaluating statement #0 0x0000ffff7ab1acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7ab19100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7ab1b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff83a99800 (linux-vdso.so.1+0x800) #4 0x0000ffff82d929e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff82d929e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff82d929e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff82d929e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff82d929e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff82d929e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff82d929e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff82d929e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff82a40048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff82a40048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff82a40048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff82a40048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff82a40f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff82a40f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff82a40f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff82a40f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff82a53b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff82a53b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff82a53b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff82a55060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff82a55060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff82a55060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff82a54530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff82a54530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff82a54530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff82a60b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff82a60b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff82a60b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff82a6a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff82a6a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff82a6a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff829cea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff829cea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff829cea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff829cea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff82ebc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff82ebc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff82ebc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff829e1ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff829e1ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff829e1ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff829fc07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff829fc07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff829fc07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff829fc07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff829fc07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff829fc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffff829fc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffff829fc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffff829fcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff829fcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff829fcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff829fcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff829fcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff82cc6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff82cc6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff82cc6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff82cc6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff82cc6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff82cc7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff82cc7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff82cc7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff82ccc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff82ccc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff82ccc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff82ccc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff82ccc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff81122058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff81122058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff81122058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff81122058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff827e7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8279f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8279f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8279f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8282551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaabf5e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaabf5e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaabf5eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaabf5e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff79d7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff79d70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaabf5e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps-region-store.m.script: line 2: 2539005 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core.CastToStruct,alpha.security.ReturnPtrRange,alpha.security.ArrayBound -verify -fblocks -Wno-objc-root-class -Wno-strict-prototypes -Wno-error=implicit-function-declaration /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/misc-ps-region-store.mm (921 of 18966) ******************** TEST 'Clang :: Analysis/misc-ps-region-store.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.mm : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.mm 1. parser at end of file 2. While analyzing stack: #0 Calling rdar10569024(id, id) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.mm:43:3: Error evaluating branch #0 0x0000ffffb3a5acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb3a59100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb3a5b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbc9d0800 (linux-vdso.so.1+0x800) #4 0x0000ffffbb9249a8 llvm::ImutAVLTree, bool>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffbb9249a8 llvm::IntrusiveRefCntPtrInfo, bool>>>::retain(llvm::ImutAVLTree, bool>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffbb9249a8 llvm::IntrusiveRefCntPtr, bool>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffbb9249a8 llvm::IntrusiveRefCntPtr, bool>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree, bool>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffbb9249a8 llvm::ImmutableMap, bool, llvm::ImutKeyValueInfo, bool>>::ImmutableMap(llvm::ImutAVLTree, bool>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffbb9249a8 clang::ento::ProgramStatePartialTrait, bool, llvm::ImutKeyValueInfo, bool>>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffbb9249a8 get<(anonymous namespace)::ObjCForHasMoreIterations> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffffbb9249a8 clang::ento::ExprEngine::hasMoreIteration(llvm::IntrusiveRefCntPtr, clang::ObjCForCollectionStmt const*, clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2680:47 #12 0x0000ffffbb9249a8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2691:37 #13 0x0000ffffbb9249a8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #14 0x0000ffffbb925200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #15 0x0000ffffbb93cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #16 0x0000ffffbb93cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #17 0x0000ffffbb93cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #18 0x0000ffffbb93cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #19 0x0000ffffbb93cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #20 0x0000ffffbbc06bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbbc06bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbbc06bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #23 0x0000ffffbbc06bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #24 0x0000ffffbbc06bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #25 0x0000ffffbbc07b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #26 0x0000ffffbbc07b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #27 0x0000ffffbbc07b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #28 0x0000ffffbbc0c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x0000ffffbbc0c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x0000ffffbbc0c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #31 0x0000ffffbbc0c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #32 0x0000ffffbbc0c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #33 0x0000ffffba062058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #34 0x0000ffffba062058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #35 0x0000ffffba062058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #36 0x0000ffffba062058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #37 0x0000ffffbb727450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #38 0x0000ffffbb6df104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #39 0x0000ffffbb6df104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #40 0x0000ffffbb6df104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #41 0x0000ffffbb76551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #42 0x0000aaaab82359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #43 0x0000aaaab82394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #44 0x0000aaaab823aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #45 0x0000aaaab8231fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #46 0x0000ffffb2cb098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #47 0x0000ffffb2cb0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #48 0x0000aaaab82320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps-region-store.mm.script: line 2: 2539021 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/misc-ps.c (924 of 18966) ******************** TEST 'Clang :: Analysis/misc-ps.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -disable-free -analyzer-checker=core,deadcode,debug.ExprInspection -Wno-pointer-to-int-cast -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -disable-free -analyzer-checker=core,deadcode,debug.ExprInspection -Wno-pointer-to-int-cast -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps.c 1. parser at end of file 2. While analyzing stack: #0 Calling PR15623 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps.c:200:8: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps.c:200:8: Error evaluating statement #0 0x0000ffff8239acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff82399100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8239b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8b314800 (linux-vdso.so.1+0x800) #4 0x0000ffff8a6129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8a6129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8a6129e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8a6129e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8a6129e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8a6129e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8a6129e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8a6129e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8a2c0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8a2c0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8a2c0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8a2c0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8a2c0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8a2c0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8a2c0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8a2c0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8a2d3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8a2d3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8a2d3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8a2d5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8a2d5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8a2d5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8a2d4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8a2d4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8a2d4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8a2e0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8a2e0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8a2e0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8a2ea414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8a2ea414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8a2ea414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8a24ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8a24ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8a24ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8a24ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8a73c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8a73c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8a73c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8a261ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff8a261ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff8a261ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff8a27c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff8a27c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff8a27c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff8a27c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff8a27c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff8a27c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffff8a27c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffff8a27c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffff8a27cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8a27cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8a27cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8a27cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8a27cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff8a546bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8a546bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8a546bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8a546bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8a546bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff8a547b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff8a547b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff8a547b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8a54c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8a54c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8a54c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8a54c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8a54c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff889a2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff889a2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff889a2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff889a2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff8a067450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8a01f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8a01f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8a01f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8a0a551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaabc2859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaabc2894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaabc28aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaabc281fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff815f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff815f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaabc2820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps.c.script: line 1: 2539023 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -disable-free -analyzer-checker=core,deadcode,debug.ExprInspection -Wno-pointer-to-int-cast -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/missing-bind-temporary.cpp (925 of 18966) ******************** TEST 'Clang :: Analysis/missing-bind-temporary.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux -analyzer-checker=debug.DumpCFG -std=c++14 -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/missing-bind-temporary.cpp > /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/missing-bind-temporary.cpp.tmp 2>&1 : 'RUN: at line 2'; /usr/bin/FileCheck --input-file=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/missing-bind-temporary.cpp.tmp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/missing-bind-temporary.cpp : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux -analyzer-checker=core,debug.ExprInspection -std=c++14 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/missing-bind-temporary.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux -analyzer-checker=core,debug.ExprInspection -std=c++14 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/missing-bind-temporary.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling variant_2::B::B() at line 113 #1 Calling variant_2::foo(int) at line 119 #2 Calling variant_2::bar() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/missing-bind-temporary.cpp:93:7: Error evaluating statement #0 0x0000ffffb09dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb09d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb09db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb9950800 (linux-vdso.so.1+0x800) #4 0x0000ffffb88a7188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb88a7188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb88a7188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb88a7188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb88a7188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb88a7188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb88a7188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb88a7188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffffb88bc264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffb88bc264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffb88bc264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffb88bc264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffb88bc264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffb88bc264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffb88bc264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffb88bc264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffb88bc264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffffb88bc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #22 0x0000ffffb88bc6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffffb88bc9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffffb88bcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffb88bcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffb88bcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffb88bcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffb88bcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #29 0x0000ffffb8b86bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffb8b86bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffb8b86bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffb8b86bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffb8b86bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffb8b87b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #35 0x0000ffffb8b87b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffb8b87b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffb8b8c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffb8b8c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffb8b8c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffb8b8c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffb8b8c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffb6fe2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #43 0x0000ffffb6fe2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffb6fe2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #45 0x0000ffffb6fe2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffb86a7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffb865f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffb865f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffb865f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffb86e551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaab2b759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaab2b794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaab2b7aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaab2b71fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffffafc3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffffafc30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaab2b720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/missing-bind-temporary.cpp.script: line 3: 2539057 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux -analyzer-checker=core,debug.ExprInspection -std=c++14 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/missing-bind-temporary.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/misc-ps.m (926 of 18966) ******************** TEST 'Clang :: Analysis/misc-ps.m' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -analyzer-checker=core,alpha.core,osx.cocoa.AtSync -Wno-strict-prototypes -Wno-pointer-to-int-cast -verify -fblocks -Wno-unreachable-code -Wno-null-dereference -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps.m : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,alpha.core,osx.cocoa.AtSync -Wno-strict-prototypes -Wno-pointer-to-int-cast -verify -fblocks -Wno-unreachable-code -Wno-null-dereference -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -analyzer-checker=core,alpha.core,osx.cocoa.AtSync -Wno-strict-prototypes -Wno-pointer-to-int-cast -verify -fblocks -Wno-unreachable-code -Wno-null-dereference -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps.m 1. parser at end of file 2. While analyzing stack: #0 Calling rdar1196620_call_assert at line 1357 #1 Calling rdar1196620 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps.m:1353:3: Error evaluating branch #0 0x0000ffff9560acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff95609100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9560b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9e58a800 (linux-vdso.so.1+0x800) #4 0x0000ffff9d8829e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9d8829e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9d8829e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9d8829e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9d8829e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9d8829e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9d8829e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9d8829e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9d530048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9d530048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9d530048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9d530048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9d530f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9d530f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9d530f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9d530f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9d543b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9d543b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9d543b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9d545060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9d545060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9d545060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9d544530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9d544530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9d544530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9d550b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9d550b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9d550b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9d55a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9d55a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9d55a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9d4beaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9d4beaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9d4beaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9d4beaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9d9ac8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9d9ac8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9d9ac8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9d4d4c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff9d4d4c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff9d4d4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff9d4d4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff9d4d4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff9d4d4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff9d4d4c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff9d4d4c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff9d4d4c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff9d4d4c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff9d4d5200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff9d4ecb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9d4ecb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9d4ecb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9d4ecb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9d4ecb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff9d7b6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9d7b6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9d7b6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9d7b6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9d7b6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff9d7b7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff9d7b7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff9d7b7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9d7bc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9d7bc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9d7bc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9d7bc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9d7bc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff9bc12058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff9bc12058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff9bc12058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff9bc12058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff9d2d7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9d28f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9d28f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9d28f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9d31551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae4c859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae4c894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae4c8aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae4c81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9486098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff94860a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae4c820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps.m.script: line 2: 2539038 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -analyzer-checker=core,alpha.core,osx.cocoa.AtSync -Wno-strict-prototypes -Wno-pointer-to-int-cast -verify -fblocks -Wno-unreachable-code -Wno-null-dereference -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/mismatched-iterator.cpp (927 of 18966) ******************** TEST 'Clang :: Analysis/mismatched-iterator.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.MismatchedIterator -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mismatched-iterator.cpp -verify : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.MismatchedIterator -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=true -DINLINE=1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mismatched-iterator.cpp -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.MismatchedIterator -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mismatched-iterator.cpp -verify 1. parser at end of file 2. While analyzing stack: #0 Calling comparison_ptr_iterator(cont_with_ptr_iterator &, cont_with_ptr_iterator &) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mismatched-iterator.cpp:130:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mismatched-iterator.cpp:130:7: Error evaluating statement #0 0x0000ffff8c2bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8c2b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8c2bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9523b800 (linux-vdso.so.1+0x800) #4 0x0000ffff941b9cd0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff941b9cd0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff941b9cd0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff941b9cd0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff941b9cd0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff941b9cd0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff941b9cd0 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffff941b9cd0 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffff941b9cd0 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x0000ffff941b9dac (anonymous namespace)::RangeConstraintManager::getSymVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2862:36 #14 0x0000ffff9420d3d8 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #15 0x0000ffff9420d3d8 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier::getConstOrVisit(clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1246:0 #16 0x0000ffff9420cc14 VisitSymIntExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1270:0 #17 0x0000ffff9420cc14 clang::ento::SymExprVisitor<(anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier, clang::ento::SVal>::Visit(clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:0 #18 0x0000ffff94619dd4 VisitNonLocSymbolVal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1365:0 #19 0x0000ffff94619dd4 Visit /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def:67:0 #20 0x0000ffff94619dd4 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1371:0 #21 0x0000ffff941f4824 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #22 0x0000ffff941f4824 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #23 0x0000ffff941f3df8 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #24 0x0000ffff941f3efc clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #25 0x0000ffff941f4f3c clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:26:17 #26 0x0000ffff941f4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff941f4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff941f4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff94200b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff94200b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff94200b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9420a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9420a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9420a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9416ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9416ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9416ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9416ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff9416efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9416efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9416efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff94142620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff94142620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff94142620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff942f5894 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #46 0x0000ffff942f5894 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #47 0x0000ffff942f5894 clang::ento::iterator::assumeNoOverflow(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, long) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/Iterator.cpp:291:0 #48 0x0000ffff94271d18 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #49 0x0000ffff94271d18 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff94271d18 createContainerBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:850:0 #51 0x0000ffff94271d18 handleBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:258:0 #52 0x0000ffff94271d18 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:193:0 #53 0x0000ffff94271d18 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::ContainerModeling>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #54 0x0000ffff941589a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #55 0x0000ffff941589a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x0000ffff941589a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #57 0x0000ffff941589a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #58 0x0000ffff941589a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #59 0x0000ffff941b8c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #60 0x0000ffff941b8c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #61 0x0000ffff941b8c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #62 0x0000ffff941b8c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #63 0x0000ffff941b8c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #64 0x0000ffff941b8c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #65 0x0000ffff941b9514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #66 0x0000ffff9419b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #67 0x0000ffff9419b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #68 0x0000ffff9419c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #69 0x0000ffff9419c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #70 0x0000ffff9419c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #71 0x0000ffff9419cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x0000ffff9419cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x0000ffff9419cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #74 0x0000ffff9419cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #75 0x0000ffff9419cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #76 0x0000ffff94466bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #77 0x0000ffff94466bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #78 0x0000ffff94466bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #79 0x0000ffff94466bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #80 0x0000ffff94466bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #81 0x0000ffff94467b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #82 0x0000ffff94467b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #83 0x0000ffff94467b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #84 0x0000ffff9446c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #85 0x0000ffff9446c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #86 0x0000ffff9446c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #87 0x0000ffff9446c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #88 0x0000ffff9446c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #89 0x0000ffff928c2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #90 0x0000ffff928c2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #91 0x0000ffff928c2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #92 0x0000ffff928c2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #93 0x0000ffff93f87450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #94 0x0000ffff93f3f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #95 0x0000ffff93f3f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #96 0x0000ffff93f3f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #97 0x0000ffff93fc551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #98 0x0000aaaabb3159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #99 0x0000aaaabb3194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #100 0x0000aaaabb31aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #101 0x0000aaaabb311fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #102 0x0000ffff8b51098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #103 0x0000ffff8b510a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #104 0x0000aaaabb3120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/mismatched-iterator.cpp.script: line 2: 2539042 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.MismatchedIterator -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mismatched-iterator.cpp -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/model-file.cpp (928 of 18966) ******************** TEST 'Clang :: Analysis/model-file.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config faux-bodies=true,model-path=/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/Models -analyzer-output=plist-multi-file -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/model-file.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/model-file.cpp.tmp : 'RUN: at line 2'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling main() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/model-file.cpp:31:7: Error evaluating branch #0 0x0000ffff880bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff880b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff880bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff91032800 (linux-vdso.so.1+0x800) #4 0x0000ffff903329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff903329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff903329e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff903329e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff903329e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff903329e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff903329e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff903329e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8ffe0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8ffe0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8ffe0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8ffe0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8ffe0d10 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8ffe0d10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8ffe0d10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8ffe0d10 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffff8fff4cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8fff4cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8fff4cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff8fff4f90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8fff4f90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8fff4f90 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff8fff4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8fff4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8fff4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff90000b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff90000b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff90000b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9000a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9000a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9000a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8ff6ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8ff6ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8ff6ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8ff6ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff9045c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9045c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9045c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8ff84c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff8ff84c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff8ff84c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff8ff84c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff8ff84c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff8ff84c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff8ff84c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff8ff84c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff8ff84c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff8ff84c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff8ff85200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff8ff9cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8ff9cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8ff9cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8ff9cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8ff9cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff90266bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff90266bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff90266bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff90266bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff90266bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff90267b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff90267b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff90267b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9026c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9026c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9026c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9026c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9026c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff8e6c2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff8e6c2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff8e6c2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff8e6c2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff8fd87450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8fd3f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8fd3f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8fd3f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8fdc551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab37b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab37b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab37baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab37b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8731098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff87310a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab37b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/model-file.cpp.script: line 2: 2539066 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config faux-bodies=true,model-path=/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/Models -analyzer-output=plist-multi-file -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/model-file.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/model-file.cpp.tmp -- ******************** Testing: 0 FAIL: Clang :: Analysis/mpicheckernotes.cpp (929 of 18966) ******************** TEST 'Clang :: Analysis/mpicheckernotes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=optin.mpi.MPI-Checker -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mpicheckernotes.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=optin.mpi.MPI-Checker -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mpicheckernotes.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling tripleNonblocking() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mpicheckernotes.cpp:29:3: Error evaluating statement #0 0x0000ffffaa62acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaa629100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaa62b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb35ae800 (linux-vdso.so.1+0x800) #4 0x0000ffffb26bbd0c llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb26bbd0c llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb26bbd0c llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb26bbd0c llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb26bbd0c llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb26bbd0c clang::ento::ProgramStatePartialTrait>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb26bbd0c clang::ento::ProgramStateTrait::data_type clang::ento::ProgramState::get() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb26bbd0c clang::ento::mpi::MPIChecker::checkMissingWaits(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIChecker.cpp:104:0 #12 0x0000ffffb24dcbd4 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffffb24f73b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffffb24f73b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffffb24f73b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffffb24f73b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffffb24f73b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffffb24f73b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffffb24f73b8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffffb250c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffffb250c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffffb250c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffffb250c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffffb250c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffffb250c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffffb250c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffffb250c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffffb250c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffffb250c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #30 0x0000ffffb250c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #31 0x0000ffffb250cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffffb250cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffffb250cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffffb250cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffffb250cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffffb27d6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffb27d6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffb27d6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffffb27d6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffffb27d6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffffb27d7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffffb27d7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffffb27d7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffffb27dc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffffb27dc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffffb27dc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffffb27dc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffffb27dc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffffb0c32058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffffb0c32058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffffb0c32058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffffb0c32058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffffb22f7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffffb22af104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffffb22af104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffffb22af104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffffb233551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaabfe859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaabfe894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaabfe8aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaabfe81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffffa988098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffffa9880a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaabfe820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/mpicheckernotes.cpp.script: line 1: 2539090 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=optin.mpi.MPI-Checker -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mpicheckernotes.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/mpichecker.cpp (930 of 18966) ******************** TEST 'Clang :: Analysis/mpichecker.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=optin.mpi.MPI-Checker -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mpichecker.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=optin.mpi.MPI-Checker -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mpichecker.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling externFunctions1() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mpichecker.cpp:335:3: Error evaluating statement #0 0x0000ffffad6bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffad6b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffad6bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb663b800 (linux-vdso.so.1+0x800) #4 0x0000ffffb574bd0c llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb574bd0c llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb574bd0c llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb574bd0c llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb574bd0c llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb574bd0c clang::ento::ProgramStatePartialTrait>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb574bd0c clang::ento::ProgramStateTrait::data_type clang::ento::ProgramState::get() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb574bd0c clang::ento::mpi::MPIChecker::checkMissingWaits(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIChecker.cpp:104:0 #12 0x0000ffffb556cbd4 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffffb55873b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffffb55873b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffffb55873b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffffb55873b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffffb55873b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffffb55873b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffffb55873b8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffffb559c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffffb559c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffffb559c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffffb559c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffffb559c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffffb559c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffffb559c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffffb559c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffffb559c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffffb559c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #30 0x0000ffffb559c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #31 0x0000ffffb559cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffffb559cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffffb559cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffffb559cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffffb559cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffffb5866bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffb5866bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffb5866bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffffb5866bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffffb5866bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffffb5867b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffffb5867b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffffb5867b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffffb586c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffffb586c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffffb586c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffffb586c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffffb586c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffffb3cc2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffffb3cc2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffffb3cc2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffffb3cc2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffffb5387450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffffb533f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffffb533f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffffb533f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffffb53c551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaad11259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaad11294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaad112aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaad1121fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffffac91098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffffac910a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaad11220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/mpichecker.cpp.script: line 1: 2539085 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=optin.mpi.MPI-Checker -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mpichecker.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/mutually_exclusive_null_fp.cpp (931 of 18966) ******************** TEST 'Clang :: Analysis/mutually_exclusive_null_fp.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mutually_exclusive_null_fp.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mutually_exclusive_null_fp.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling compare(Data &, Data &) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mutually_exclusive_null_fp.cpp:16:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mutually_exclusive_null_fp.cpp:16:7: Error evaluating statement #0 0x0000ffff8703acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff87039100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8703b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8ffb1800 (linux-vdso.so.1+0x800) #4 0x0000ffff8ef59bdc retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff8ef59bdc retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8ef59bdc retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8ef59bdc IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8ef59bdc ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8ef59bdc MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8ef59bdc get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8ef59bdc (anonymous namespace)::EquivalenceClass::mergeImpl(clang::ento::RangeSet::Factory&, llvm::IntrusiveRefCntPtr, llvm::ImmutableSet>, (anonymous namespace)::EquivalenceClass, llvm::ImmutableSet>) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2361:0 #12 0x0000ffff8ef5bb0c llvm::IntrusiveRefCntPtrInfo>>::release(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:351:0 #13 0x0000ffff8ef5bb0c llvm::IntrusiveRefCntPtr>>::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffff8ef5bb0c llvm::IntrusiveRefCntPtr>>::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff8ef5bb0c llvm::ImmutableSet>::~ImmutableSet() /usr/include/llvm/ADT/ImmutableSet.h:957:0 #16 0x0000ffff8ef5bb0c (anonymous namespace)::EquivalenceClass::merge(clang::ento::RangeSet::Factory&, llvm::IntrusiveRefCntPtr, (anonymous namespace)::EquivalenceClass) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2340:0 #17 0x0000ffff8ef60680 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #18 0x0000ffff8ef60680 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8ef60680 merge /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2309:0 #20 0x0000ffff8ef60680 trackEquality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2160:0 #21 0x0000ffff8ef60680 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2238:0 #22 0x0000ffff8ef60680 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #23 0x0000ffff8ef60680 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #24 0x0000ffff8ef60680 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:0 #25 0x0000ffff8ef60680 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:0 #26 0x0000ffff8ef60680 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #27 0x0000ffff8ef60680 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #28 0x0000ffff8ef60f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #29 0x0000ffff8ef60f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffff8ef60f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff8ef60f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #32 0x0000ffff8ef73b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffff8ef73b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffff8ef73b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #35 0x0000ffff8ef7517c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8ef7517c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8ef7517c clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:72:57 #38 0x0000ffff8ef74530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #39 0x0000ffff8ef74530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #40 0x0000ffff8ef74530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #41 0x0000ffff8ef80b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #42 0x0000ffff8ef80b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #43 0x0000ffff8ef80b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #44 0x0000ffff8ef8a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff8ef8a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff8ef8a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #47 0x0000ffff8eeeea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #48 0x0000ffff8eeeea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #49 0x0000ffff8eeeea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #50 0x0000ffff8eeeea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #51 0x0000ffff8f3dc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff8f3dc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff8f3dc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #54 0x0000ffff8ef01ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #55 0x0000ffff8ef01ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #56 0x0000ffff8ef01ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #57 0x0000ffff8ef1c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #58 0x0000ffff8ef1c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #59 0x0000ffff8ef1c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #60 0x0000ffff8ef1c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #61 0x0000ffff8ef1c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #62 0x0000ffff8ef1c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #63 0x0000ffff8ef1c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #64 0x0000ffff8ef1c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #65 0x0000ffff8ef1cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x0000ffff8ef1cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x0000ffff8ef1cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #68 0x0000ffff8ef1cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #69 0x0000ffff8ef1cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #70 0x0000ffff8f1e6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #71 0x0000ffff8f1e6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #72 0x0000ffff8f1e6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #73 0x0000ffff8f1e6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #74 0x0000ffff8f1e6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #75 0x0000ffff8f1e7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #76 0x0000ffff8f1e7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x0000ffff8f1e7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #78 0x0000ffff8f1ec130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x0000ffff8f1ec130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x0000ffff8f1ec130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x0000ffff8f1ec130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x0000ffff8f1ec130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x0000ffff8d642058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #84 0x0000ffff8d642058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x0000ffff8d642058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #86 0x0000ffff8d642058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x0000ffff8ed07450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #88 0x0000ffff8ecbf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #89 0x0000ffff8ecbf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #90 0x0000ffff8ecbf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #91 0x0000ffff8ed4551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #92 0x0000aaaab85059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x0000aaaab85094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x0000aaaab850aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x0000aaaab8501fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x0000ffff8629098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #97 0x0000ffff86290a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #98 0x0000aaaab85020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/mutually_exclusive_null_fp.cpp.script: line 1: 2539108 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mutually_exclusive_null_fp.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/new-aligned.cpp (932 of 18966) ******************** TEST 'Clang :: Analysis/new-aligned.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyze -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-aligned.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyze -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-aligned.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-aligned.cpp:12:10: Error evaluating New Allocator Call #0 0x0000ffffaf88acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaf889100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaf88b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb8806800 (linux-vdso.so.1+0x800) #4 0x0000ffffb7b029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb7b029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb7b029e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb7b029e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb7b029e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb7b029e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb7b029e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb7b029e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb77b0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb77b0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb77b0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb77b0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb77b0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb77b0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb77b0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb77b0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb77c3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb77c3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb77c3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb77c5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb77c5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb77c5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb77c4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb77c4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb77c4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb77d0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb77d0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb77d0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb77da414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb77da414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb77da414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb773eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb773eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb773eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb773eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb773efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb773efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb773efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb7768f68 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffb7768f68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffb7768f68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffb7768f68 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffb7768f68 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffb776937c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffb776937c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffb776937c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffb776937c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffb776937c clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffffb776c5fc clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffffb776c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #54 0x0000ffffb776c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffffb776cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffffb776cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffffb776cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffffb776cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffffb776cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #60 0x0000ffffb7a36bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffffb7a36bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffffb7a36bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffffb7a36bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffffb7a36bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffffb7a37b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #66 0x0000ffffb7a37b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffffb7a37b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffffb7a3c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffffb7a3c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffffb7a3c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffffb7a3c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffffb7a3c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffffb5e92058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #74 0x0000ffffb5e92058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffffb5e92058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #76 0x0000ffffb5e92058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffffb7557450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffffb750f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffffb750f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffffb750f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffffb759551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaabb5759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaabb5794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaabb57aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaabb571fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffffaeae098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffffaeae0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaabb5720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-aligned.cpp.script: line 1: 2539112 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyze -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-aligned.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/new-ctor-inlined.cpp (933 of 18966) ******************** TEST 'Clang :: Analysis/new-ctor-inlined.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-allocator-inlining=true -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-inlined.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-allocator-inlining=true -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-inlined.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling S::S() at line 52 #1 Calling checkTrivialCopy() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-inlined.cpp:19:11: Error evaluating statement #0 0x0000ffffb4e5acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb4e59100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb4e5b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbdddf800 (linux-vdso.so.1+0x800) #4 0x0000ffffbcd27188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffbcd27188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffbcd27188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffbcd27188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffbcd27188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffbcd27188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffbcd27188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffbcd27188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffffbcd3c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffbcd3c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffbcd3c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffbcd3c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffbcd3c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffbcd3c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffbcd3c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffbcd3c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffbcd3c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffffbcd3c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #22 0x0000ffffbcd3c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffffbcd3c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffffbcd3cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffbcd3cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffbcd3cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffbcd3cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffbcd3cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #29 0x0000ffffbd006bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffbd006bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffbd006bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffbd006bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffbd006bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffbd007b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #35 0x0000ffffbd007b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffbd007b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffbd00c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffbd00c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffbd00c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffbd00c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffbd00c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffbb462058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #43 0x0000ffffbb462058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffbb462058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #45 0x0000ffffbb462058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffbcb27450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffbcadf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffbcadf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffbcadf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffbcb6551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaab69159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaab69194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaab691aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaab6911fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffffb40b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffffb40b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaab69120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-ctor-inlined.cpp.script: line 1: 2539135 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-allocator-inlining=true -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-inlined.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/new-ctor-conservative.cpp (934 of 18966) ******************** TEST 'Clang :: Analysis/new-ctor-conservative.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-allocator-inlining=true -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-conservative.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-allocator-inlining=true -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-conservative.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling checkNullThis() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-conservative.cpp:53:18: Error evaluating New Allocator Call #0 0x0000ffff9404acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff94049100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9404b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9cfc7800 (linux-vdso.so.1+0x800) #4 0x0000ffff9c2c29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9c2c29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9c2c29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9c2c29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9c2c29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9c2c29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9c2c29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9c2c29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9bf70048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9bf70048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9bf70048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9bf70048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9bf70f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9bf70f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9bf70f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9bf70f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9bf83b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9bf83b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9bf83b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9bf85060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9bf85060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9bf85060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9bf84530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9bf84530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9bf84530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9bf90b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9bf90b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9bf90b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9bf9a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9bf9a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9bf9a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9befeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9befeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9befeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9befeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9befefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9befefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9befefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff9bf28f68 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff9bf28f68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff9bf28f68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff9bf28f68 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff9bf28f68 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff9bf2937c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff9bf2937c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff9bf2937c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff9bf2937c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff9bf2937c clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffff9bf2c5fc clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffff9bf2c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #54 0x0000ffff9bf2c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffff9bf2cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffff9bf2cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffff9bf2cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffff9bf2cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffff9bf2cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #60 0x0000ffff9c1f6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffff9c1f6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffff9c1f6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffff9c1f6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffff9c1f6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffff9c1f7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #66 0x0000ffff9c1f7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffff9c1f7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffff9c1fc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffff9c1fc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffff9c1fc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffff9c1fc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffff9c1fc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffff9a652058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #74 0x0000ffff9a652058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffff9a652058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #76 0x0000ffff9a652058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffff9bd17450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffff9bccf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffff9bccf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffff9bccf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffff9bd5551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaacfec59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaacfec94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaacfecaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaacfec1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffff932a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffff932a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaacfec20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-ctor-conservative.cpp.script: line 1: 2539136 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-allocator-inlining=true -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-conservative.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/new-ctor-malloc.cpp (935 of 18966) ******************** TEST 'Clang :: Analysis/new-ctor-malloc.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection,unix.Malloc -analyzer-config c++-allocator-inlining=true -analyzer-output=text -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-malloc.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection,unix.Malloc -analyzer-config c++-allocator-inlining=true -analyzer-output=text -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-malloc.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling operator new(size_t) at line 19 #1 Calling checkNewAndConstructorInlining() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-malloc.cpp:10:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-malloc.cpp:10:13: Error evaluating statement #0 0x0000ffffa4e6acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa4e69100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa4e6b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaddeb800 (linux-vdso.so.1+0x800) #4 0x0000ffffad0e29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffad0e29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffad0e29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffad0e29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffad0e29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffad0e29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffad0e29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffad0e29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffacd90048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffacd90048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffacd90048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffacd90048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffacd90f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffacd90f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffacd90f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffacd90f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffacda3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffacda3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffacda3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffacda5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffacda5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffacda5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffacda4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffacda4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffacda4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffacdb0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffacdb0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffacdb0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffacdba414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffacdba414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffacdba414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffacd1ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffacd1ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffacd1ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffacd1ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffad20c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffad20c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffad20c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffacee3840 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffffacee3840 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffffacee3840 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffffacee3840 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffffacee3840 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffffacee3840 (anonymous namespace)::MallocChecker::ProcessZeroAllocCheck(clang::ento::CallEvent const&, unsigned int, llvm::IntrusiveRefCntPtr, std::optional) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1529:0 #48 0x0000ffffacee3c90 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #49 0x0000ffffacee3c90 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffacee3c90 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #51 0x0000ffffacef0180 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #52 0x0000ffffacef0180 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #53 0x0000ffffacd089a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffacd089a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffacd089a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #56 0x0000ffffacd089a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #57 0x0000ffffacd089a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #58 0x0000ffffacd68c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #59 0x0000ffffacd68c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #60 0x0000ffffacd68c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #61 0x0000ffffacd68c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #62 0x0000ffffacd68c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #63 0x0000ffffacd68c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #64 0x0000ffffacd69514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #65 0x0000ffffacd4b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #66 0x0000ffffacd4b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #67 0x0000ffffacd4c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #68 0x0000ffffacd4c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #69 0x0000ffffacd4c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #70 0x0000ffffacd4cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x0000ffffacd4cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x0000ffffacd4cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #73 0x0000ffffacd4cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #74 0x0000ffffacd4cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #75 0x0000ffffad016bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #76 0x0000ffffad016bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #77 0x0000ffffad016bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #78 0x0000ffffad016bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #79 0x0000ffffad016bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #80 0x0000ffffad017b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #81 0x0000ffffad017b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #82 0x0000ffffad017b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #83 0x0000ffffad01c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #84 0x0000ffffad01c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #85 0x0000ffffad01c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #86 0x0000ffffad01c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #87 0x0000ffffad01c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #88 0x0000ffffab472058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #89 0x0000ffffab472058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #90 0x0000ffffab472058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #91 0x0000ffffab472058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #92 0x0000ffffacb37450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #93 0x0000ffffacaef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #94 0x0000ffffacaef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #95 0x0000ffffacaef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #96 0x0000ffffacb7551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #97 0x0000aaaac97259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #98 0x0000aaaac97294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #99 0x0000aaaac972aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #100 0x0000aaaac9721fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #101 0x0000ffffa40c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #102 0x0000ffffa40c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #103 0x0000aaaac97220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-ctor-malloc.cpp.script: line 1: 2539143 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection,unix.Malloc -analyzer-config c++-allocator-inlining=true -analyzer-output=text -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-malloc.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/new-ctor-null-throw.cpp (936 of 18966) ******************** TEST 'Clang :: Analysis/new-ctor-null-throw.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-null-throw.cpp : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core -DSUPPRESSED -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-null-throw.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-null-throw.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling operator new(size_t) at line 50 #1 Calling testMethod() #0 0x0000ffffa47cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa47c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa47cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffad74d800 (linux-vdso.so.1+0x800) #4 0x0000ffffac697188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffac697188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffac697188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffac697188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffac697188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffac697188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffac697188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffac697188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffffac6df1dc clang::ento::ExprEngine::processCallExit(clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:372:0 #13 0x0000ffffac6acb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #14 0x0000ffffac6acb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #15 0x0000ffffac6acb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #16 0x0000ffffac6acb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #17 0x0000ffffac6acb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #18 0x0000ffffac976bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #19 0x0000ffffac976bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #20 0x0000ffffac976bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #21 0x0000ffffac976bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #22 0x0000ffffac976bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #23 0x0000ffffac977b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #24 0x0000ffffac977b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x0000ffffac977b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #26 0x0000ffffac97c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x0000ffffac97c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x0000ffffac97c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x0000ffffac97c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x0000ffffac97c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x0000ffffaadd2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #32 0x0000ffffaadd2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x0000ffffaadd2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #34 0x0000ffffaadd2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x0000ffffac497450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #36 0x0000ffffac44f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #37 0x0000ffffac44f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #38 0x0000ffffac44f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #39 0x0000ffffac4d551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #40 0x0000aaaab96459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x0000aaaab96494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x0000aaaab964aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x0000aaaab9641fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x0000ffffa3a2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #45 0x0000ffffa3a20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #46 0x0000aaaab96420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-ctor-null-throw.cpp.script: line 2: 2539153 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-null-throw.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/new-ctor-null.cpp (937 of 18966) ******************** TEST 'Clang :: Analysis/new-ctor-null.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-null.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-null.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling operator new(size_t) at line 38 #1 Calling testInvalidationOnConstructionIntoNull() #0 0x0000ffff8bc8acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8bc89100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8bc8b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff94c03800 (linux-vdso.so.1+0x800) #4 0x0000ffff93b57188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff93b57188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff93b57188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff93b57188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff93b57188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff93b57188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff93b57188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff93b57188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff93b9f1dc clang::ento::ExprEngine::processCallExit(clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:372:0 #13 0x0000ffff93b6cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #14 0x0000ffff93b6cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #15 0x0000ffff93b6cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #16 0x0000ffff93b6cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #17 0x0000ffff93b6cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #18 0x0000ffff93e36bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #19 0x0000ffff93e36bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #20 0x0000ffff93e36bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #21 0x0000ffff93e36bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #22 0x0000ffff93e36bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #23 0x0000ffff93e37b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #24 0x0000ffff93e37b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x0000ffff93e37b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #26 0x0000ffff93e3c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x0000ffff93e3c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x0000ffff93e3c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x0000ffff93e3c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x0000ffff93e3c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x0000ffff92292058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #32 0x0000ffff92292058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x0000ffff92292058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #34 0x0000ffff92292058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x0000ffff93957450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #36 0x0000ffff9390f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #37 0x0000ffff9390f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #38 0x0000ffff9390f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #39 0x0000ffff9399551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #40 0x0000aaaaddf459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x0000aaaaddf494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x0000aaaaddf4aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x0000aaaaddf41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x0000ffff8aee098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #45 0x0000ffff8aee0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #46 0x0000aaaaddf420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-ctor-null.cpp.script: line 1: 2539170 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-null.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/new-ctor-recursive.cpp (939 of 18966) ******************** TEST 'Clang :: Analysis/new-ctor-recursive.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus.NewDelete,cplusplus.NewDeleteLeaks,debug.ExprInspection -analyzer-config c++-allocator-inlining=true -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-recursive.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus.NewDelete,cplusplus.NewDeleteLeaks,debug.ExprInspection -analyzer-config c++-allocator-inlining=true -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-recursive.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testChainedOperatorNew() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-recursive.cpp:69:12: Error evaluating New Allocator Call #0 0x0000ffff8d6bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8d6b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8d6bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff96637800 (linux-vdso.so.1+0x800) #4 0x0000ffff959329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff959329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff959329e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff959329e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff959329e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff959329e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff959329e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff959329e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff955e0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff955e0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff955e0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff955e0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff955e0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff955e0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff955e0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff955e0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff955f3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff955f3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff955f3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff955f5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff955f5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff955f5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff955f4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff955f4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff955f4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff95600b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff95600b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff95600b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9560a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9560a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9560a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9556eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9556eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9556eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9556eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9556efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9556efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9556efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff95598f68 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff95598f68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff95598f68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff95598f68 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff95598f68 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff9559937c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff9559937c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff9559937c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff9559937c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff9559937c clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffff9559c5fc clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffff9559c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #54 0x0000ffff9559cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffff9559cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffff9559cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffff9559cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffff9559cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #59 0x0000ffff95866bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffff95866bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffff95866bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffff95866bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffff95866bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffff95867b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #65 0x0000ffff95867b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffff95867b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffff9586c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffff9586c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffff9586c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffff9586c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffff9586c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffff93cc2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #73 0x0000ffff93cc2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffff93cc2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #75 0x0000ffff93cc2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffff95387450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffff9533f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffff9533f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffff9533f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffff953c551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaadf4f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaadf4f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaadf4faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaadf4f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffff8c91098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffff8c910a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaadf4f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-ctor-recursive.cpp.script: line 1: 2539172 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus.NewDelete,cplusplus.NewDeleteLeaks,debug.ExprInspection -analyzer-config c++-allocator-inlining=true -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-recursive.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/new-ctor-symbolic.cpp (940 of 18966) ******************** TEST 'Clang :: Analysis/new-ctor-symbolic.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-allocator-inlining=true -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-symbolic.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-allocator-inlining=true -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-symbolic.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling S::operator new(size_t) at line 31 #1 Calling testIndexLiveness() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-symbolic.cpp:21:9: Error evaluating branch #0 0x0000ffff98d7acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff98d79100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff98d7b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa1cf6800 (linux-vdso.so.1+0x800) #4 0x0000ffffa0ff29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa0ff29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa0ff29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa0ff29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa0ff29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa0ff29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa0ff29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa0ff29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa0ca0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa0ca0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa0ca0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa0ca0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa0ca0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa0ca0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa0ca0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa0ca0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa0cb3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa0cb3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa0cb3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa0cb5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa0cb5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa0cb5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa0cb4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa0cb4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa0cb4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa0cc0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa0cc0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa0cc0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa0cca414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa0cca414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa0cca414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa0c2ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa0c2ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa0c2ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa0c2ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffa111c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa111c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa111c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa0c44c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffa0c44c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffa0c44c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffa0c44c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffa0c44c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffa0c44c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffa0c44c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffa0c44c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffa0c44c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffa0c44c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffa0c45200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffa0c5cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa0c5cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa0c5cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa0c5cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa0c5cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffa0f26bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa0f26bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa0f26bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa0f26bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa0f26bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa0f27b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffa0f27b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa0f27b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa0f2c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa0f2c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa0f2c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa0f2c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa0f2c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff9f382058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff9f382058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff9f382058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff9f382058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa0a47450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa09ff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa09ff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa09ff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa0a8551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab02459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab02494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab024aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab0241fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff97fd098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff97fd0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab02420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-ctor-symbolic.cpp.script: line 1: 2539182 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-allocator-inlining=true -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-symbolic.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/new-dynamic-types.cpp (941 of 18966) ******************** TEST 'Clang :: Analysis/new-dynamic-types.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-dynamic-types.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-dynamic-types.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_non_ub() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-dynamic-types.cpp:26:3: Error evaluating New Allocator Call #0 0x0000ffffb4abacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb4ab9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb4abb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbda39800 (linux-vdso.so.1+0x800) #4 0x0000ffffbcd329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbcd329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbcd329e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbcd329e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbcd329e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbcd329e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbcd329e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbcd329e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbc9e0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbc9e0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbc9e0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbc9e0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbc9e0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbc9e0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbc9e0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbc9e0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbc9f3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbc9f3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbc9f3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbc9f5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbc9f5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbc9f5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbc9f4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbc9f4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbc9f4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbca00b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbca00b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbca00b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbca0a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbca0a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbca0a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbc96eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbc96eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbc96eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbc96eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbc96efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbc96efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbc96efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffbc998f68 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffbc998f68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffbc998f68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffbc998f68 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffbc998f68 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffbc99937c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffbc99937c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffbc99937c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffbc99937c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffbc99937c clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffffbc99c5fc clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffffbc99c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #54 0x0000ffffbc99cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffffbc99cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffffbc99cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffffbc99cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffffbc99cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #59 0x0000ffffbcc66bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffffbcc66bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffffbcc66bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffffbcc66bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffffbcc66bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffffbcc67b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #65 0x0000ffffbcc67b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffffbcc67b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffffbcc6c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffffbcc6c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffffbcc6c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffffbcc6c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffffbcc6c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffffbb0c2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #73 0x0000ffffbb0c2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffffbb0c2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #75 0x0000ffffbb0c2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffffbc787450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffffbc73f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffffbc73f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffffbc73f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffffbc7c551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaad61a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaad61a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaad61aaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaad61a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffffb3d1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffffb3d10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaad61a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-dynamic-types.cpp.script: line 1: 2539189 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-dynamic-types.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/new-with-exceptions.cpp (942 of 18966) ******************** TEST 'Clang :: Analysis/new-with-exceptions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -fexceptions -fcxx-exceptions -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-with-exceptions.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-with-exceptions.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -fexceptions -fcxx-exceptions -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-with-exceptions.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testNewArrayNoThrow() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-with-exceptions.cpp:49:31: Error evaluating statement #0 0x0000ffffa49cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa49c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa49cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffad947800 (linux-vdso.so.1+0x800) #4 0x0000ffffac897188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffac897188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffac897188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffac897188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffac897188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffac897188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffac897188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffac897188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffffac8ac264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffac8ac264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffac8ac264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffac8ac264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffac8ac264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffac8ac264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffac8ac264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffac8ac264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffac8ac264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffffac8ac5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #22 0x0000ffffac8ac7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #23 0x0000ffffac8acb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #24 0x0000ffffac8acb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #25 0x0000ffffac8acb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #26 0x0000ffffac8acb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #27 0x0000ffffac8acb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #28 0x0000ffffacb76bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #29 0x0000ffffacb76bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #30 0x0000ffffacb76bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #31 0x0000ffffacb76bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #32 0x0000ffffacb76bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #33 0x0000ffffacb77b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #34 0x0000ffffacb77b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x0000ffffacb77b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #36 0x0000ffffacb7c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x0000ffffacb7c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x0000ffffacb7c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x0000ffffacb7c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x0000ffffacb7c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x0000ffffaafd2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #42 0x0000ffffaafd2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x0000ffffaafd2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #44 0x0000ffffaafd2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x0000ffffac697450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #46 0x0000ffffac64f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #47 0x0000ffffac64f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #48 0x0000ffffac64f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #49 0x0000ffffac6d551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #50 0x0000aaaaacf459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x0000aaaaacf494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x0000aaaaacf4aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x0000aaaaacf41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x0000ffffa3c2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #55 0x0000ffffa3c20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #56 0x0000aaaaacf420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-with-exceptions.cpp.script: line 2: 2539200 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -fexceptions -fcxx-exceptions -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-with-exceptions.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/new.cpp (943 of 18966) ******************** TEST 'Clang :: Analysis/new.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -std=c++11 -DTEST_INLINABLE_ALLOCATORS -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_member_invalidation() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new.cpp:341:30: Error evaluating New Allocator Call #0 0x0000ffffa3fdacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa3fd9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa3fdb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffacf5e800 (linux-vdso.so.1+0x800) #4 0x0000ffffac2529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffac2529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffac2529e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffac2529e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffac2529e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffac2529e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffac2529e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffac2529e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffabf00048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffabf00048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffabf00048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffabf00048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffabf00f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffabf00f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffabf00f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffabf00f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffabf13b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffabf13b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffabf13b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffabf15060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffabf15060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffabf15060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffabf14530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffabf14530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffabf14530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffabf20b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffabf20b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffabf20b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffabf2a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffabf2a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffabf2a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffabe8eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffabe8eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffabe8eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffabe8eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffabe8efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffabe8efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffabe8efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffabeb8f68 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffabeb8f68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffabeb8f68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffabeb8f68 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffabeb8f68 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffabeb937c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffabeb937c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffabeb937c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffabeb937c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffabeb937c clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffffabebc5fc clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffffabebc6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #54 0x0000ffffabebc9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffffabebcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffffabebcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffffabebcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffffabebcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffffabebcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #60 0x0000ffffac186bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffffac186bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffffac186bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffffac186bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffffac186bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffffac187b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #66 0x0000ffffac187b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffffac187b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffffac18c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffffac18c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffffac18c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffffac18c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffffac18c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffffaa5e2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #74 0x0000ffffaa5e2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffffaa5e2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #76 0x0000ffffaa5e2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffffabca7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffffabc5f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffffabc5f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffffabc5f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffffabce551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaac1cc59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaac1cc94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaac1ccaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaac1cc1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffffa323098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffffa3230a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaac1cc20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new.cpp.script: line 2: 2539210 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/nil-receiver-undefined-larger-than-voidptr-ret-region.m (944 of 18966) ******************** TEST 'Clang :: Analysis/nil-receiver-undefined-larger-than-voidptr-ret-region.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin8 -analyzer-checker=core,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret-region.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin8 -analyzer-checker=core,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret-region.m 1. parser at end of file #0 0x0000ffffa351acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa3519100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa351b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffac49b800 (linux-vdso.so.1+0x800) #4 0x0000ffffab7929e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffab7929e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffab7929e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffab7929e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffab7929e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffab7929e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffab7929e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffab7929e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffab440048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffab440048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffab440048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffab440048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffab440f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffab440f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffab440f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffab440f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffab453b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffab453b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffab453b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffab455060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffab455060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffab455060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffab454530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffab454530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffab454530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffab460b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffab460b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffab460b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffab46a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffab46a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffab46a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffab3ceaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffab3ceaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffab3ceaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffab3ceaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffab3cefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffab3cefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffab3cefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffab3a2620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffab3a2620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffab3a2620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffab3def78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffab3def78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffab3def78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffab3fce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffab3fce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffab3fce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffab6c6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffab6c6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffab6c6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffab6c6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffab6c6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffab6c7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffab6c7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffab6c7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffab6cc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffab6cc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffab6cc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffab6cc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffab6cc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa9b22058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffa9b22058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa9b22058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffa9b22058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffab1e7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffab19f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffab19f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffab19f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffab22551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaae37759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaae37794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaae377aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaae3771fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffa277098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffa2770a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaae37720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nil-receiver-undefined-larger-than-voidptr-ret-region.m.script: line 1: 2539218 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin8 -analyzer-checker=core,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret-region.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m (945 of 18966) ******************** TEST 'Clang :: Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin8 -analyzer-checker=core,alpha.core -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m > /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nil-receiver-undefined-larger-than-voidptr-ret.m.tmp.1 2>&1 : 'RUN: at line 2'; /usr/bin/FileCheck -input-file=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nil-receiver-undefined-larger-than-voidptr-ret.m.tmp.1 -check-prefix=CHECK-darwin8 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m > /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nil-receiver-undefined-larger-than-voidptr-ret.m.tmp.2 2>&1 : 'RUN: at line 4'; /usr/bin/FileCheck -input-file=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nil-receiver-undefined-larger-than-voidptr-ret.m.tmp.2 -check-prefix=CHECK-darwin9 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple thumbv6-apple-ios4.0 -analyzer-checker=core,alpha.core -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m > /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nil-receiver-undefined-larger-than-voidptr-ret.m.tmp.3 2>&1 : 'RUN: at line 6'; /usr/bin/FileCheck -input-file=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nil-receiver-undefined-larger-than-voidptr-ret.m.tmp.3 -check-prefix=CHECK-darwin9 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m -- Exit Code: 139 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nil-receiver-undefined-larger-than-voidptr-ret.m.script: line 6: 2539225 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin8 -analyzer-checker=core,alpha.core -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m > /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nil-receiver-undefined-larger-than-voidptr-ret.m.tmp.1 2>&1 -- ******************** Testing: 0 FAIL: Clang :: Analysis/no-outofbounds.c (946 of 18966) ******************** TEST 'Clang :: Analysis/no-outofbounds.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,alpha.unix,alpha.security.ArrayBound -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-outofbounds.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,alpha.unix,alpha.security.ArrayBound -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-outofbounds.c 1. parser at end of file 2. While analyzing stack: #0 Calling field 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-outofbounds.c:28:19: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-outofbounds.c:28:19: Error evaluating statement #0 0x0000ffff7d97acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7d979100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7d97b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff868f4800 (linux-vdso.so.1+0x800) #4 0x0000ffff85a40508 isEqual /usr/include/llvm/ADT/ImmutableMap.h:45:41 #5 0x0000ffff85a40508 add_internal /usr/include/llvm/ADT/ImmutableSet.h:538:26 #6 0x0000ffff85a40508 add /usr/include/llvm/ADT/ImmutableSet.h:396:0 #7 0x0000ffff85a40508 add /usr/include/llvm/ADT/ImmutableMap.h:100:0 #8 0x0000ffff85a40508 Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:0 #9 0x0000ffff85a40508 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::RegionState>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::RegionState>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::RegionState>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::RegionState>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #10 0x0000ffff85a4136c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #11 0x0000ffff85a4136c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x0000ffff85a4136c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x0000ffff85a4136c set<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #14 0x0000ffff85a4136c checkPostStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PointerArithChecker.cpp:270:0 #15 0x0000ffff85a4136c void clang::ento::check::PostStmt::_checkStmt<(anonymous namespace)::PointerArithChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:104:0 #16 0x0000ffff858174f8 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #17 0x0000ffff858174f8 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #18 0x0000ffff8585ac78 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #19 0x0000ffff8585ac78 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2259:0 #20 0x0000ffff8585c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #21 0x0000ffff8585c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #22 0x0000ffff8585c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #23 0x0000ffff8585cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #24 0x0000ffff8585cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #25 0x0000ffff8585cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #26 0x0000ffff8585cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #27 0x0000ffff8585cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #28 0x0000ffff85b26bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #29 0x0000ffff85b26bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #30 0x0000ffff85b26bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #31 0x0000ffff85b26bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #32 0x0000ffff85b26bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #33 0x0000ffff85b27b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #34 0x0000ffff85b27b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x0000ffff85b27b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #36 0x0000ffff85b2c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x0000ffff85b2c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x0000ffff85b2c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x0000ffff85b2c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x0000ffff85b2c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x0000ffff83f82058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #42 0x0000ffff83f82058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x0000ffff83f82058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #44 0x0000ffff83f82058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x0000ffff85647450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #46 0x0000ffff855ff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #47 0x0000ffff855ff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #48 0x0000ffff855ff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #49 0x0000ffff8568551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #50 0x0000aaaac46759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x0000aaaac46794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x0000aaaac467aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x0000aaaac4671fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x0000ffff7cbd098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #55 0x0000ffff7cbd0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #56 0x0000aaaac46720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/no-outofbounds.c.script: line 1: 2539244 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,alpha.unix,alpha.security.ArrayBound -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-outofbounds.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/no-exit-cfg.c (947 of 18966) ******************** TEST 'Clang :: Analysis/no-exit-cfg.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-exit-cfg.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-config cfg-scopes=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-exit-cfg.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-exit-cfg.c 1. parser at end of file 2. While analyzing stack: #0 Calling f 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-exit-cfg.c:16:7: Error evaluating branch #0 0x0000ffff92e4acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff92e49100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff92e4b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9bdc7800 (linux-vdso.so.1+0x800) #4 0x0000ffff9b0c29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9b0c29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9b0c29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9b0c29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9b0c29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9b0c29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9b0c29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9b0c29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9ad70048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9ad70048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9ad70048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9ad70048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9ad70f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9ad70f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9ad70f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9ad70f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9ad84cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9ad84cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9ad84cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff9ad84f90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9ad84f90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9ad84f90 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff9ad84530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9ad84530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9ad84530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9ad90b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9ad90b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9ad90b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9ad9a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9ad9a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9ad9a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9acfeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9acfeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9acfeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9acfeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9b1ec8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9b1ec8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9b1ec8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9ad14c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff9ad14c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff9ad14c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff9ad14c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff9ad14c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff9ad14c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff9ad14c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff9ad14c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff9ad14c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff9ad14c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff9ad15200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff9ad2cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9ad2cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9ad2cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9ad2cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9ad2cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff9aff6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9aff6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9aff6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9aff6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9aff6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff9aff7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff9aff7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff9aff7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9affc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9affc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9affc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9affc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9affc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff99452058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff99452058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff99452058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff99452058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff9ab17450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9aacf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9aacf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9aacf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9ab5551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad97859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad97894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad978aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad9781fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff920a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff920a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad97820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/no-exit-cfg.c.script: line 2: 2539243 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-exit-cfg.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/no-store-suppression.cpp (948 of 18966) ******************** TEST 'Clang :: Analysis/no-store-suppression.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-store-suppression.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-store-suppression.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling std::operator>>(istream &, char &) at line 19 #1 Calling value_uninitialized_after_stream_shift::foo() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/no-store-suppression.h:11:7: Error evaluating branch #0 0x0000ffffa6a3acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa6a39100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa6a3b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaf9be800 (linux-vdso.so.1+0x800) #4 0x0000ffffaecb29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaecb29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaecb29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaecb29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaecb29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaecb29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffaecb29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffaecb29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffae960048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffae960048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffae960048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffae960048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffae960d10 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffae960d10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffae960d10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffae960d10 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffffae974cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffae974cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffae974cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffae974f90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffae974f90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffae974f90 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffae974530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffae974530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffae974530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffae980b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffae980b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffae980b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffae98a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffae98a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffae98a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffae8eea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffae8eea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffae8eea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffae8eea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffaeddc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffaeddc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffaeddc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffae904c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffae904c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffae904c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffae904c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffae904c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffae904c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffae904c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffae904c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffae904c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffae904c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffae905200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffae91cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffae91cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffae91cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffae91cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffae91cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffaebe6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffaebe6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffaebe6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffaebe6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffaebe6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffaebe7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffaebe7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffaebe7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffaebec130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffaebec130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffaebec130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffaebec130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffaebec130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffad042058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffad042058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffad042058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffad042058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffae707450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffae6bf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffae6bf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffae6bf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffae74551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac15959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac15994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac159aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac1591fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa5c9098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa5c90a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac15920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/no-store-suppression.cpp.script: line 1: 2539260 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-store-suppression.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/no-return.c (949 of 18966) ******************** TEST 'Clang :: Analysis/no-return.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-return.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-return.c 1. parser at end of file 2. While analyzing stack: #0 Calling return_zero_or_abort_by_fnptr at line 29 #1 Calling caller 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-return.c:13:7: Error evaluating branch #0 0x0000ffff79bcacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff79bc9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff79bcb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff82b43800 (linux-vdso.so.1+0x800) #4 0x0000ffff81e429e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff81e429e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff81e429e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff81e429e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff81e429e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff81e429e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff81e429e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff81e429e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff81af0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff81af0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff81af0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff81af0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff81af0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff81af0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff81af0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff81af0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff81b04cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff81b04cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff81b04cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff81b04f90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff81b04f90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff81b04f90 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff81b04530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff81b04530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff81b04530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff81b10b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff81b10b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff81b10b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff81b1a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff81b1a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff81b1a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff81a7eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff81a7eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff81a7eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff81a7eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff81f6c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff81f6c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff81f6c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff81a94c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff81a94c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff81a94c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff81a94c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff81a94c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff81a94c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff81a94c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff81a94c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff81a94c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff81a94c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff81a95200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff81aacb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff81aacb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff81aacb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff81aacb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff81aacb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff81d76bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff81d76bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff81d76bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff81d76bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff81d76bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff81d77b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff81d77b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff81d77b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff81d7c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff81d7c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff81d7c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff81d7c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff81d7c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff801d2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff801d2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff801d2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff801d2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff81897450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8184f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8184f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8184f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff818d551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaadce059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaadce094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaadce0aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaadce01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff78e2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff78e20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaadce020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/no-return.c.script: line 1: 2539256 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-return.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/no-unreachable-dtors.cpp (951 of 18966) ******************** TEST 'Clang :: Analysis/no-unreachable-dtors.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.Stats -verify -Wno-unreachable-code /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-unreachable-dtors.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.Stats -verify -Wno-unreachable-code /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-unreachable-dtors.cpp 1. parser at end of file #0 0x0000ffff850cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff850c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff850cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8e040800 (linux-vdso.so.1+0x800) #4 0x0000ffff8cf9c024 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff8cf9c024 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8cf9c024 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8cf9c024 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8cf9c024 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8cf9c024 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8cf9c024 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8cf9c024 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2911:0 #12 0x0000ffff8cf9c948 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #13 0x0000ffff8cfac974 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #14 0x0000ffff8cfacb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff8cfacb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff8cfacb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff8cfacb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff8cfacb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffff8d276bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff8d276bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff8d276bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff8d276bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff8d276bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff8d277b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffff8d277b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff8d277b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff8d27c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff8d27c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff8d27c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff8d27c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff8d27c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff8b6d2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffff8b6d2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff8b6d2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffff8b6d2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff8cd97450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff8cd4f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff8cd4f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff8cd4f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff8cdd551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaad14759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaad14794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaad147aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaad1471fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff8432098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff84320a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaad14720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/no-unreachable-dtors.cpp.script: line 1: 2539275 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.Stats -verify -Wno-unreachable-code /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-unreachable-dtors.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/non-diagnosable-assumptions.c (953 of 18966) ******************** TEST 'Clang :: Analysis/non-diagnosable-assumptions.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core.DivideZero -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/non-diagnosable-assumptions.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core.DivideZero -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/non-diagnosable-assumptions.c 1. parser at end of file 2. While analyzing stack: #0 Calling test_exclamation_mark 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/non-diagnosable-assumptions.c:40:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/non-diagnosable-assumptions.c:40:7: Error evaluating statement #0 0x0000ffff9f31acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9f319100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9f31b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa829b800 (linux-vdso.so.1+0x800) #4 0x0000ffffa75929e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa75929e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa75929e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa75929e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa75929e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa75929e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa75929e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa75929e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa7240048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa7240048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa7240048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa7240048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa7240f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa7240f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa7240f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa7240f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa7253b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa7253b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa7253b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa7255060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa7255060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa7255060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa7254530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa7254530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa7254530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa7260b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa7260b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa7260b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa726a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa726a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa726a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa71cea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa71cea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa71cea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa71cea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffa76bc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa76bc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa76bc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa71e1ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffa71e1ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffa71e1ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffa71fc07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffa71fc07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffa71fc07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffa71fc07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffa71fc07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffa71fc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffffa71fc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffffa71fc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffffa71fcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa71fcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa71fcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa71fcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa71fcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffa74c6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa74c6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa74c6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa74c6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa74c6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa74c7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffa74c7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa74c7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa74cc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa74cc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa74cc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa74cc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa74cc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa5922058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffa5922058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa5922058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffa5922058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa6fe7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa6f9f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa6f9f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa6f9f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa702551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac22b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac22b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac22baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac22b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9e57098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff9e570a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac22b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/non-diagnosable-assumptions.c.script: line 1: 2539288 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core.DivideZero -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/non-diagnosable-assumptions.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/nonnull.cpp (954 of 18966) ******************** TEST 'Clang :: Analysis/nonnull.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling f4(int, int *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull.cpp:31:7: Error evaluating branch #0 0x0000ffff77f1acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff77f19100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff77f1b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff80e91800 (linux-vdso.so.1+0x800) #4 0x0000ffff801929e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff801929e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff801929e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff801929e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff801929e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff801929e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff801929e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff801929e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff7fe40048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff7fe40048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff7fe40048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff7fe40048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff7fe40f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff7fe40f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff7fe40f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff7fe40f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff7fe53b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff7fe53b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff7fe53b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff7fe55060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff7fe55060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff7fe55060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff7fe54530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff7fe54530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff7fe54530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff7fe60b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff7fe60b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff7fe60b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff7fe6a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff7fe6a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff7fe6a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff7fdceaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff7fdceaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff7fdceaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff7fdceaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff802bc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff802bc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff802bc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff7fde4c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff7fde4c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff7fde4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff7fde4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff7fde4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff7fde4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff7fde4c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff7fde4c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff7fde4c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff7fde4c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff7fde5200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff7fdfcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff7fdfcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff7fdfcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff7fdfcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff7fdfcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff800c6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff800c6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff800c6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff800c6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff800c6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff800c7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff800c7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff800c7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff800cc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff800cc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff800cc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff800cc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff800cc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff7e522058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff7e522058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff7e522058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff7e522058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff7fbe7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff7fb9f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff7fb9f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff7fb9f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff7fc2551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad06859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad06894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad068aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad0681fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7717098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff77170a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad06820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nonnull.cpp.script: line 1: 2539301 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/nonnull-global-constants.mm (955 of 18966) ******************** TEST 'Clang :: Analysis/nonnull-global-constants.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull-global-constants.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull-global-constants.mm 1. parser at end of file 2. While analyzing stack: #0 Calling test_kCFNull() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull-global-constants.mm:122:23: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull-global-constants.mm:122:23: Error evaluating statement #0 0x0000ffff9019acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff90199100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9019b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff99115800 (linux-vdso.so.1+0x800) #4 0x0000ffff984129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff984129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff984129e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff984129e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff984129e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff984129e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff984129e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff984129e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff980c0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff980c0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff980c0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff980c0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff980c0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff980c0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff980c0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff980c0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff980d3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff980d3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff980d3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff980d5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff980d5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff980d5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff980d4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff980d4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff980d4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff980e0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff980e0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff980e0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff980ea414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff980ea414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff980ea414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9804eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9804eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9804eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9804eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9804efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9804efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9804efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff98022620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff98022620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff98022620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff982311a0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #46 0x0000ffff982311a0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/NonnullGlobalConstantsChecker.cpp:88:0 #47 0x0000ffff982311a0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::NonnullGlobalConstantsChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:0 #48 0x0000ffff98038e38 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #49 0x0000ffff98061640 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #50 0x0000ffff98061640 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #51 0x0000ffff9806187c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #52 0x0000ffff9806187c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #53 0x0000ffff9806187c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #54 0x0000ffff9806187c clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #55 0x0000ffff98071540 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x0000ffff98071540 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x0000ffff98071540 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #58 0x0000ffff9807ac54 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #59 0x0000ffff9807ac54 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #60 0x0000ffff9807ac54 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #61 0x0000ffff9807c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #62 0x0000ffff9807c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #63 0x0000ffff9807c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #64 0x0000ffff9807cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x0000ffff9807cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x0000ffff9807cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #67 0x0000ffff9807cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #68 0x0000ffff9807cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #69 0x0000ffff98346bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #70 0x0000ffff98346bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #71 0x0000ffff98346bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #72 0x0000ffff98346bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #73 0x0000ffff98346bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #74 0x0000ffff98347b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #75 0x0000ffff98347b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #76 0x0000ffff98347b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #77 0x0000ffff9834c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #78 0x0000ffff9834c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #79 0x0000ffff9834c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #80 0x0000ffff9834c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #81 0x0000ffff9834c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #82 0x0000ffff967a2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #83 0x0000ffff967a2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #84 0x0000ffff967a2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #85 0x0000ffff967a2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #86 0x0000ffff97e67450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #87 0x0000ffff97e1f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #88 0x0000ffff97e1f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #89 0x0000ffff97e1f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #90 0x0000ffff97ea551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #91 0x0000aaaac6b859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #92 0x0000aaaac6b894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #93 0x0000aaaac6b8aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #94 0x0000aaaac6b81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #95 0x0000ffff8f3f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #96 0x0000ffff8f3f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #97 0x0000aaaac6b820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nonnull-global-constants.mm.script: line 1: 2539295 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull-global-constants.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/nonnullparamchecker-crash.cpp (956 of 18966) ******************** TEST 'Clang :: Analysis/nonnullparamchecker-crash.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnullparamchecker-crash.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnullparamchecker-crash.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling f(C) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnullparamchecker-crash.cpp:6:17: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnullparamchecker-crash.cpp:6:17: Error evaluating statement #0 0x0000ffff9308acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff93089100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9308b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9c004800 (linux-vdso.so.1+0x800) #4 0x0000ffff9af57804 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9af57804 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9af57804 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9af57804 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9af57804 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9af57804 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9af57804 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff9af57804 clang::ento::ExprEngine::getObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:607:55 #12 0x0000ffff9af88680 clang::ento::ExprEngine::finishArgumentConstruction(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:640:59 #13 0x0000ffff9af88824 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #14 0x0000ffff9af88824 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x0000ffff9af88824 clang::ento::ExprEngine::finishArgumentConstruction(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:657:72 #16 0x0000ffff9af65534 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:832:0 #17 0x0000ffff9af6b22c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #18 0x0000ffff9af6b22c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #19 0x0000ffff9af6c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #20 0x0000ffff9af6c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #21 0x0000ffff9af6c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #22 0x0000ffff9af6cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #23 0x0000ffff9af6cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #24 0x0000ffff9af6cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #25 0x0000ffff9af6cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #26 0x0000ffff9af6cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #27 0x0000ffff9b236bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x0000ffff9b236bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x0000ffff9b236bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #30 0x0000ffff9b236bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #31 0x0000ffff9b236bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #32 0x0000ffff9b237b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #33 0x0000ffff9b237b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x0000ffff9b237b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #35 0x0000ffff9b23c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff9b23c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff9b23c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x0000ffff9b23c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x0000ffff9b23c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x0000ffff99692058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #41 0x0000ffff99692058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x0000ffff99692058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #43 0x0000ffff99692058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x0000ffff9ad57450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #45 0x0000ffff9ad0f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #46 0x0000ffff9ad0f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #47 0x0000ffff9ad0f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #48 0x0000ffff9ad9551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #49 0x0000aaaab01459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x0000aaaab01494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x0000aaaab014aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x0000aaaab0141fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x0000ffff922e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #54 0x0000ffff922e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #55 0x0000aaaab01420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nonnullparamchecker-crash.cpp.script: line 1: 2539319 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnullparamchecker-crash.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/nonnull.m (957 of 18966) ******************** TEST 'Clang :: Analysis/nonnull.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull.m 1. parser at end of file 2. While analyzing stack: #0 Calling testVararg 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull.m:181:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull.m:181:3: Error evaluating statement #0 0x0000ffff791facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff791f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff791fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff82179800 (linux-vdso.so.1+0x800) #4 0x0000ffff814729e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff814729e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff814729e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff814729e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff814729e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff814729e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff814729e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff814729e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff81120048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff81120048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff81120048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff81120048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff81120f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff81120f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff81120f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff81120f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff81133b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff81133b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff81133b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff81135060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff81135060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff81135060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff81134530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff81134530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff81134530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff81140b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff81140b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff81140b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8114a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8114a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8114a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff810aeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff810aeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff810aeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff810aeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8128fc8c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #40 0x0000ffff8128fc8c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1324:0 #41 0x0000ffff8128fc8c checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/NonNullParamChecker.cpp:175:0 #42 0x0000ffff8128fc8c void clang::ento::check::PreCall::_checkCall<(anonymous namespace)::NonNullParamChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:168:0 #43 0x0000ffff810989a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x0000ffff810989a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff810989a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #46 0x0000ffff810989a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #47 0x0000ffff810989a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #48 0x0000ffff810f8b70 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #49 0x0000ffff810f8b70 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #50 0x0000ffff810f8b70 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #51 0x0000ffff810f8b70 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #52 0x0000ffff810f8b70 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #53 0x0000ffff810f8b70 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #54 0x0000ffff810f8b70 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:683:44 #55 0x0000ffff810f9514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffff810db270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffff810db270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffff810dc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffff810dc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffff810dc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffff810dcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffff810dcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffff810dcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffff810dcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffff810dcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #66 0x0000ffff813a6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffff813a6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffff813a6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffff813a6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffff813a6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffff813a7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #72 0x0000ffff813a7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffff813a7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffff813ac130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffff813ac130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffff813ac130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffff813ac130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffff813ac130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffff7f802058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #80 0x0000ffff7f802058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffff7f802058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #82 0x0000ffff7f802058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffff80ec7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffff80e7f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffff80e7f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffff80e7f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffff80f0551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaad0a459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaad0a494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaad0a4aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaad0a41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff7845098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff78450a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaad0a420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nonnull.m.script: line 1: 2539315 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/novoidtypecrash.c (958 of 18966) ******************** TEST 'Clang :: Analysis/novoidtypecrash.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c89 -Wno-int-conversion -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/novoidtypecrash.c -- Exit Code: 139 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/novoidtypecrash.c:6:5: warning: incompatible pointer types passing 'int **' to parameter of type 'void **' [-Wincompatible-pointer-types] 6 | y(&w); | ^~ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/novoidtypecrash.c:3:10: note: passing argument to parameter 'z' here 3 | y(void **z) { // no-crash | ^ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/novoidtypecrash.c:7:3: warning: expression result unused [-Wunused-value] 7 | *w; | ^~ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/novoidtypecrash.c:8:1: warning: non-void function does not return a value [-Wreturn-type] 8 | } | ^ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/novoidtypecrash.c:11:8: warning: non-void function does not return a value [-Wreturn-type] 11 | b(*c) {} | ^ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/novoidtypecrash.c:16:1: warning: non-void function does not return a value [-Wreturn-type] 16 | } | ^ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/novoidtypecrash.c:27:1: warning: non-void function does not return a value [-Wreturn-type] 27 | } | ^ PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c89 -Wno-int-conversion -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/novoidtypecrash.c 1. parser at end of file 2. While analyzing stack: #0 Calling j 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/novoidtypecrash.c:24:7: Error evaluating branch #0 0x0000ffff9929acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff99299100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9929b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa221b800 (linux-vdso.so.1+0x800) #4 0x0000ffffa15129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa15129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa15129e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa15129e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa15129e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa15129e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa15129e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa15129e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa11c0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa11c0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa11c0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa11c0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa11c0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa11c0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa11c0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa11c0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa11d3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa11d3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa11d3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa11d5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa11d5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa11d5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa11d4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa11d4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa11d4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa11e0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa11e0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa11e0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa11ea414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa11ea414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa11ea414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa11d44a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa11d44a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa11d44a8 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:91:37 #38 0x0000ffffa11e0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #39 0x0000ffffa11e0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #40 0x0000ffffa11e0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #41 0x0000ffffa11ea414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #42 0x0000ffffa11ea414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #43 0x0000ffffa11ea414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #44 0x0000ffffa114eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #45 0x0000ffffa114eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #46 0x0000ffffa114eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #47 0x0000ffffa114eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #48 0x0000ffffa163c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #49 0x0000ffffa163c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #50 0x0000ffffa163c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #51 0x0000ffffa1164c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #52 0x0000ffffa1164c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #53 0x0000ffffa1164c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #54 0x0000ffffa1164c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #55 0x0000ffffa1164c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #56 0x0000ffffa1164c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #57 0x0000ffffa1164c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #58 0x0000ffffa1164c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #59 0x0000ffffa1164c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #60 0x0000ffffa1164c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #61 0x0000ffffa1165200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #62 0x0000ffffa117cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffffa117cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffffa117cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffffa117cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffffa117cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #67 0x0000ffffa1446bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffffa1446bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffffa1446bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffffa1446bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffffa1446bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffffa1447b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #73 0x0000ffffa1447b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffffa1447b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffffa144c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffffa144c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffffa144c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffffa144c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffffa144c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffff9f8a2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #81 0x0000ffff9f8a2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffff9f8a2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #83 0x0000ffff9f8a2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffffa0f67450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffffa0f1f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffffa0f1f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffffa0f1f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffffa0fa551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaac37159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaac37194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaac371aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaac3711fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffff984f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffff984f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaac37120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/novoidtypecrash.c.script: line 1: 2539335 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c89 -Wno-int-conversion -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/novoidtypecrash.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/null-deref-offsets.c (959 of 18966) ******************** TEST 'Clang :: Analysis/null-deref-offsets.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -triple i386-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-offsets.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -triple i386-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-offsets.c 1. parser at end of file 2. While analyzing stack: #0 Calling testOffsets 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-offsets.c:11:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-offsets.c:11:7: Error evaluating statement #0 0x0000ffff9014acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff90149100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9014b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff990c4800 (linux-vdso.so.1+0x800) #4 0x0000ffff983c29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff983c29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff983c29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff983c29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff983c29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff983c29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff983c29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff983c29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff98070048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff98070048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff98070048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff98070048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff98070f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff98070f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff98070f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff98070f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff98083b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff98083b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff98083b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff98085060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff98085060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff98085060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff98084530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff98084530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff98084530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff98090b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff98090b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff98090b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9809a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9809a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9809a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff97ffeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff97ffeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff97ffeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff97ffeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff984ec8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff984ec8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff984ec8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff98011ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff98011ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff98011ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff9802c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff9802c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff9802c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff9802c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff9802c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff9802c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffff9802c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffff9802c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffff9802cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9802cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9802cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9802cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9802cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff982f6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff982f6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff982f6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff982f6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff982f6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff982f7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff982f7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff982f7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff982fc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff982fc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff982fc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff982fc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff982fc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff96752058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff96752058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff96752058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff96752058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff97e17450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff97dcf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff97dcf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff97dcf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff97e5551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaccda59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaccda94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaccdaaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaccda1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8f3a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff8f3a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaccda20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/null-deref-offsets.c.script: line 1: 2539340 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -triple i386-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-offsets.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/null-deref-path-notes.cpp (960 of 18966) ******************** TEST 'Clang :: Analysis/null-deref-path-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -x c++ -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-path-notes.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -x c++ -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-path-notes.cpp 1. parser at end of file #0 0x0000ffffb046acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb0469100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb046b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb93e3800 (linux-vdso.so.1+0x800) #4 0x0000ffffb86e29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb86e29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb86e29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb86e29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb86e29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb86e29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb86e29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb86e29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb8390048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb8390048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb8390048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb8390048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb8390f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb8390f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb8390f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb8390f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb83a3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb83a3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb83a3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb83a5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb83a5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb83a5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb83a4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb83a4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb83a4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb83b0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb83b0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb83b0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb83ba414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb83ba414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb83ba414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb831eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb831eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb831eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb831eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb831efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb831efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb831efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb82f2620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffb82f2620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffb82f2620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffb832ef2c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffb832ef2c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffb832ef2c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffb834ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffb834ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffb834ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffb8616bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffb8616bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffb8616bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffb8616bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffb8616bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffb8617b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffb8617b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffb8617b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffb861c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb861c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb861c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffb861c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffb861c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffb6a72058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffb6a72058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffb6a72058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffb6a72058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffb8137450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffb80ef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffb80ef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffb80ef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffb817551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaac16859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaac16894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaac168aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaac1681fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffaf6c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffaf6c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaac16820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/null-deref-path-notes.cpp.script: line 1: 2539348 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -x c++ -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-path-notes.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/null-deref-path-notes.m (963 of 18966) ******************** TEST 'Clang :: Analysis/null-deref-path-notes.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -fblocks -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-path-notes.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=plist-multi-file -fblocks -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-path-notes.m -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/null-deref-path-notes.m.tmp : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling testWithArrayPtr 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-path-notes.m:67:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-path-notes.m:67:3: Error evaluating statement #0 0x0000ffff78c4acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff78c49100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff78c4b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff81bc1800 (linux-vdso.so.1+0x800) #4 0x0000ffff80ec29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff80ec29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff80ec29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff80ec29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff80ec29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff80ec29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff80ec29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff80ec29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff80b70048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff80b70048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff80b70048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff80b70048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff80b70f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff80b70f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff80b70f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff80b70f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff80b83b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff80b83b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff80b83b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff80b85060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff80b85060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff80b85060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff80b84530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff80b84530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff80b84530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff80b90b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff80b90b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff80b90b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff80b9a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff80b9a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff80b9a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff80afeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff80afeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff80afeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff80afeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff80fec8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff80fec8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff80fec8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff80c1e270 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff80c1e270 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff80c1e270 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffff80c1e270 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffff80ae8e38 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffff80b11640 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffff80b11640 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffff80b16c38 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffff80b16c38 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffff80b16c38 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff80b16c38 clang::ento::ExprEngine::evalStore(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ento::SVal, clang::ProgramPointTag const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3628:15 #53 0x0000ffff80b1fc04 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffff80b1fc04 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffff80b1fc04 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:74:0 #56 0x0000ffff80b2bfa8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #57 0x0000ffff80b2c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #58 0x0000ffff80b2c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #59 0x0000ffff80b2c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #60 0x0000ffff80b2cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #61 0x0000ffff80b2cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #62 0x0000ffff80b2cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #63 0x0000ffff80b2cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #64 0x0000ffff80b2cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #65 0x0000ffff80df6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #66 0x0000ffff80df6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #67 0x0000ffff80df6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #68 0x0000ffff80df6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #69 0x0000ffff80df6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #70 0x0000ffff80df7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #71 0x0000ffff80df7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #72 0x0000ffff80df7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #73 0x0000ffff80dfc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #74 0x0000ffff80dfc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #75 0x0000ffff80dfc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #76 0x0000ffff80dfc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #77 0x0000ffff80dfc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #78 0x0000ffff7f252058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #79 0x0000ffff7f252058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #80 0x0000ffff7f252058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #81 0x0000ffff7f252058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #82 0x0000ffff80917450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #83 0x0000ffff808cf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #84 0x0000ffff808cf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #85 0x0000ffff808cf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #86 0x0000ffff8095551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #87 0x0000aaaab1ae59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #88 0x0000aaaab1ae94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #89 0x0000aaaab1aeaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #90 0x0000aaaab1ae1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #91 0x0000ffff77ea098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #92 0x0000ffff77ea0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #93 0x0000aaaab1ae20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/null-deref-path-notes.m.script: line 3: 2539364 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -fblocks -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-path-notes.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/null-deref-ps.c (964 of 18966) ******************** TEST 'Clang :: Analysis/null-deref-ps.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -Wno-int-conversion -Wno-strict-prototypes -Wno-tautological-constant-compare -Wtautological-unsigned-zero-compare -analyzer-checker=core,deadcode,alpha.core -std=gnu99 -analyzer-purge=none -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-ps.c -Wno-error=return-type : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -Wno-int-conversion -Wno-strict-prototypes -Wno-tautological-constant-compare -Wtautological-unsigned-zero-compare -analyzer-checker=core,deadcode,alpha.core -std=gnu99 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-ps.c -Wno-error=return-type -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -Wno-int-conversion -Wno-strict-prototypes -Wno-tautological-constant-compare -Wtautological-unsigned-zero-compare -analyzer-checker=core,deadcode,alpha.core -std=gnu99 -analyzer-purge=none -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-ps.c -Wno-error=return-type 1. parser at end of file 2. While analyzing stack: #0 Calling test_address_space_condition 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-ps.c:321:8: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-ps.c:321:8: Error evaluating statement #0 0x0000ffff91e8acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff91e89100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff91e8b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9ae02800 (linux-vdso.so.1+0x800) #4 0x0000ffff9a1029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9a1029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9a1029e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9a1029e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9a1029e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9a1029e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9a1029e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9a1029e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff99db0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff99db0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff99db0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff99db0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff99db0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff99db0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff99db0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff99db0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff99dc3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff99dc3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff99dc3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff99dc5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff99dc5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff99dc5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff99dc4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff99dc4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff99dc4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff99dd0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff99dd0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff99dd0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff99dda414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff99dda414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff99dda414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff99d3ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff99d3ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff99d3ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff99d3ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff9a22c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9a22c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9a22c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff99d51ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff99d51ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff99d51ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff99d6c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff99d6c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff99d6c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff99d6c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff99d6c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff99d6c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffff99d6c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffff99d6c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffff99d6cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff99d6cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff99d6cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff99d6cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff99d6cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff9a036bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9a036bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9a036bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9a036bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9a036bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff9a037b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff9a037b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff9a037b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9a03c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9a03c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9a03c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9a03c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9a03c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff98492058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff98492058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff98492058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff98492058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff99b57450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff99b0f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff99b0f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff99b0f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff99b9551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaacca559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaacca594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaacca5aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaacca51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff910e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff910e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaacca520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/null-deref-ps.c.script: line 2: 2539375 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -Wno-int-conversion -Wno-strict-prototypes -Wno-tautological-constant-compare -Wtautological-unsigned-zero-compare -analyzer-checker=core,deadcode,alpha.core -std=gnu99 -analyzer-purge=none -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-ps.c -Wno-error=return-type -- ******************** Testing: 0 FAIL: Clang :: Analysis/null-deref-ps-region.c (965 of 18966) ******************** TEST 'Clang :: Analysis/null-deref-ps-region.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-ps-region.c -std=gnu99 -analyzer-checker=core -analyzer-checker=alpha.core -analyzer-checker=unix -analyzer-checker=alpha.unix -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-ps-region.c -std=gnu99 -analyzer-checker=core -analyzer-checker=alpha.core -analyzer-checker=unix -analyzer-checker=alpha.unix 1. parser at end of file 2. While analyzing stack: #0 Calling testHeapSymbolSameSize 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-ps-region.c:76:23: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-ps-region.c:76:23: Error evaluating statement #0 0x0000ffffa656acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa6569100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa656b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaf4ec800 (linux-vdso.so.1+0x800) #4 0x0000ffffae7c9250 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffae7c9250 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffae7c9250 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffae7c9250 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffae7c9250 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffae7c9250 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffae7c9250 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffae7c9250 (anonymous namespace)::MallocChecker::evalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:3069:0 #12 0x0000ffffae5d7760 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffffae5d7760 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffffae5d7760 llvm::IntrusiveRefCntPtr clang::ento::eval::Assume::_evalAssume<(anonymous namespace)::MallocChecker>(void*, llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:463:74 #15 0x0000ffffae3eb758 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffffae3eb758 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffffae3eb758 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffffae3eb758 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffffae4b0be4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffae4b0be4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffae4b0be4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffffae4b0be4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffffae4ba414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffffae4ba414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffae4ba414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #26 0x0000ffffae41ebd8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffae41ebd8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffae41ebd8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffffae41ebd8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffffae90c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffae90c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffae90c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #33 0x0000ffffae5e3840 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffffae5e3840 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffffae5e3840 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffffae5e3840 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffffae5e3840 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffffae5e3840 (anonymous namespace)::MallocChecker::ProcessZeroAllocCheck(clang::ento::CallEvent const&, unsigned int, llvm::IntrusiveRefCntPtr, std::optional) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1529:0 #39 0x0000ffffae5e3c90 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffffae5e3c90 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffffae5e3c90 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #42 0x0000ffffae5f0180 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffffae5f0180 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffffae4089a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffffae4089a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffae4089a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffffae4089a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffffae4089a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffffae468c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffffae468c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffffae468c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffffae468c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffffae468c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffffae468c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffffae469514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffffae44b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffffae44b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffffae44c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffffae44c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffffae44c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffffae44cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffffae44cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffffae44cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffffae44cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffffae44cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #66 0x0000ffffae716bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffffae716bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffffae716bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffffae716bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffffae716bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffffae717b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #72 0x0000ffffae717b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffffae717b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffffae71c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffffae71c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffffae71c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffffae71c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffffae71c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffffacb72058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #80 0x0000ffffacb72058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffffacb72058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #82 0x0000ffffacb72058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffffae237450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffffae1ef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffffae1ef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffffae1ef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffffae27551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaae3c759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaae3c794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaae3c7aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaae3c71fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffffa57c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffffa57c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaae3c720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/null-deref-ps-region.c.script: line 1: 2539371 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-ps-region.c -std=gnu99 -analyzer-checker=core -analyzer-checker=alpha.core -analyzer-checker=unix -analyzer-checker=alpha.unix -- ******************** Testing: 0 FAIL: Clang :: Analysis/nullability-arc.mm (969 of 18966) ******************** TEST 'Clang :: Analysis/nullability-arc.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,nullability -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability-arc.mm : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,nullability -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability-arc.mm -fobjc-arc -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,nullability -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability-arc.mm 1. parser at end of file #0 0x0000ffff9f2dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9f2d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9f2db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa825e800 (linux-vdso.so.1+0x800) #4 0x0000ffffa75529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa75529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa75529e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa75529e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa75529e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa75529e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa75529e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa75529e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa7200048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa7200048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa7200048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa7200048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa7200f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa7200f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa7200f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa7200f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa7213b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa7213b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa7213b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa7215060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa7215060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa7215060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa7214530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa7214530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa7214530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa7220b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa7220b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa7220b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa722a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa722a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa722a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa718eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa718eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa718eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa718eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa718efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa718efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa718efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa7162620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa7162620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa7162620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa719ef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa719ef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa719ef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffa71bce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa71bce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa71bce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa7486bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa7486bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa7486bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa7486bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa7486bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa7487b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffa7487b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa7487b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa748c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa748c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa748c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa748c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa748c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa58e2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffa58e2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa58e2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffa58e2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa6fa7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa6f5f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa6f5f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa6f5f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa6fe551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaae0a059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaae0a094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaae0a0aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaae0a01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff9e53098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff9e530a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaae0a020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nullability-arc.mm.script: line 2: 2539396 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,nullability -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability-arc.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/null-deref-static.m (970 of 18966) ******************** TEST 'Clang :: Analysis/null-deref-static.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -w -fblocks -analyze -analyzer-checker=core,deadcode,alpha.core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-static.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -w -fblocks -analyze -analyzer-checker=core,deadcode,alpha.core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-static.m 1. parser at end of file 2. While analyzing stack: #0 Calling test_static_control_flow 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-static.m:26:7: Error evaluating branch #0 0x0000ffff920dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff920d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff920db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9b058800 (linux-vdso.so.1+0x800) #4 0x0000ffff9a3529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9a3529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9a3529e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9a3529e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9a3529e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9a3529e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9a3529e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9a3529e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9a000048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9a000048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9a000048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9a000048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9a000f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9a000f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9a000f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9a000f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9a014cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9a014cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9a014cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff9a014f90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9a014f90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9a014f90 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff9a014530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9a014530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9a014530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9a020b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9a020b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9a020b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9a02a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9a02a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9a02a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff99f8eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff99f8eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff99f8eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff99f8eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9a47c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9a47c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9a47c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff99fa4c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff99fa4c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff99fa4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff99fa4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff99fa4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff99fa4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff99fa4c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff99fa4c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff99fa4c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff99fa4c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff99fa5200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff99fbcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff99fbcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff99fbcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff99fbcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff99fbcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff9a286bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9a286bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9a286bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9a286bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9a286bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff9a287b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff9a287b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff9a287b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9a28c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9a28c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9a28c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9a28c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9a28c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff986e2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff986e2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff986e2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff986e2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff99da7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff99d5f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff99d5f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff99d5f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff99de551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab58e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab58e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab58eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab58e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9133098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff91330a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab58e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/null-deref-static.m.script: line 1: 2539392 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -w -fblocks -analyze -analyzer-checker=core,deadcode,alpha.core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-static.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/nullability-no-arc.mm (974 of 18966) ******************** TEST 'Clang :: Analysis/nullability-no-arc.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,nullability -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability-no-arc.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,nullability -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability-no-arc.mm 1. parser at end of file #0 0x0000ffff9f17acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9f179100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9f17b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa80f0800 (linux-vdso.so.1+0x800) #4 0x0000ffffa73f29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa73f29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa73f29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa73f29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa73f29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa73f29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa73f29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa73f29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa70a0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa70a0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa70a0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa70a0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa70a0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa70a0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa70a0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa70a0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa70b3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa70b3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa70b3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa70b5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa70b5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa70b5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa70b4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa70b4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa70b4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa70c0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa70c0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa70c0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa70ca414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa70ca414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa70ca414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa702eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa702eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa702eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa702eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa702efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa702efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa702efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa7002620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa7002620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa7002620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa703ef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa703ef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa703ef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffa705ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa705ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa705ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa7326bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa7326bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa7326bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa7326bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa7326bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa7327b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffa7327b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa7327b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa732c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa732c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa732c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa732c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa732c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa5782058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffa5782058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa5782058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffa5782058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa6e47450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa6dff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa6dff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa6dff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa6e8551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaaeaa659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaaeaa694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaaeaa6aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaaeaa61fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff9e3d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff9e3d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaaeaa620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nullability-no-arc.mm.script: line 1: 2539416 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,nullability -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability-no-arc.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/nullability-notes.m (975 of 18966) ******************** TEST 'Clang :: Analysis/nullability-notes.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-checker=nullability.NullablePassedToNonnull -analyzer-checker=nullability.NullableReturnedFromNonnull -analyzer-checker=nullability.NullableDereferenced -analyzer-checker=debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability-notes.m : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-checker=nullability.NullablePassedToNonnull -analyzer-checker=nullability.NullableReturnedFromNonnull -analyzer-checker=nullability.NullableDereferenced -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nullability-notes.m.tmp.plist /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability-notes.m : 'RUN: at line 16'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file #0 0x0000ffff83a9acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff83a99100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff83a9b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8ca18800 (linux-vdso.so.1+0x800) #4 0x0000ffff8bd129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8bd129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8bd129e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8bd129e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8bd129e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8bd129e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8bd129e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8bd129e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8b9c0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8b9c0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8b9c0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8b9c0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8b9c0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8b9c0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8b9c0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8b9c0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8b9d3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8b9d3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8b9d3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8b9d5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8b9d5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8b9d5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8b9d4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8b9d4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8b9d4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8b9e0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8b9e0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8b9e0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8b9ea414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8b9ea414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8b9ea414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8b94eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8b94eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8b94eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8b94eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8b94efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8b94efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8b94efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff8b922620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff8b922620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff8b922620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8b95ef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff8b95ef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff8b95ef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff8b97ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff8b97ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8b97ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff8bc46bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff8bc46bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff8bc46bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff8bc46bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff8bc46bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff8bc47b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff8bc47b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff8bc47b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff8bc4c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8bc4c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8bc4c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff8bc4c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff8bc4c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff8a0a2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff8a0a2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff8a0a2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff8a0a2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff8b767450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff8b71f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff8b71f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff8b71f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff8b7a551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaac34f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaac34f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaac34faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaac34f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff82cf098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff82cf0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaac34f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nullability-notes.m.script: line 3: 2539418 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-checker=nullability.NullablePassedToNonnull -analyzer-checker=nullability.NullableReturnedFromNonnull -analyzer-checker=nullability.NullableDereferenced -analyzer-checker=debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability-notes.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/nullability.mm (976 of 18966) ******************** TEST 'Clang :: Analysis/nullability.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability.mm -analyzer-checker=core -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-checker=nullability.NullablePassedToNonnull -analyzer-checker=nullability.NullableReturnedFromNonnull -analyzer-checker=nullability.NullableDereferenced -DNOSYSTEMHEADERS=0 : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability.mm -analyzer-checker=core -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-checker=nullability.NullablePassedToNonnull -analyzer-checker=nullability.NullableReturnedFromNonnull -analyzer-checker=nullability.NullableDereferenced -DNOSYSTEMHEADERS=1 -analyzer-config nullability:NoDiagnoseCallsToSystemHeaders=true : 'RUN: at line 18'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability.mm -analyzer-checker=core -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-checker=nullability.NullablePassedToNonnull -analyzer-checker=nullability.NullableReturnedFromNonnull -analyzer-checker=nullability.NullableDereferenced -DNOSYSTEMHEADERS=0 -fobjc-arc : 'RUN: at line 26'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability.mm -analyzer-checker=core -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-checker=nullability.NullablePassedToNonnull -analyzer-checker=nullability.NullableReturnedFromNonnull -analyzer-checker=nullability.NullableDereferenced -DNOSYSTEMHEADERS=1 -fobjc-arc -analyzer-config nullability:NoDiagnoseCallsToSystemHeaders=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability.mm -analyzer-checker=core -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-checker=nullability.NullablePassedToNonnull -analyzer-checker=nullability.NullableReturnedFromNonnull -analyzer-checker=nullability.NullableDereferenced -DNOSYSTEMHEADERS=0 1. parser at end of file #0 0x0000ffffa70aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa70a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa70ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb002f800 (linux-vdso.so.1+0x800) #4 0x0000ffffaf3229e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaf3229e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaf3229e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaf3229e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaf3229e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaf3229e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffaf3229e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffaf3229e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffaefd0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffaefd0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffaefd0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffaefd0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffaefd0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffaefd0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffaefd0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffaefd0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffaefe3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffaefe3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffaefe3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffaefe5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffaefe5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffaefe5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffaefe4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffaefe4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffaefe4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffaeff0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffaeff0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffaeff0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffaeffa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffaeffa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffaeffa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffaef5eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffaef5eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffaef5eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffaef5eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffaef5efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffaef5efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffaef5efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffaef32620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffaef32620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffaef32620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffaef6ef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffaef6ef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffaef6ef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffaef8ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffaef8ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffaef8ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffaf256bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffaf256bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffaf256bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffaf256bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffaf256bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffaf257b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffaf257b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffaf257b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffaf25c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffaf25c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffaf25c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffaf25c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffaf25c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffad6b2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffad6b2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffad6b2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffad6b2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffaed77450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffaed2f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffaed2f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffaed2f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffaedb551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaaaedc59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaaaedc94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaaaedcaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaaaedc1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffa630098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffa6300a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaaaedc20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nullability.mm.script: line 4: 2539430 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability.mm -analyzer-checker=core -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-checker=nullability.NullablePassedToNonnull -analyzer-checker=nullability.NullableReturnedFromNonnull -analyzer-checker=nullability.NullableDereferenced -DNOSYSTEMHEADERS=0 -- ******************** Testing: 0 FAIL: Clang :: Analysis/nullability_nullonly.mm (977 of 18966) ******************** TEST 'Clang :: Analysis/nullability_nullonly.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fobjc-arc -analyzer-checker=core,nullability.NullPassedToNonnull,nullability.NullReturnedFromNonnull -DNOSYSTEMHEADERS=0 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability_nullonly.mm : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fobjc-arc -analyzer-checker=core,nullability.NullPassedToNonnull,nullability.NullReturnedFromNonnull -analyzer-config nullability:NoDiagnoseCallsToSystemHeaders=true -DNOSYSTEMHEADERS=1 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability_nullonly.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fobjc-arc -analyzer-checker=core,nullability.NullPassedToNonnull,nullability.NullReturnedFromNonnull -DNOSYSTEMHEADERS=0 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability_nullonly.mm 1. parser at end of file 2. While analyzing stack: #0 Calling callMethodInSystemHeader() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability_nullonly.mm:165:23: Error evaluating statement #0 0x0000ffffb487acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb4879100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb487b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbd7f3800 (linux-vdso.so.1+0x800) #4 0x0000ffffbc738214 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffbc738214 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffbc738214 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffbc738214 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffbc738214 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffbc738214 clang::ento::ProgramStatePartialTrait>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffbc738214 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffbc738214 llvm::IntrusiveRefCntPtr clang::ento::removeDeadImpl<(anonymous namespace)::DynamicTypeMap>(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:166:15 #12 0x0000ffffbcae1c58 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffffbcae1c58 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffffbcae1c58 clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x0000ffffbcae1c58 (anonymous namespace)::DynamicTypePropagation::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp:232:0 #16 0x0000ffffbc72cbd4 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #17 0x0000ffffbc7473b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x0000ffffbc7473b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x0000ffffbc7473b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x0000ffffbc7473b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x0000ffffbc7473b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x0000ffffbc7473b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x0000ffffbc7473b8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #24 0x0000ffffbc75c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #25 0x0000ffffbc75c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #26 0x0000ffffbc75c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #27 0x0000ffffbc75c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #28 0x0000ffffbc75c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #29 0x0000ffffbc75c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #30 0x0000ffffbc75c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #31 0x0000ffffbc75c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #32 0x0000ffffbc75c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #33 0x0000ffffbc75c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #34 0x0000ffffbc75c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #35 0x0000ffffbc75cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffbc75cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffbc75cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffffbc75cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffffbc75cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffffbca26bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffffbca26bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffffbca26bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffffbca26bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffffbca26bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffffbca27b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffffbca27b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffffbca27b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffffbca2c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffffbca2c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffffbca2c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffffbca2c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffffbca2c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffffbae82058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffffbae82058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffffbae82058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffffbae82058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffffbc547450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffffbc4ff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffffbc4ff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffffbc4ff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffffbc58551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaabf1659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaabf1694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaabf16aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaabf161fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffffb3ad098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffffb3ad0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaabf1620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nullability_nullonly.mm.script: line 2: 2539443 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fobjc-arc -analyzer-checker=core,nullability.NullPassedToNonnull,nullability.NullReturnedFromNonnull -DNOSYSTEMHEADERS=0 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability_nullonly.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/nullptr.cpp (980 of 18966) ******************** TEST 'Clang :: Analysis/nullptr.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -Wno-conversion-null -analyzer-checker=core,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullptr.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -Wno-conversion-null -analyzer-checker=core,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullptr.cpp 1. parser at end of file #0 0x0000ffffa943acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa9439100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa943b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb23bc800 (linux-vdso.so.1+0x800) #4 0x0000ffffb16b29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb16b29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb16b29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb16b29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb16b29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb16b29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb16b29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb16b29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb1360048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb1360048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb1360048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb1360048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb1360f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb1360f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb1360f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb1360f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb1373b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb1373b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb1373b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb1375060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb1375060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb1375060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb1374530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb1374530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb1374530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb1380b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb1380b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb1380b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb138a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb138a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb138a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb12eeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb12eeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb12eeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb12eeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb12eefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb12eefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb12eefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb12c2620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffb12c2620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffb12c2620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffb12fef2c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffb12fef2c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffb12fef2c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffb131ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffb131ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffb131ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffb15e6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffb15e6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffb15e6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffb15e6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffb15e6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffb15e7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffb15e7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffb15e7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffb15ec130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb15ec130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb15ec130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffb15ec130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffb15ec130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffafa42058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffafa42058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffafa42058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffafa42058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffb1107450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffb10bf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffb10bf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffb10bf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffb114551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaae39559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaae39594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaae395aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaae3951fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffa869098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffa8690a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaae39520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nullptr.cpp.script: line 1: 2539451 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -Wno-conversion-null -analyzer-checker=core,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullptr.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/objc-arc.m (982 of 18966) ******************** TEST 'Clang :: Analysis/objc-arc.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.cocoa.RetainCount,deadcode -verify -fblocks -fobjc-arc -analyzer-output=plist-multi-file -analyzer-config deadcode.DeadStores:ShowFixIts=true -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-arc.m.tmp.plist /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-arc.m : 'RUN: at line 2'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling check_bridge_to_non_cf 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-arc.m:259:17: Error evaluating statement #0 0x0000ffff77a4acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff77a49100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff77a4b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff809c1800 (linux-vdso.so.1+0x800) #4 0x0000ffff7f908214 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff7f908214 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff7f908214 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff7f908214 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff7f908214 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff7f908214 clang::ento::ProgramStatePartialTrait>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff7f908214 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff7f908214 llvm::IntrusiveRefCntPtr clang::ento::removeDeadImpl<(anonymous namespace)::DynamicTypeMap>(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:166:15 #12 0x0000ffff7fcb1c58 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffff7fcb1c58 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffff7fcb1c58 clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x0000ffff7fcb1c58 (anonymous namespace)::DynamicTypePropagation::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp:232:0 #16 0x0000ffff7f8fcbd4 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #17 0x0000ffff7f9173b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x0000ffff7f9173b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x0000ffff7f9173b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x0000ffff7f9173b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x0000ffff7f9173b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x0000ffff7f9173b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x0000ffff7f9173b8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #24 0x0000ffff7f92c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #25 0x0000ffff7f92c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #26 0x0000ffff7f92c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #27 0x0000ffff7f92c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #28 0x0000ffff7f92c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #29 0x0000ffff7f92c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #30 0x0000ffff7f92c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #31 0x0000ffff7f92c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #32 0x0000ffff7f92c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #33 0x0000ffff7f92c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #34 0x0000ffff7f92c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #35 0x0000ffff7f92cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff7f92cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff7f92cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffff7f92cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffff7f92cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffff7fbf6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffff7fbf6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffff7fbf6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffff7fbf6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffff7fbf6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffff7fbf7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffff7fbf7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffff7fbf7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffff7fbfc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffff7fbfc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffff7fbfc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffff7fbfc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffff7fbfc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffff7e052058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffff7e052058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffff7e052058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffff7e052058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffff7f717450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffff7f6cf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffff7f6cf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffff7f6cf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffff7f75551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaabbfd59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaabbfd94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaabbfdaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaabbfd1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff76ca098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff76ca0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaabbfd20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-arc.m.script: line 2: 2539482 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.cocoa.RetainCount,deadcode -verify -fblocks -fobjc-arc -analyzer-output=plist-multi-file -analyzer-config deadcode.DeadStores:ShowFixIts=true -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-arc.m.tmp.plist /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-arc.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/objc-for.m (983 of 18966) ******************** TEST 'Clang :: Analysis/objc-for.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.Loops,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-for.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.Loops,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-for.m 1. parser at end of file 2. While analyzing stack: #0 Calling not_reachable_on_iteration_through_nil 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-for.m:350:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-for.m:350:3: Error evaluating statement #0 0x0000ffff76d9acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff76d99100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff76d9b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff7fd10800 (linux-vdso.so.1+0x800) #4 0x0000ffff7ed02bd4 llvm::ImutAVLTree, bool>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff7ed02bd4 llvm::IntrusiveRefCntPtrInfo, bool>>>::retain(llvm::ImutAVLTree, bool>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff7ed02bd4 llvm::IntrusiveRefCntPtr, bool>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff7ed02bd4 llvm::IntrusiveRefCntPtr, bool>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree, bool>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff7ed02bd4 llvm::ImmutableMap, bool, llvm::ImutKeyValueInfo, bool>>::ImmutableMap(llvm::ImutAVLTree, bool>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff7ed02bd4 clang::ento::ProgramStatePartialTrait, bool, llvm::ImutKeyValueInfo, bool>>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff7ed02bd4 get<(anonymous namespace)::ObjCForHasMoreIterations> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff7ed02bd4 clang::ento::ExprEngine::hasMoreIteration(llvm::IntrusiveRefCntPtr, clang::ObjCForCollectionStmt const*, clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2680:0 #12 0x0000ffff7ed02bd4 checkPostStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp:990:0 #13 0x0000ffff7ed02bd4 void clang::ento::check::PostStmt::_checkStmt<(anonymous namespace)::ObjCLoopChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:104:0 #14 0x0000ffff7ec374f8 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #15 0x0000ffff7ec374f8 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #16 0x0000ffff7ecadea0 clang::ento::ExprEngine::VisitObjCForCollectionStmt(clang::ObjCForCollectionStmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:145:0 #17 0x0000ffff7ec7bb38 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #18 0x0000ffff7ec7bb38 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2303:0 #19 0x0000ffff7ec7c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #20 0x0000ffff7ec7c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #21 0x0000ffff7ec7c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #22 0x0000ffff7ec7cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #23 0x0000ffff7ec7cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #24 0x0000ffff7ec7cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #25 0x0000ffff7ec7cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #26 0x0000ffff7ec7cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #27 0x0000ffff7ef46bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x0000ffff7ef46bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x0000ffff7ef46bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #30 0x0000ffff7ef46bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #31 0x0000ffff7ef46bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #32 0x0000ffff7ef47b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #33 0x0000ffff7ef47b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x0000ffff7ef47b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #35 0x0000ffff7ef4c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff7ef4c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff7ef4c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x0000ffff7ef4c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x0000ffff7ef4c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x0000ffff7d3a2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #41 0x0000ffff7d3a2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x0000ffff7d3a2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #43 0x0000ffff7d3a2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x0000ffff7ea67450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #45 0x0000ffff7ea1f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #46 0x0000ffff7ea1f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #47 0x0000ffff7ea1f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #48 0x0000ffff7eaa551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #49 0x0000aaaad1c759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x0000aaaad1c794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x0000aaaad1c7aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x0000aaaad1c71fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x0000ffff75ff098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #54 0x0000ffff75ff0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #55 0x0000aaaad1c720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-for.m.script: line 1: 2539492 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.Loops,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-for.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/objc-boxing.m (984 of 18966) ******************** TEST 'Clang :: Analysis/objc-boxing.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-objc-literal-conversion -analyzer-checker=core,unix.Malloc,osx.cocoa.NonNilReturnValue,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-boxing.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-objc-literal-conversion -analyzer-checker=core,unix.Malloc,osx.cocoa.NonNilReturnValue,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-boxing.m 1. parser at end of file 2. While analyzing stack: #0 Calling checkNonNil 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-boxing.m:84:25: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-boxing.m:84:25: Error evaluating statement #0 0x0000ffff8542acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff85429100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8542b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8e3a0800 (linux-vdso.so.1+0x800) #4 0x0000ffff8d6a29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8d6a29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8d6a29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8d6a29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8d6a29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8d6a29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8d6a29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8d6a29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8d350048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8d350048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8d350048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8d350048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8d350f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8d350f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8d350f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8d350f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8d363b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8d363b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8d363b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8d365060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8d365060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8d365060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8d364530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8d364530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8d364530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8d370b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8d370b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8d370b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8d37a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8d37a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8d37a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8d2deaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8d2deaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8d2deaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8d2deaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8d2defb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8d2defb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8d2defb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff8d789ef4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff8d789ef4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff8d789ef4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8d789ef4 (anonymous namespace)::ObjCNonNilReturnValueChecker::assumeExprIsNonNull(clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::ento::CheckerContext&) const (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp:1184:0 #46 0x0000ffff8d38cd3c llvm::IntrusiveRefCntPtr::operator bool() const /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:201:0 #47 0x0000ffff8d38cd3c clang::ento::CheckerContext::addTransition(llvm::IntrusiveRefCntPtr, clang::ProgramPointTag const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:171:0 #48 0x0000ffff8d38cd3c assumeExprIsNonNull /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp:1160:0 #49 0x0000ffff8d38cd3c checkPostStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp:1170:0 #50 0x0000ffff8d38cd3c void clang::ento::check::PostStmt::_checkStmt<(anonymous namespace)::ObjCNonNilReturnValueChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:104:0 #51 0x0000ffff8d2c74f8 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #52 0x0000ffff8d2c74f8 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #53 0x0000ffff8d30be9c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #54 0x0000ffff8d30be9c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2034:0 #55 0x0000ffff8d30c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #56 0x0000ffff8d30c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #57 0x0000ffff8d30c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #58 0x0000ffff8d30cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffff8d30cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffff8d30cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #61 0x0000ffff8d30cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #62 0x0000ffff8d30cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #63 0x0000ffff8d5d6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #64 0x0000ffff8d5d6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #65 0x0000ffff8d5d6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #66 0x0000ffff8d5d6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #67 0x0000ffff8d5d6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #68 0x0000ffff8d5d7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #69 0x0000ffff8d5d7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #70 0x0000ffff8d5d7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #71 0x0000ffff8d5dc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x0000ffff8d5dc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x0000ffff8d5dc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #74 0x0000ffff8d5dc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #75 0x0000ffff8d5dc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #76 0x0000ffff8ba32058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #77 0x0000ffff8ba32058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #78 0x0000ffff8ba32058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #79 0x0000ffff8ba32058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #80 0x0000ffff8d0f7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #81 0x0000ffff8d0af104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #82 0x0000ffff8d0af104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #83 0x0000ffff8d0af104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #84 0x0000ffff8d13551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #85 0x0000aaaac5ba59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #86 0x0000aaaac5ba94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #87 0x0000aaaac5baaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #88 0x0000aaaac5ba1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #89 0x0000ffff8468098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #90 0x0000ffff84680a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #91 0x0000aaaac5ba20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-boxing.m.script: line 1: 2539486 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-objc-literal-conversion -analyzer-checker=core,unix.Malloc,osx.cocoa.NonNilReturnValue,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-boxing.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/objc-live-crash.mm (985 of 18966) ******************** TEST 'Clang :: Analysis/objc-live-crash.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang --analyze /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-live-crash.mm -fblocks -- Exit Code: 1 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang --analyze /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-live-crash.mm -fblocks 1. parser at end of file 2. While analyzing stack: #0 Calling foo(Collection *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-live-crash.mm:24:8: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-live-crash.mm:24:8: Error evaluating statement #0 0x0000ffff80f2acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff80f29100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff80e8c8cc (/usr/lib64/libLLVM-17.so+0x91c8cc) #3 0x0000ffff89eab800 (linux-vdso.so.1+0x800) #4 0x0000ffff88df7804 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff88df7804 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff88df7804 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff88df7804 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff88df7804 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff88df7804 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff88df7804 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff88df7804 clang::ento::ExprEngine::getObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:607:55 #12 0x0000ffff88dc03fc std::_Optional_base_impl>::_M_is_engaged() const /usr/include/c++/12/optional:471:0 #13 0x0000ffff88dc03fc std::optional::has_value() const /usr/include/c++/12/optional:988:0 #14 0x0000ffff88dc03fc clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:431:0 #15 0x0000ffff88dc03fc addParameterValuesToBindings(clang::StackFrameContext const*, llvm::SmallVectorImpl>&, clang::ento::SValBuilder&, clang::ento::CallEvent const&, llvm::ArrayRef) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:478:0 #16 0x0000ffff88dc13fc clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x0000ffff88dc13fc clang::ento::AnyCXXConstructorCall::getInitialStackFrameContents(clang::StackFrameContext const*, llvm::SmallVectorImpl>&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:915:0 #18 0x0000ffff88e82050 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #19 0x0000ffff88e82050 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #20 0x0000ffff88e3d2d8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #21 0x0000ffff88e3d2d8 clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #22 0x0000ffff88e3d488 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #23 0x0000ffff88e3d488 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffff88e3d488 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #25 0x0000ffff88e3ff20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x0000ffff88e3ff20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x0000ffff88e3ff20 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #28 0x0000ffff88e4094c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #29 0x0000ffff88e4094c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffff88e4094c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff88e4094c clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #32 0x0000ffff88dc9458 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #33 0x0000ffff88e053f8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #34 0x0000ffff88e053f8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #35 0x0000ffff88e053f8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #36 0x0000ffff88e053f8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #37 0x0000ffff88e053f8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #38 0x0000ffff88e053f8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #39 0x0000ffff88e053f8 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #40 0x0000ffff88e0b22c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #41 0x0000ffff88e0b22c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #42 0x0000ffff88e0c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #43 0x0000ffff88e0c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #44 0x0000ffff88e0c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #45 0x0000ffff88e0cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffff88e0cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffff88e0cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #48 0x0000ffff88e0cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #49 0x0000ffff88e0cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #50 0x0000ffff890d6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffff890d6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff890d6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #53 0x0000ffff890d6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #54 0x0000ffff890d6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #55 0x0000ffff890d7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #56 0x0000ffff890d7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x0000ffff890d7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #58 0x0000ffff890dc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffff890dc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffff890dc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x0000ffff890dc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x0000ffff890dc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x0000ffff87532058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #64 0x0000ffff87532058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x0000ffff87532058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #66 0x0000ffff87532058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x0000ffff88bf7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #68 0x0000ffff88baf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #69 0x0000ffff88baf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #70 0x0000ffff88baf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #71 0x0000ffff88c3551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #72 0x0000aaaac4e359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #73 0x0000aaaac4e394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #74 0x0000ffff8893f944 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Job.cpp:440:32 #75 0x0000ffff8893f944 void llvm::function_ref::callback_fn>, std::__cxx11::basic_string, std::allocator>*, bool*) const::'lambda'()>(long) /usr/include/llvm/ADT/STLFunctionalExtras.h:45:52 #76 0x0000ffff80e8c67c llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib64/libLLVM-17.so+0x91c67c) #77 0x0000ffff889481f8 clang::driver::CC1Command::Execute(llvm::ArrayRef>, std::__cxx11::basic_string, std::allocator>*, bool*) const (.part.0) /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Job.cpp:440:3 #78 0x0000ffff88952778 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Compilation.cpp:199:22 #79 0x0000ffff88952a40 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Compilation.cpp:253:5 #80 0x0000ffff8895d0c8 llvm::SmallVectorBase::empty() const /usr/include/llvm/ADT/SmallVector.h:94:0 #81 0x0000ffff8895d0c8 clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Driver.cpp:1906:0 #82 0x0000aaaac4e3b3e4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:542:39 #83 0x0000aaaac4e31fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8018098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff80180a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac4e320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) clang: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 17.0.6 (OpenCloudOS 17.0.6-3.ocs23) Target: aarch64-opencloudos-linux-gnu Thread model: posix InstalledDir: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin clang: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang: note: diagnostic msg: /tmp/lit-tmp-2wvmmkz8/objc-live-crash-83c2b9.mm clang: note: diagnostic msg: /tmp/lit-tmp-2wvmmkz8/objc-live-crash-83c2b9.sh clang: note: diagnostic msg: ******************** -- ******************** Testing: 0 FAIL: Clang :: Analysis/objc-indirect-copy-restore.m (987 of 18966) ******************** TEST 'Clang :: Analysis/objc-indirect-copy-restore.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fobjc-arc -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-indirect-copy-restore.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fobjc-arc -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-indirect-copy-restore.m 1. parser at end of file 2. While analyzing stack: #0 Calling +[SomeClass doSomethingWithError:] at line 57 #1 Calling testAutoreleasingOutParam 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-indirect-copy-restore.m:35:22: Error evaluating statement #0 0x0000ffffa2fbacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa2fb9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa2fbb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffabf3f800 (linux-vdso.so.1+0x800) #4 0x0000ffffaae78214 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffaae78214 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffaae78214 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffaae78214 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffaae78214 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffaae78214 clang::ento::ProgramStatePartialTrait>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffaae78214 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffaae78214 llvm::IntrusiveRefCntPtr clang::ento::removeDeadImpl<(anonymous namespace)::DynamicTypeMap>(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:166:15 #12 0x0000ffffab221c58 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffffab221c58 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffffab221c58 clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x0000ffffab221c58 (anonymous namespace)::DynamicTypePropagation::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp:232:0 #16 0x0000ffffaae6cbd4 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #17 0x0000ffffaae873b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x0000ffffaae873b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x0000ffffaae873b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x0000ffffaae873b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x0000ffffaae873b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x0000ffffaae873b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x0000ffffaae873b8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #24 0x0000ffffaae9c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #25 0x0000ffffaae9c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #26 0x0000ffffaae9c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #27 0x0000ffffaae9c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #28 0x0000ffffaae9c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #29 0x0000ffffaae9c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #30 0x0000ffffaae9c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #31 0x0000ffffaae9c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #32 0x0000ffffaae9c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #33 0x0000ffffaae9c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #34 0x0000ffffaae9c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #35 0x0000ffffaae9cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffaae9cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffaae9cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffffaae9cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffffaae9cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffffab166bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffffab166bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffffab166bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffffab166bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffffab166bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffffab167b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffffab167b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffffab167b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffffab16c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffffab16c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffffab16c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffffab16c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffffab16c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffffa95c2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffffa95c2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffffa95c2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffffa95c2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffffaac87450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffffaac3f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffffaac3f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffffaac3f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffffaacc551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaadb2b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaadb2b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaadb2baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaadb2b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffffa221098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffffa2210a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaadb2b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-indirect-copy-restore.m.script: line 1: 2539507 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fobjc-arc -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-indirect-copy-restore.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/objc-message.m (989 of 18966) ******************** TEST 'Clang :: Analysis/objc-message.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-message.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-message.m 1. parser at end of file 2. While analyzing stack: #0 Calling nilReceiverIsStillNilAfterMessage 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-message.m:32:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-message.m:32:7: Error evaluating statement #0 0x0000ffff92a5acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff92a59100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff92a5b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9b9d8800 (linux-vdso.so.1+0x800) #4 0x0000ffff9acd29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9acd29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9acd29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9acd29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9acd29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9acd29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9acd29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9acd29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9a980048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9a980048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9a980048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9a980048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9a980f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9a980f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9a980f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9a980f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9a993b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9a993b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9a993b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9a995060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9a995060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9a995060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9a994530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9a994530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9a994530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9a9a0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9a9a0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9a9a0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9a9aa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9a9aa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9a9aa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9a90ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9a90ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9a90ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9a90ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff9adfc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9adfc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9adfc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9a921ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff9a921ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff9a921ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff9a93c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff9a93c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff9a93c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff9a93c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff9a93c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff9a93c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffff9a93c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffff9a93c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffff9a93cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9a93cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9a93cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9a93cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9a93cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff9ac06bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9ac06bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9ac06bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9ac06bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9ac06bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff9ac07b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff9ac07b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff9ac07b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9ac0c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9ac0c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9ac0c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9ac0c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9ac0c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff99062058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff99062058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff99062058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff99062058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff9a727450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9a6df104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9a6df104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9a6df104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9a76551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad2d159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad2d194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad2d1aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad2d11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff91cb098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff91cb0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad2d120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-message.m.script: line 1: 2539516 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-message.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/objc-radar17039661.m (991 of 18966) ******************** TEST 'Clang :: Analysis/objc-radar17039661.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-radar17039661.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -fblocks -analyzer-output=plist-multi-file /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-radar17039661.m -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-radar17039661.m.tmp : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling anonymous code at line 24 Invoking block defined at line 30 #1 Calling reallyPerformAction at line 30 #2 Calling performAction at line 50 #3 Calling runTest 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-radar17039661.m:32:9: Error evaluating branch #0 0x0000ffff87d3acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff87d39100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff87d3b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff90cb7800 (linux-vdso.so.1+0x800) #4 0x0000ffff8ffb29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8ffb29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8ffb29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8ffb29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8ffb29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8ffb29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8ffb29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8ffb29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8fc60048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8fc60048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8fc60048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8fc60048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8fc60f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8fc60f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8fc60f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8fc60f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8fc74cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8fc74cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8fc74cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff8fc74f90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8fc74f90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8fc74f90 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff8fc74530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8fc74530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8fc74530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8fc80b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8fc80b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8fc80b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8fc8a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8fc8a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8fc8a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8fbeeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8fbeeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8fbeeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8fbeeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff900dc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff900dc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff900dc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8fc04c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff8fc04c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff8fc04c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff8fc04c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff8fc04c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff8fc04c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff8fc04c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff8fc04c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff8fc04c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff8fc04c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff8fc05200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff8fc1cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8fc1cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8fc1cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8fc1cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8fc1cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff8fee6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8fee6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8fee6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8fee6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8fee6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff8fee7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff8fee7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff8fee7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8feec130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8feec130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8feec130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8feec130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8feec130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff8e342058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff8e342058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff8e342058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff8e342058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff8fa07450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8f9bf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8f9bf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8f9bf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8fa4551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad5d759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad5d794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad5d7aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad5d71fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff86f9098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff86f90a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad5d720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-radar17039661.m.script: line 3: 2539534 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-radar17039661.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/objc-subscript.m (992 of 18966) ******************** TEST 'Clang :: Analysis/objc-subscript.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-subscript.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-subscript.m 1. parser at end of file #0 0x0000ffffa38bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa38b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa38bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffac832800 (linux-vdso.so.1+0x800) #4 0x0000ffffabb329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffabb329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffabb329e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffabb329e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffabb329e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffabb329e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffabb329e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffabb329e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffab7e0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffab7e0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffab7e0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffab7e0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffab7e0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffab7e0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffab7e0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffab7e0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffab7f3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffab7f3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffab7f3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffab7f5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffab7f5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffab7f5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffab7f4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffab7f4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffab7f4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffab800b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffab800b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffab800b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffab80a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffab80a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffab80a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffab76eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffab76eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffab76eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffab76eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffab76efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffab76efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffab76efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffab742620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffab742620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffab742620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffab77ef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffab77ef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffab77ef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffab79ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffab79ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffab79ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffaba66bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffaba66bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffaba66bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffaba66bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffaba66bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffaba67b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffaba67b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffaba67b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffaba6c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffaba6c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffaba6c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffaba6c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffaba6c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa9ec2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffa9ec2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa9ec2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffa9ec2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffab587450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffab53f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffab53f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffab53f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffab5c551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaae01e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaae01e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaae01eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaae01e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffa2b1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffa2b10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaae01e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-subscript.m.script: line 1: 2539540 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-subscript.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/objc/direct-ivar-assignment-in-annotated-functions.m (993 of 18966) ******************** TEST 'Clang :: Analysis/objc/direct-ivar-assignment-in-annotated-functions.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc/direct-ivar-assignment-in-annotated-functions.m -analyzer-checker=core -analyzer-checker=alpha.osx.cocoa.DirectIvarAssignment -analyzer-config alpha.osx.cocoa.DirectIvarAssignment:AnnotatedFunctions=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc/direct-ivar-assignment-in-annotated-functions.m -analyzer-checker=core -analyzer-checker=alpha.osx.cocoa.DirectIvarAssignment -analyzer-config alpha.osx.cocoa.DirectIvarAssignment:AnnotatedFunctions=true 1. parser at end of file #0 0x0000ffff9874acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff98749100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9874b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa16ce800 (linux-vdso.so.1+0x800) #4 0x0000ffffa09c29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa09c29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa09c29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa09c29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa09c29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa09c29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa09c29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa09c29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa0670048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa0670048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa0670048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa0670048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa0670f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa0670f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa0670f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa0670f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa0683b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa0683b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa0683b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa0685060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa0685060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa0685060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa0684530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa0684530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa0684530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa0690b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa0690b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa0690b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa069a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa069a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa069a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa05feaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa05feaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa05feaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa05feaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa05fefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa05fefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa05fefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa05d2620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa05d2620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa05d2620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa060ef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa060ef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa060ef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffa062ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa062ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa062ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa08f6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa08f6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa08f6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa08f6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa08f6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa08f7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffa08f7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa08f7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa08fc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa08fc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa08fc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa08fc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa08fc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff9ed52058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff9ed52058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff9ed52058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff9ed52058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa0417450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa03cf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa03cf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa03cf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa045551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaad6dc59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaad6dc94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaad6dcaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaad6dc1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff979a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff979a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaad6dc20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/objc/Output/direct-ivar-assignment-in-annotated-functions.m.script: line 1: 2539556 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc/direct-ivar-assignment-in-annotated-functions.m -analyzer-checker=core -analyzer-checker=alpha.osx.cocoa.DirectIvarAssignment -analyzer-config alpha.osx.cocoa.DirectIvarAssignment:AnnotatedFunctions=true -- ******************** Testing: 0 FAIL: Clang :: Analysis/objcpp-uninitialized-object.mm (994 of 18966) ******************** TEST 'Clang :: Analysis/objcpp-uninitialized-object.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -std=c++11 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objcpp-uninitialized-object.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -std=c++11 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objcpp-uninitialized-object.mm 1. parser at end of file 2. While analyzing stack: #0 Calling StructWithId::StructWithId() at line 31 #1 Calling warnOnUninitializedId() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objcpp-uninitialized-object.mm:27:22: Error evaluating statement #0 0x0000ffff9755acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff97559100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9755b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa04d3800 (linux-vdso.so.1+0x800) #4 0x0000ffff9f427188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff9f427188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9f427188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9f427188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9f427188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9f427188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9f427188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9f427188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff9f43c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff9f43c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff9f43c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff9f43c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff9f43c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff9f43c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff9f43c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff9f43c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff9f43c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffff9f43c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #22 0x0000ffff9f43c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffff9f43c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffff9f43cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff9f43cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff9f43cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff9f43cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff9f43cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #29 0x0000ffff9f706bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff9f706bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff9f706bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff9f706bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff9f706bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff9f707b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #35 0x0000ffff9f707b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff9f707b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff9f70c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff9f70c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff9f70c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff9f70c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff9f70c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff9db62058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #43 0x0000ffff9db62058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff9db62058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #45 0x0000ffff9db62058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff9f227450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff9f1df104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff9f1df104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff9f1df104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff9f26551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaabdfb59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaabdfb94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaabdfbaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaabdfb1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff967b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff967b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaabdfb20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objcpp-uninitialized-object.mm.script: line 1: 2539564 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -std=c++11 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objcpp-uninitialized-object.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/objc_invalidation.m (995 of 18966) ******************** TEST 'Clang :: Analysis/objc_invalidation.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.osx.cocoa.InstanceVariableInvalidation -DRUN_IVAR_INVALIDATION -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc_invalidation.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.osx.cocoa.MissingInvalidationMethod -DRUN_MISSING_INVALIDATION_METHOD -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc_invalidation.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.osx.cocoa.InstanceVariableInvalidation -DRUN_IVAR_INVALIDATION -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc_invalidation.m 1. parser at end of file #0 0x0000ffff9bb5acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9bb59100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9bb5b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa4ad5800 (linux-vdso.so.1+0x800) #4 0x0000ffffa3dd29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa3dd29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa3dd29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa3dd29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa3dd29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa3dd29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa3dd29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa3dd29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa3a80048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa3a80048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa3a80048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa3a80048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa3a80f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa3a80f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa3a80f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa3a80f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa3a93b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa3a93b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa3a93b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa3a95060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa3a95060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa3a95060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa3a94530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa3a94530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa3a94530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa3aa0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa3aa0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa3aa0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa3aaa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa3aaa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa3aaa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa3a0eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa3a0eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa3a0eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa3a0eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa3a0efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa3a0efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa3a0efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa39e2620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa39e2620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa39e2620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa3a1ef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa3a1ef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa3a1ef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffa3a3ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa3a3ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa3a3ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa3d06bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa3d06bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa3d06bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa3d06bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa3d06bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa3d07b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffa3d07b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa3d07b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa3d0c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa3d0c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa3d0c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa3d0c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa3d0c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa2162058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffa2162058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa2162058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffa2162058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa3827450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa37df104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa37df104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa37df104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa386551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaad17259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaad17294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaad172aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaad1721fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff9adb098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff9adb0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaad17220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc_invalidation.m.script: line 2: 2539560 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.osx.cocoa.InstanceVariableInvalidation -DRUN_IVAR_INVALIDATION -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc_invalidation.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/operator-calls.cpp (1001 of 18966) ******************** TEST 'Clang :: Analysis/operator-calls.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,alpha.core,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/operator-calls.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,alpha.core,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/operator-calls.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling SynthesizedAssignment::B::B() at line 152 #1 Calling SynthesizedAssignment::testConsistencyMove() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/operator-calls.cpp:107:10: Error evaluating statement #0 0x0000ffff9122acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff91229100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9122b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9a1a9800 (linux-vdso.so.1+0x800) #4 0x0000ffff990f7188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff990f7188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff990f7188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff990f7188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff990f7188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff990f7188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff990f7188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff990f7188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff9910c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff9910c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff9910c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff9910c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff9910c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff9910c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff9910c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff9910c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff9910c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffff9910c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #22 0x0000ffff9910c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffff9910c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffff9910cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff9910cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff9910cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff9910cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff9910cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #29 0x0000ffff993d6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff993d6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff993d6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff993d6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff993d6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff993d7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #35 0x0000ffff993d7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff993d7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff993dc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff993dc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff993dc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff993dc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff993dc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff97832058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #43 0x0000ffff97832058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff97832058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #45 0x0000ffff97832058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff98ef7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff98eaf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff98eaf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff98eaf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff98f3551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaaac5659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaaac5694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaaac56aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaaac561fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff9048098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff90480a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaaac5620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/operator-calls.cpp.script: line 1: 2539587 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,alpha.core,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/operator-calls.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/osobject-retain-release.cpp (1002 of 18966) ******************** TEST 'Clang :: Analysis/osobject-retain-release.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -fblocks -analyze -analyzer-output=text -analyzer-checker=core,osx,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/osobject-retain-release.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -fblocks -analyze -analyzer-output=text -analyzer-checker=core,osx,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/osobject-retain-release.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling weird_result::testOutParamWithWeirdResult() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/osobject-retain-release.cpp:804:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/osobject-retain-release.cpp:804:10: Error evaluating statement #0 0x0000ffff8976acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff89769100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8976b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff926e1800 (linux-vdso.so.1+0x800) #4 0x0000ffff9163da74 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff9163da74 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9163da74 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9163da74 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9163da74 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9163da74 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9163da74 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9163da74 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffff9163de64 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #13 0x0000ffff9163de64 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffff9163de64 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff9163de64 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffff9163de64 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffff9163e5fc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #18 0x0000ffff9163e5fc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #19 0x0000ffff9163e5fc clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:472:0 #20 0x0000ffff9167f86c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #21 0x0000ffff9167f86c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #22 0x0000ffff9167f86c clang::ento::ExprEngine::handleConstructionContext(clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::ento::NodeBuilderContext const*, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions&, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:753:0 #23 0x0000ffff9167f86c clang::ento::ExprEngine::bindReturnValue(clang::ento::CallEvent const&, clang::LocationContext const*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:773:0 #24 0x0000ffff9167fd08 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #25 0x0000ffff9167fd08 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #26 0x0000ffff9167fd08 clang::ento::ExprEngine::conservativeEvalCall(clang::ento::CallEvent const&, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:834:0 #27 0x0000ffff916806c4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #28 0x0000ffff916806c4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #29 0x0000ffff916806c4 clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1266:0 #30 0x0000ffff91609458 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #31 0x0000ffff91668bec llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #32 0x0000ffff91668bec llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #33 0x0000ffff91668bec clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #34 0x0000ffff91668bec clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #35 0x0000ffff91669514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #36 0x0000ffff9164b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #37 0x0000ffff9164b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #38 0x0000ffff9164c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #39 0x0000ffff9164c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #40 0x0000ffff9164c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #41 0x0000ffff9164cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x0000ffff9164cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x0000ffff9164cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #44 0x0000ffff9164cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #45 0x0000ffff9164cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #46 0x0000ffff91916bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #47 0x0000ffff91916bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #48 0x0000ffff91916bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #49 0x0000ffff91916bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #50 0x0000ffff91916bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #51 0x0000ffff91917b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #52 0x0000ffff91917b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #53 0x0000ffff91917b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #54 0x0000ffff9191c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffff9191c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffff9191c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #57 0x0000ffff9191c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #58 0x0000ffff9191c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #59 0x0000ffff8fd72058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #60 0x0000ffff8fd72058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #61 0x0000ffff8fd72058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #62 0x0000ffff8fd72058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #63 0x0000ffff91437450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #64 0x0000ffff913ef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #65 0x0000ffff913ef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #66 0x0000ffff913ef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #67 0x0000ffff9147551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #68 0x0000aaaad37259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #69 0x0000aaaad37294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #70 0x0000aaaad372aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #71 0x0000aaaad3721fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #72 0x0000ffff889c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #73 0x0000ffff889c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #74 0x0000aaaad37220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/osobject-retain-release.cpp.script: line 1: 2539595 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -fblocks -analyze -analyzer-output=text -analyzer-checker=core,osx,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/osobject-retain-release.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/out-of-bounds-new.cpp (1003 of 18966) ******************** TEST 'Clang :: Analysis/out-of-bounds-new.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -Wno-array-bounds -analyzer-checker=unix,core,alpha.security.ArrayBoundV2 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/out-of-bounds-new.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -Wno-array-bounds -analyzer-checker=unix,core,alpha.security.ArrayBoundV2 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/out-of-bounds-new.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_dynamic_size2(unsigned int, unsigned int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/out-of-bounds-new.cpp:155:7: Error evaluating New Allocator Call #0 0x0000ffff9b8aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9b8a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9b8ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa4820800 (linux-vdso.so.1+0x800) #4 0x0000ffffa3b229e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa3b229e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa3b229e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa3b229e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa3b229e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa3b229e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa3b229e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa3b229e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa37d0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa37d0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa37d0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa37d0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa37d0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa37d0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa37d0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa37d0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa37e3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa37e3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa37e3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa37e5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa37e5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa37e5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa37e4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa37e4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa37e4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa37f0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa37f0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa37f0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa37fa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa37fa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa37fa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa375eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa375eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa375eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa375eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa375efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa375efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa375efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa3788f68 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffa3788f68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffa3788f68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffa3788f68 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffa3788f68 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffa378937c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffa378937c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffa378937c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffa378937c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffa378937c clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffffa378c5fc clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffffa378c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #54 0x0000ffffa378cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffffa378cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffffa378cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffffa378cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffffa378cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #59 0x0000ffffa3a56bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffffa3a56bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffffa3a56bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffffa3a56bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffffa3a56bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffffa3a57b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #65 0x0000ffffa3a57b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffffa3a57b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffffa3a5c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffffa3a5c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffffa3a5c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffffa3a5c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffffa3a5c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffffa1eb2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #73 0x0000ffffa1eb2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffffa1eb2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #75 0x0000ffffa1eb2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffffa3577450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffffa352f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffffa352f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffffa352f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffffa35b551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaacb5c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaacb5c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaacb5caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaacb5c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffff9ab0098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffff9ab00a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaacb5c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/out-of-bounds-new.cpp.script: line 1: 2539598 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -Wno-array-bounds -analyzer-checker=unix,core,alpha.security.ArrayBoundV2 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/out-of-bounds-new.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/out-of-bounds.c (1006 of 18966) ******************** TEST 'Clang :: Analysis/out-of-bounds.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-array-bounds -analyzer-checker=core,alpha.security.ArrayBoundV2,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/out-of-bounds.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-array-bounds -analyzer-checker=core,alpha.security.ArrayBoundV2,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/out-of-bounds.c 1. parser at end of file 2. While analyzing stack: #0 Calling test_assume_after_access2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/out-of-bounds.c:173:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/out-of-bounds.c:173:3: Error evaluating statement #0 0x0000ffff9378acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff93789100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9378b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9c70d800 (linux-vdso.so.1+0x800) #4 0x0000ffff9b689cd0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff9b689cd0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9b689cd0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9b689cd0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9b689cd0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9b689cd0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9b689cd0 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffff9b689cd0 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffff9b689cd0 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x0000ffff9b689dac (anonymous namespace)::RangeConstraintManager::getSymVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2862:36 #14 0x0000ffff9b6d0f48 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier::VisitSymbolData(clang::ento::SymbolData const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1259:54 #15 0x0000ffff9bae9dd4 VisitNonLocSymbolVal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1365:0 #16 0x0000ffff9bae9dd4 Visit /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def:67:0 #17 0x0000ffff9bae9dd4 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1371:0 #18 0x0000ffff9b6c4824 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #19 0x0000ffff9b6c4824 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #20 0x0000ffff9b6db6a8 (anonymous namespace)::SimpleSValBuilder::evalBinOpNN(llvm::IntrusiveRefCntPtr, clang::BinaryOperatorKind, clang::ento::NonLoc, clang::ento::NonLoc, clang::QualType) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:416:0 #21 0x0000ffff9b6d8ce0 compareValueToThreshold(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, clang::ento::NonLoc, clang::ento::SValBuilder&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ArrayBoundCheckerV2.cpp:135:0 #22 0x0000ffff9ba003a0 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #23 0x0000ffff9ba003a0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #24 0x0000ffff9ba003a0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff9ba003a0 (anonymous namespace)::ArrayBoundCheckerV2::checkLocation(clang::ento::SVal, bool, clang::Stmt const*, clang::ento::CheckerContext&) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ArrayBoundCheckerV2.cpp:201:0 #26 0x0000ffff9b628e38 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #27 0x0000ffff9b651640 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #28 0x0000ffff9b651640 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #29 0x0000ffff9b656c38 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #30 0x0000ffff9b656c38 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #31 0x0000ffff9b656c38 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff9b656c38 clang::ento::ExprEngine::evalStore(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ento::SVal, clang::ProgramPointTag const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3628:15 #33 0x0000ffff9b65fc04 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x0000ffff9b65fc04 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x0000ffff9b65fc04 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:74:0 #36 0x0000ffff9b66bfa8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #37 0x0000ffff9b66c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #38 0x0000ffff9b66c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #39 0x0000ffff9b66c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #40 0x0000ffff9b66cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #41 0x0000ffff9b66cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #42 0x0000ffff9b66cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #43 0x0000ffff9b66cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #44 0x0000ffff9b66cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #45 0x0000ffff9b936bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #46 0x0000ffff9b936bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x0000ffff9b936bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #48 0x0000ffff9b936bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #49 0x0000ffff9b936bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #50 0x0000ffff9b937b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #51 0x0000ffff9b937b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #52 0x0000ffff9b937b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #53 0x0000ffff9b93c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9b93c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9b93c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #56 0x0000ffff9b93c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #57 0x0000ffff9b93c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #58 0x0000ffff99d92058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #59 0x0000ffff99d92058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #60 0x0000ffff99d92058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #61 0x0000ffff99d92058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #62 0x0000ffff9b457450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #63 0x0000ffff9b40f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #64 0x0000ffff9b40f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #65 0x0000ffff9b40f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #66 0x0000ffff9b49551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #67 0x0000aaaab7d159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #68 0x0000aaaab7d194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #69 0x0000aaaab7d1aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #70 0x0000aaaab7d11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #71 0x0000ffff929e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #72 0x0000ffff929e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #73 0x0000aaaab7d120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/out-of-bounds.c.script: line 1: 2539610 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-array-bounds -analyzer-checker=core,alpha.security.ArrayBoundV2,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/out-of-bounds.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/outofbound.c (1007 of 18966) ******************** TEST 'Clang :: Analysis/outofbound.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-array-bounds -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/outofbound.c -analyzer-checker=core -analyzer-checker=unix -analyzer-checker=alpha.security.ArrayBound -analyzer-config unix.DynamicMemoryModeling:Optimistic=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-array-bounds -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/outofbound.c -analyzer-checker=core -analyzer-checker=unix -analyzer-checker=alpha.security.ArrayBound -analyzer-config unix.DynamicMemoryModeling:Optimistic=true 1. parser at end of file 2. While analyzing stack: #0 Calling symbolic_index2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/outofbound.c:91:10: Error evaluating statement #0 0x0000ffff7c19acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7c199100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7c19b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff85119800 (linux-vdso.so.1+0x800) #4 0x0000ffff840bc134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff840bc134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff840bc134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff840bc134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff840bc134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff840bc134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff8406748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff8406748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff8406748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff8407c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff8407c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff8407c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff8407c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff8407c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff8407c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff8407c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff8407c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff8407c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff8407c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #23 0x0000ffff8407c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff8407c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff8407cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff8407cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff8407cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff8407cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff8407cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #30 0x0000ffff84346bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff84346bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff84346bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff84346bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff84346bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff84347b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #36 0x0000ffff84347b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff84347b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff8434c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff8434c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff8434c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff8434c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff8434c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff827a2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #44 0x0000ffff827a2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff827a2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #46 0x0000ffff827a2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff83e67450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff83e1f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff83e1f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff83e1f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff83ea551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaab40059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaab40094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaab400aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaab4001fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff7b3f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff7b3f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaab40020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/outofbound.c.script: line 1: 2539631 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-array-bounds -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/outofbound.c -analyzer-checker=core -analyzer-checker=unix -analyzer-checker=alpha.security.ArrayBound -analyzer-config unix.DynamicMemoryModeling:Optimistic=true -- ******************** Testing: 0 FAIL: Clang :: Analysis/override-werror.c (1010 of 18966) ******************** TEST 'Clang :: Analysis/override-werror.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -Werror /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/override-werror.c -verify : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -Werror /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/override-werror.c -analyzer-werror -verify=werror -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -Werror /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/override-werror.c -verify 1. parser at end of file 2. While analyzing stack: #0 Calling g 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/override-werror.c:14:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/override-werror.c:14:7: Error evaluating statement #0 0x0000ffff7cc2acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7cc29100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7cc2b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff85bab800 (linux-vdso.so.1+0x800) #4 0x0000ffff84ea29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff84ea29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff84ea29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff84ea29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff84ea29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff84ea29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff84ea29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff84ea29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff84b50048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff84b50048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff84b50048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff84b50048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff84b50f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff84b50f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff84b50f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff84b50f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff84b63b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff84b63b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff84b63b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff84b65060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff84b65060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff84b65060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff84b64530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff84b64530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff84b64530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff84b70b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff84b70b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff84b70b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff84b7a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff84b7a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff84b7a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff84adea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff84adea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff84adea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff84adea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff84fcc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff84fcc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff84fcc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff84af1ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff84af1ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff84af1ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff84b0c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff84b0c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff84b0c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff84b0c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff84b0c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff84b0c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffff84b0c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffff84b0c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffff84b0cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff84b0cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff84b0cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff84b0cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff84b0cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff84dd6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff84dd6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff84dd6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff84dd6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff84dd6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff84dd7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff84dd7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff84dd7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff84ddc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff84ddc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff84ddc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff84ddc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff84ddc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff83232058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff83232058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff83232058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff83232058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff848f7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff848af104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff848af104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff848af104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8493551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaaba059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaaba094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaaba0aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaaba01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7be8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7be80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaaba020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/override-werror.c.script: line 2: 2539636 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -Werror /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/override-werror.c -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/path-notes-impl-param.m (1012 of 18966) ******************** TEST 'Clang :: Analysis/path-notes-impl-param.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/path-notes-impl-param.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/path-notes-impl-param.m 1. parser at end of file 2. While analyzing stack: #0 Calling baz 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/path-notes-impl-param.m:23:3: Error evaluating statement #0 0x0000ffffa1faacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa1fa9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa1fab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaaf24800 (linux-vdso.so.1+0x800) #4 0x0000ffffa9e68214 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa9e68214 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa9e68214 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa9e68214 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa9e68214 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa9e68214 clang::ento::ProgramStatePartialTrait>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa9e68214 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa9e68214 llvm::IntrusiveRefCntPtr clang::ento::removeDeadImpl<(anonymous namespace)::DynamicTypeMap>(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:166:15 #12 0x0000ffffaa211c58 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffffaa211c58 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffffaa211c58 clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x0000ffffaa211c58 (anonymous namespace)::DynamicTypePropagation::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp:232:0 #16 0x0000ffffa9e5cbd4 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #17 0x0000ffffa9e773b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x0000ffffa9e773b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x0000ffffa9e773b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x0000ffffa9e773b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x0000ffffa9e773b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x0000ffffa9e773b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x0000ffffa9e773b8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #24 0x0000ffffa9e8c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #25 0x0000ffffa9e8c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #26 0x0000ffffa9e8c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #27 0x0000ffffa9e8c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #28 0x0000ffffa9e8c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #29 0x0000ffffa9e8c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #30 0x0000ffffa9e8c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #31 0x0000ffffa9e8c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #32 0x0000ffffa9e8c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #33 0x0000ffffa9e8c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #34 0x0000ffffa9e8c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #35 0x0000ffffa9e8cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffa9e8cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffa9e8cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffffa9e8cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffffa9e8cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffffaa156bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffffaa156bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffffaa156bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffffaa156bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffffaa156bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffffaa157b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffffaa157b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffffaa157b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffffaa15c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffffaa15c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffffaa15c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffffaa15c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffffaa15c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffffa85b2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffffa85b2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffffa85b2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffffa85b2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffffa9c77450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffffa9c2f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffffa9c2f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffffa9c2f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffffa9cb551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaad90459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaad90494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaad904aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaad9041fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffffa120098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffffa1200a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaad90420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/path-notes-impl-param.m.script: line 1: 2539659 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/path-notes-impl-param.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/placement-new-user-defined.cpp (1013 of 18966) ******************** TEST 'Clang :: Analysis/placement-new-user-defined.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/placement-new-user-defined.cpp -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-checker=cplusplus.PlacementNew -analyzer-output=text -verify -triple x86_64-unknown-linux-gnu -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/placement-new-user-defined.cpp -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-checker=cplusplus.PlacementNew -analyzer-output=text -verify -triple x86_64-unknown-linux-gnu 1. parser at end of file 2. While analyzing stack: #0 Calling X::operator new(std::size_t, void *) at line 20 #1 Calling f() #0 0x0000ffff9f29acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9f299100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9f29b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa821a800 (linux-vdso.so.1+0x800) #4 0x0000ffffa7167188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa7167188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa7167188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa7167188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa7167188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa7167188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa7167188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa7167188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffffa71af1dc clang::ento::ExprEngine::processCallExit(clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:372:0 #13 0x0000ffffa717cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #14 0x0000ffffa717cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #15 0x0000ffffa717cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #16 0x0000ffffa717cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #17 0x0000ffffa717cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #18 0x0000ffffa7446bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #19 0x0000ffffa7446bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #20 0x0000ffffa7446bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #21 0x0000ffffa7446bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #22 0x0000ffffa7446bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #23 0x0000ffffa7447b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #24 0x0000ffffa7447b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x0000ffffa7447b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #26 0x0000ffffa744c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x0000ffffa744c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x0000ffffa744c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x0000ffffa744c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x0000ffffa744c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x0000ffffa58a2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #32 0x0000ffffa58a2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x0000ffffa58a2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #34 0x0000ffffa58a2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x0000ffffa6f67450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #36 0x0000ffffa6f1f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #37 0x0000ffffa6f1f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #38 0x0000ffffa6f1f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #39 0x0000ffffa6fa551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #40 0x0000aaaae79859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x0000aaaae79894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x0000aaaae798aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x0000aaaae7981fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x0000ffff9e4f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #45 0x0000ffff9e4f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #46 0x0000aaaae79820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/placement-new-user-defined.cpp.script: line 1: 2539676 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/placement-new-user-defined.cpp -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-checker=cplusplus.PlacementNew -analyzer-output=text -verify -triple x86_64-unknown-linux-gnu -- ******************** Testing: 0 FAIL: Clang :: Analysis/placement-new.cpp (1016 of 18966) ******************** TEST 'Clang :: Analysis/placement-new.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/placement-new.cpp -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-checker=cplusplus.PlacementNew -analyzer-output=text -verify -triple x86_64-unknown-linux-gnu -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/placement-new.cpp -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-checker=cplusplus.PlacementNew -analyzer-output=text -verify -triple x86_64-unknown-linux-gnu 1. parser at end of file 2. While analyzing stack: #0 Calling testStructAlign::test22()::X::X() at line 455 #1 Calling testStructAlign::test22() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/placement-new.cpp:453:10: Error evaluating statement #0 0x0000ffff8296acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff82969100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8296b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8b8ed800 (linux-vdso.so.1+0x800) #4 0x0000ffff8a837188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff8a837188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8a837188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8a837188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8a837188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8a837188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8a837188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8a837188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff8a84c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff8a84c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff8a84c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff8a84c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff8a84c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff8a84c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff8a84c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff8a84c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff8a84c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffff8a84c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #22 0x0000ffff8a84c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffff8a84c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffff8a84cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff8a84cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff8a84cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff8a84cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff8a84cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #29 0x0000ffff8ab16bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff8ab16bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff8ab16bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff8ab16bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff8ab16bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff8ab17b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #35 0x0000ffff8ab17b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff8ab17b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff8ab1c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff8ab1c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff8ab1c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff8ab1c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff8ab1c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff88f72058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #43 0x0000ffff88f72058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff88f72058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #45 0x0000ffff88f72058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff8a637450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff8a5ef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff8a5ef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff8a5ef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff8a67551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaac10359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaac10394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaac103aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaac1031fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff81bc098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff81bc0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaac10320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/placement-new.cpp.script: line 1: 2539683 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/placement-new.cpp -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-checker=cplusplus.PlacementNew -analyzer-output=text -verify -triple x86_64-unknown-linux-gnu -- ******************** Testing: 0 FAIL: Clang :: Analysis/plist-diagnostics-template-function.cpp (1018 of 18966) ******************** TEST 'Clang :: Analysis/plist-diagnostics-template-function.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-diagnostics-template-function.cpp.tmp.plist -std=c++11 -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-diagnostics-template-function.cpp : 'RUN: at line 2'; /usr/bin/FileCheck --input-file=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-diagnostics-template-function.cpp.tmp.plist /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-diagnostics-template-function.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-diagnostics-template-function.cpp.tmp.plist -std=c++11 -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-diagnostics-template-function.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling f(int) at line 31 #1 Calling main() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-diagnostics-template-function.cpp:14:7: Error evaluating branch #0 0x0000ffffb087acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb0879100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb087b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb97fc800 (linux-vdso.so.1+0x800) #4 0x0000ffffb8af29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb8af29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb8af29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb8af29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb8af29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb8af29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb8af29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb8af29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb87a0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb87a0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb87a0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb87a0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb87a0d10 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb87a0d10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb87a0d10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb87a0d10 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffffb87b4cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb87b4cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb87b4cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffb87b4f90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb87b4f90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb87b4f90 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffb87b4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb87b4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb87b4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb87c0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb87c0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb87c0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb87ca414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb87ca414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb87ca414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb872ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb872ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb872ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb872ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffb8c1c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb8c1c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb8c1c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb8744c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffb8744c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffb8744c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffb8744c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffb8744c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffb8744c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffb8744c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffb8744c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffb8744c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffb8744c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffb8745200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffb875cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb875cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb875cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb875cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb875cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb8a26bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb8a26bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb8a26bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb8a26bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb8a26bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb8a27b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb8a27b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb8a27b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb8a2c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb8a2c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb8a2c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb8a2c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb8a2c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb6e82058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb6e82058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb6e82058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb6e82058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb8547450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb84ff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb84ff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb84ff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb858551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab17c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab17c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab17caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab17c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffafad098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffafad0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab17c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-diagnostics-template-function.cpp.script: line 2: 2539685 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-diagnostics-template-function.cpp.tmp.plist -std=c++11 -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-diagnostics-template-function.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/plist-diagnostics-template-record.cpp (1019 of 18966) ******************** TEST 'Clang :: Analysis/plist-diagnostics-template-record.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-diagnostics-template-record.cpp.tmp.plist -std=c++11 -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-diagnostics-template-record.cpp : 'RUN: at line 2'; /usr/bin/FileCheck --input-file=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-diagnostics-template-record.cpp.tmp.plist /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-diagnostics-template-record.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-diagnostics-template-record.cpp.tmp.plist -std=c++11 -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-diagnostics-template-record.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling main() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-diagnostics-template-record.cpp:34:36: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-diagnostics-template-record.cpp:34:36: Error evaluating statement #0 0x0000ffff8e18acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8e189100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8e18b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff97100800 (linux-vdso.so.1+0x800) #4 0x0000ffff96057804 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff96057804 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff96057804 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff96057804 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff96057804 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff96057804 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff96057804 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff96057804 clang::ento::ExprEngine::getObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:607:55 #12 0x0000ffff960203fc std::_Optional_base_impl>::_M_is_engaged() const /usr/include/c++/12/optional:471:0 #13 0x0000ffff960203fc std::optional::has_value() const /usr/include/c++/12/optional:988:0 #14 0x0000ffff960203fc clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:431:0 #15 0x0000ffff960203fc addParameterValuesToBindings(clang::StackFrameContext const*, llvm::SmallVectorImpl>&, clang::ento::SValBuilder&, clang::ento::CallEvent const&, llvm::ArrayRef) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:478:0 #16 0x0000ffff960213fc clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x0000ffff960213fc clang::ento::AnyCXXConstructorCall::getInitialStackFrameContents(clang::StackFrameContext const*, llvm::SmallVectorImpl>&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:915:0 #18 0x0000ffff960e2050 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #19 0x0000ffff960e2050 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #20 0x0000ffff9609d2d8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #21 0x0000ffff9609d2d8 clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #22 0x0000ffff9609d488 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #23 0x0000ffff9609d488 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffff9609d488 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #25 0x0000ffff9609ff20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x0000ffff9609ff20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x0000ffff9609ff20 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #28 0x0000ffff960a094c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #29 0x0000ffff960a094c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffff960a094c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff960a094c clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #32 0x0000ffff96029458 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #33 0x0000ffff960653f8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #34 0x0000ffff960653f8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #35 0x0000ffff960653f8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #36 0x0000ffff960653f8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #37 0x0000ffff960653f8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #38 0x0000ffff960653f8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #39 0x0000ffff960653f8 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #40 0x0000ffff9606b22c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #41 0x0000ffff9606b22c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #42 0x0000ffff9606c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #43 0x0000ffff9606c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #44 0x0000ffff9606c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #45 0x0000ffff9606cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffff9606cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffff9606cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #48 0x0000ffff9606cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #49 0x0000ffff9606cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #50 0x0000ffff96336bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffff96336bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff96336bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #53 0x0000ffff96336bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #54 0x0000ffff96336bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #55 0x0000ffff96337b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #56 0x0000ffff96337b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x0000ffff96337b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #58 0x0000ffff9633c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffff9633c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffff9633c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x0000ffff9633c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x0000ffff9633c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x0000ffff94792058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #64 0x0000ffff94792058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x0000ffff94792058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #66 0x0000ffff94792058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x0000ffff95e57450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #68 0x0000ffff95e0f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #69 0x0000ffff95e0f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #70 0x0000ffff95e0f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #71 0x0000ffff95e9551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #72 0x0000aaaad9d659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #73 0x0000aaaad9d694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #74 0x0000aaaad9d6aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #75 0x0000aaaad9d61fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #76 0x0000ffff8d3e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #77 0x0000ffff8d3e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #78 0x0000aaaad9d620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-diagnostics-template-record.cpp.script: line 2: 2539706 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-diagnostics-template-record.cpp.tmp.plist -std=c++11 -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-diagnostics-template-record.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/plist-html-macros.c (1020 of 18966) ******************** TEST 'Clang :: Analysis/plist-html-macros.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-html-macros.c : 'RUN: at line 4'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-html-macros.c.tmp.dir : 'RUN: at line 5'; mkdir -p /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-html-macros.c.tmp.dir : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-html-macros.c.tmp.dir/index.plist /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-html-macros.c -analyzer-checker=core -analyzer-output=plist-html : 'RUN: at line 10'; ls /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-html-macros.c.tmp.dir | grep '\.html' | /usr/bin/count 1 : 'RUN: at line 11'; grep '\.html' /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-html-macros.c.tmp.dir/index.plist | /usr/bin/count 1 -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-html-macros.c 1. parser at end of file 2. While analyzing stack: #0 Calling null_deref at line /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-html-macros.c:32:3 #1 Calling test2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-html-macros.c:22:7: Error evaluating branch #0 0x0000ffff7ef5acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7ef59100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7ef5b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff87ed9800 (linux-vdso.so.1+0x800) #4 0x0000ffff871d29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff871d29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff871d29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff871d29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff871d29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff871d29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff871d29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff871d29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff86e80048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff86e80048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff86e80048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff86e80048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff86e80f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff86e80f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff86e80f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff86e80f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff86e93b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff86e93b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff86e93b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff86e95060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff86e95060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff86e95060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff86e94530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff86e94530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff86e94530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff86ea0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff86ea0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff86ea0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff86eaa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff86eaa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff86eaa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff86e0eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff86e0eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff86e0eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff86e0eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff872fc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff872fc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff872fc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff86e24c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff86e24c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff86e24c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff86e24c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff86e24c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff86e24c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff86e24c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff86e24c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff86e24c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff86e24c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff86e25200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff86e3cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff86e3cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff86e3cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff86e3cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff86e3cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff87106bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff87106bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff87106bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff87106bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff87106bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff87107b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff87107b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff87107b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8710c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8710c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8710c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8710c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8710c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff85562058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff85562058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff85562058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff85562058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff86c27450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff86bdf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff86bdf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff86bdf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff86c6551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae67459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae67494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae674aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae6741fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7e1b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7e1b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae67420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-html-macros.c.script: line 6: 2539708 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-html-macros.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/plist-output.m (1021 of 18966) ******************** TEST 'Clang :: Analysis/plist-output.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-output.m -analyzer-checker=osx.cocoa.RetainCount,deadcode.DeadStores,core -analyzer-output=plist -analyzer-config deadcode.DeadStores:ShowFixIts=true -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-output.m.tmp.plist : 'RUN: at line 2'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling testFoo 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-output.m:193:12: Error evaluating statement #0 0x0000ffff973cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff973c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff973cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa0343800 (linux-vdso.so.1+0x800) #4 0x0000ffff9f2ec134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9f2ec134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9f2ec134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9f2ec134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff9f2ec134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff9f2ec134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff9f29748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff9f29748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff9f29748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff9f2ac264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff9f2ac264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff9f2ac264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff9f2ac264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff9f2ac264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff9f2ac264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff9f2ac264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff9f2ac264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff9f2ac264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff9f2ac5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #23 0x0000ffff9f2ac6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff9f2ac9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff9f2acb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff9f2acb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff9f2acb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff9f2acb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff9f2acb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #30 0x0000ffff9f576bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff9f576bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff9f576bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff9f576bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff9f576bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff9f577b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #36 0x0000ffff9f577b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff9f577b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff9f57c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff9f57c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff9f57c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff9f57c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff9f57c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff9d9d2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #44 0x0000ffff9d9d2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff9d9d2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #46 0x0000ffff9d9d2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff9f097450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff9f04f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff9f04f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff9f04f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff9f0d551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaac8c559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaac8c594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaac8c5aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaac8c51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff9662098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff96620a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaac8c520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-output.m.script: line 2: 2539749 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-output.m -analyzer-checker=osx.cocoa.RetainCount,deadcode.DeadStores,core -analyzer-output=plist -analyzer-config deadcode.DeadStores:ShowFixIts=true -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-output.m.tmp.plist -- ******************** Testing: 0 FAIL: Clang :: Analysis/plist-output-alternate.m (1022 of 18966) ******************** TEST 'Clang :: Analysis/plist-output-alternate.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -fblocks -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-output-alternate.m.tmp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-output-alternate.m : 'RUN: at line 2'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling rdar8331641 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-output-alternate.m:54:3: Error evaluating statement #0 0x0000ffff9f9bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9f9b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9f9bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa8937800 (linux-vdso.so.1+0x800) #4 0x0000ffffa7ab9d48 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa7ab9d48 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa7ab9d48 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa7ab9d48 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa7ab9d48 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa7ab9d48 clang::ento::ProgramStatePartialTrait>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa7ab9d48 get<(anonymous namespace)::RefBindings> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa7ab9d48 clang::ento::retaincountchecker::RetainCountChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp:1417:47 #12 0x0000ffffa786cbd4 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffffa78873b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffffa78873b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffffa78873b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffffa78873b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffffa78873b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffffa78873b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffffa78873b8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffffa789c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffffa789c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffffa789c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffffa789c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffffa789c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffffa789c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffffa789c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffffa789c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffffa789c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffffa789c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #30 0x0000ffffa789c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #31 0x0000ffffa789cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffffa789cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffffa789cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffffa789cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffffa789cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffffa7b66bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffa7b66bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffa7b66bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffffa7b66bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffffa7b66bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffffa7b67b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffffa7b67b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffffa7b67b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffffa7b6c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffffa7b6c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffffa7b6c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffffa7b6c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffffa7b6c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffffa5fc2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffffa5fc2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffffa5fc2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffffa5fc2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffffa7687450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffffa763f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffffa763f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffffa763f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffffa76c551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaae89159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaae89194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaae891aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaae8911fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffff9ec1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffff9ec10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaae89120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-output-alternate.m.script: line 2: 2539742 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -fblocks -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-output-alternate.m.tmp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-output-alternate.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/plist-macros.cpp (1023 of 18966) ******************** TEST 'Clang :: Analysis/plist-macros.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-macros.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -analyzer-output=plist-multi-file /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-macros.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-macros.cpp.tmp.plist : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling null_deref(int *) at line /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-macros.cpp:87:3 #1 Calling test2(int *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-macros.cpp:77:7: Error evaluating branch #0 0x0000ffff9e4eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9e4e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9e4eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa7466800 (linux-vdso.so.1+0x800) #4 0x0000ffffa67629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa67629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa67629e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa67629e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa67629e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa67629e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa67629e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa67629e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa6410048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa6410048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa6410048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa6410048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa6410f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa6410f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa6410f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa6410f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa6423b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa6423b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa6423b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa6425060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa6425060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa6425060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa6424530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa6424530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa6424530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa6430b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa6430b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa6430b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa643a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa643a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa643a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa639eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa639eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa639eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa639eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa688c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa688c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa688c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa63b4c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffa63b4c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffa63b4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffa63b4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffa63b4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffa63b4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffa63b4c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffa63b4c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffa63b4c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffa63b4c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffa63b5200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffa63ccb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa63ccb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa63ccb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa63ccb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa63ccb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffa6696bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa6696bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa6696bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa6696bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa6696bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa6697b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffa6697b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa6697b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa669c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa669c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa669c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa669c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa669c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa4af2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffa4af2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa4af2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffa4af2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa61b7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa616f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa616f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa616f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa61f551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae3ec59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae3ec94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae3ecaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae3ec1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9d74098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff9d740a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae3ec20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-macros.cpp.script: line 3: 2539740 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-macros.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/pointer-to-member.cpp (1025 of 18966) ******************** TEST 'Clang :: Analysis/pointer-to-member.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pointer-to-member.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pointer-to-member.cpp 1. parser at end of file #0 0x0000ffffb2eeacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb2ee9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb2eeb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbbe60800 (linux-vdso.so.1+0x800) #4 0x0000ffffbadbc024 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffbadbc024 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffbadbc024 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffbadbc024 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffbadbc024 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffbadbc024 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffbadbc024 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffbadbc024 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2911:0 #12 0x0000ffffbadbc948 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #13 0x0000ffffbadcc974 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #14 0x0000ffffbadccb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffbadccb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffbadccb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffbadccb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffbadccb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffffbb096bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffbb096bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffbb096bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffbb096bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffbb096bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffbb097b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffffbb097b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffbb097b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffbb09c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffbb09c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffbb09c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffbb09c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffbb09c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffffb94f2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffffb94f2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffffb94f2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffffb94f2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffbabb7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffbab6f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffbab6f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffbab6f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffbabf551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaab82859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaab82894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaab828aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaab8281fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffffb214098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffffb2140a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaab82820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/pointer-to-member.cpp.script: line 1: 2539770 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pointer-to-member.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/pr37802.cpp (1026 of 18966) ******************** TEST 'Clang :: Analysis/pr37802.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr37802.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr37802.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling pr37802_v2::g() at line 102 #1 Calling pr37802_v2::g() at line 102 #2 Calling pr37802_v2::g() at line 102 #3 Calling pr37802_v2::g() at line 102 #4 Calling pr37802_v2::g() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr37802.cpp:102:3: Error evaluating statement #0 0x0000ffffa091acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa0919100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa091b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa9894800 (linux-vdso.so.1+0x800) #4 0x0000ffffa87e7188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa87e7188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa87e7188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa87e7188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa87e7188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa87e7188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa87e7188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa87e7188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffffa87fc264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffa87fc264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffa87fc264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffa87fc264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffa87fc264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffa87fc264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffa87fc264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffa87fc264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffa87fc264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffffa87fc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #22 0x0000ffffa87fc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #23 0x0000ffffa87fcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #24 0x0000ffffa87fcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #25 0x0000ffffa87fcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #26 0x0000ffffa87fcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #27 0x0000ffffa87fcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #28 0x0000ffffa8ac6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #29 0x0000ffffa8ac6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #30 0x0000ffffa8ac6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #31 0x0000ffffa8ac6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #32 0x0000ffffa8ac6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #33 0x0000ffffa8ac7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #34 0x0000ffffa8ac7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x0000ffffa8ac7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #36 0x0000ffffa8acc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x0000ffffa8acc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x0000ffffa8acc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x0000ffffa8acc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x0000ffffa8acc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x0000ffffa6f22058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #42 0x0000ffffa6f22058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x0000ffffa6f22058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #44 0x0000ffffa6f22058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x0000ffffa85e7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #46 0x0000ffffa859f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #47 0x0000ffffa859f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #48 0x0000ffffa859f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #49 0x0000ffffa862551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #50 0x0000aaaac48e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x0000aaaac48e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x0000aaaac48eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x0000aaaac48e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x0000ffff9fb7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #55 0x0000ffff9fb70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #56 0x0000aaaac48e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/pr37802.cpp.script: line 1: 2539782 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr37802.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/pr22954.c (1027 of 18966) ******************** TEST 'Clang :: Analysis/pr22954.c' FAILED ******************** Script: -- : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -analyzer-checker=core,unix.Malloc,debug.ExprInspection -Wno-error=int-conversion -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr22954.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -analyzer-checker=core,unix.Malloc,debug.ExprInspection -Wno-error=int-conversion -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr22954.c 1. parser at end of file 2. While analyzing stack: #0 Calling f39 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr22954.c:885:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr22954.c:885:3: Error evaluating statement #0 0x0000ffffaaacacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaaac9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaaacb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb3a45800 (linux-vdso.so.1+0x800) #4 0x0000ffffb2d429e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb2d429e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb2d429e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb2d429e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb2d429e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb2d429e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb2d429e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb2d429e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb29f0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb29f0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb29f0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb29f0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb29f0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb29f0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb29f0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb29f0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb2a03b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb2a03b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb2a03b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb2a05060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb2a05060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb2a05060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb2a04530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb2a04530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb2a04530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb2a10b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb2a10b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb2a10b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb2a1a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb2a1a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb2a1a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb297eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb297eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb297eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb297eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb2e6c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb2e6c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb2e6c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb2a9e270 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb2a9e270 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb2a9e270 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffffb2a9e270 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffffb2968e38 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffb2991640 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffffb2991640 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffffb2996c38 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffffb2996c38 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffffb2996c38 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffb2996c38 clang::ento::ExprEngine::evalStore(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ento::SVal, clang::ProgramPointTag const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3628:15 #53 0x0000ffffb299fc04 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffb299fc04 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffb299fc04 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:74:0 #56 0x0000ffffb29abfa8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #57 0x0000ffffb29ac2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #58 0x0000ffffb29ac5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #59 0x0000ffffb29ac7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #60 0x0000ffffb29acb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #61 0x0000ffffb29acb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #62 0x0000ffffb29acb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #63 0x0000ffffb29acb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #64 0x0000ffffb29acb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #65 0x0000ffffb2c76bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #66 0x0000ffffb2c76bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #67 0x0000ffffb2c76bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #68 0x0000ffffb2c76bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #69 0x0000ffffb2c76bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #70 0x0000ffffb2c77b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #71 0x0000ffffb2c77b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #72 0x0000ffffb2c77b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #73 0x0000ffffb2c7c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #74 0x0000ffffb2c7c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #75 0x0000ffffb2c7c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #76 0x0000ffffb2c7c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #77 0x0000ffffb2c7c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #78 0x0000ffffb10d2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #79 0x0000ffffb10d2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #80 0x0000ffffb10d2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #81 0x0000ffffb10d2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #82 0x0000ffffb2797450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #83 0x0000ffffb274f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #84 0x0000ffffb274f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #85 0x0000ffffb274f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #86 0x0000ffffb27d551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #87 0x0000aaaad28459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #88 0x0000aaaad28494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #89 0x0000aaaad284aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #90 0x0000aaaad2841fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #91 0x0000ffffa9d2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #92 0x0000ffffa9d20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #93 0x0000aaaad28420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/pr22954.c.script: line 1: 2539774 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -analyzer-checker=core,unix.Malloc,debug.ExprInspection -Wno-error=int-conversion -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr22954.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/pr4209.m (1030 of 18966) ******************** TEST 'Clang :: Analysis/pr4209.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core -Wno-incomplete-implementation -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr4209.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core -Wno-incomplete-implementation -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr4209.m 1. parser at end of file #0 0x0000ffff91c4acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff91c49100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff91c4b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9abce800 (linux-vdso.so.1+0x800) #4 0x0000ffff99ec29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff99ec29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff99ec29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff99ec29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff99ec29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff99ec29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff99ec29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff99ec29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff99b70048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff99b70048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff99b70048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff99b70048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff99b70f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff99b70f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff99b70f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff99b70f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff99b83b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff99b83b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff99b83b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff99b85060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff99b85060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff99b85060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff99b84530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff99b84530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff99b84530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff99b90b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff99b90b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff99b90b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff99b9a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff99b9a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff99b9a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff99afeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff99afeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff99afeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff99afeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff99afefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff99afefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff99afefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff99ad2620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff99ad2620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff99ad2620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff99b0ef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff99b0ef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff99b0ef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff99b2ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff99b2ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff99b2ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff99df6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff99df6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff99df6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff99df6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff99df6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff99df7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff99df7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff99df7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff99dfc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff99dfc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff99dfc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff99dfc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff99dfc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff98252058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff98252058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff98252058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff98252058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff99917450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff998cf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff998cf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff998cf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff9995551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaae68159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaae68194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaae681aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaae6811fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff90ea098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff90ea0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaae68120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/pr4209.m.script: line 1: 2539799 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core -Wno-incomplete-implementation -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr4209.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/pr_2542_rdar_6793404.m (1031 of 18966) ******************** TEST 'Clang :: Analysis/pr_2542_rdar_6793404.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -pedantic -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr_2542_rdar_6793404.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -pedantic -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr_2542_rdar_6793404.m 1. parser at end of file #0 0x0000ffffb3d8acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb3d89100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb3d8b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbcd09800 (linux-vdso.so.1+0x800) #4 0x0000ffffbc0029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbc0029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbc0029e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbc0029e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbc0029e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbc0029e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbc0029e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbc0029e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbbcb0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbbcb0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbbcb0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbbcb0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbbcb0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbbcb0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbbcb0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbbcb0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbbcc3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbbcc3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbbcc3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbbcc5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbbcc5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbbcc5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbbcc4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbbcc4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbbcc4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbbcd0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbbcd0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbbcd0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbbcda414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbbcda414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbbcda414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbbc3eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbbc3eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbbc3eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbbc3eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbbc3efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbbc3efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbbc3efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffbbc12620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffbbc12620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffbbc12620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffbbc4ef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffbbc4ef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffbbc4ef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffbbc6ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffbbc6ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffbbc6ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffbbf36bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffbbf36bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffbbf36bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffbbf36bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffbbf36bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffbbf37b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffbbf37b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffbbf37b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffbbf3c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffbbf3c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffbbf3c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffbbf3c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffbbf3c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffba392058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffba392058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffba392058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffba392058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffbba57450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffbba0f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffbba0f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffbba0f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffbba9551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaaabcf59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaaabcf94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaaabcfaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaaabcf1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffb2fe098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffb2fe0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaaabcf20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/pr_2542_rdar_6793404.m.script: line 1: 2539800 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -pedantic -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr_2542_rdar_6793404.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/pr_4164.c (1032 of 18966) ******************** TEST 'Clang :: Analysis/pr_4164.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr_4164.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr_4164.c 1. parser at end of file 2. While analyzing stack: #0 Calling test2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr_4164.c:37:7: Error evaluating branch #0 0x0000ffffa4bdacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa4bd9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa4bdb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffadb5c800 (linux-vdso.so.1+0x800) #4 0x0000fffface529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000fffface529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000fffface529e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000fffface529e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000fffface529e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000fffface529e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000fffface529e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000fffface529e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffacb00048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffacb00048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffacb00048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffacb00048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffacb00f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffacb00f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffacb00f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffacb00f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffacb14cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffacb14cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffacb14cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffacb14f90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffacb14f90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffacb14f90 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffacb14530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffacb14530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffacb14530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffacb20b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffacb20b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffacb20b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffacb2a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffacb2a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffacb2a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffaca8eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffaca8eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffaca8eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffaca8eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffacf7c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffacf7c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffacf7c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffacaa4c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffacaa4c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffacaa4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffacaa4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffacaa4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffacaa4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffacaa4c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffacaa4c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffacaa4c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffacaa4c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffacaa5200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffacabcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffacabcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffacabcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffacabcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffacabcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffacd86bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffacd86bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffacd86bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffacd86bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffacd86bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffacd87b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffacd87b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffacd87b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffacd8c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffacd8c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffacd8c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffacd8c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffacd8c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffab1e2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffab1e2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffab1e2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffab1e2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffac8a7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffac85f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffac85f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffac85f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffac8e551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae26059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae26094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae260aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae2601fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa3e3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa3e30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae26020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/pr_4164.c.script: line 1: 2539827 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr_4164.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/print-ranges.cpp (1033 of 18966) ******************** TEST 'Clang :: Analysis/print-ranges.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/print-ranges.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/print-ranges.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test6(int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/print-ranges.cpp:44:7: Error evaluating branch #0 0x0000ffffb568acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb5689100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb568b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbe60b800 (linux-vdso.so.1+0x800) #4 0x0000ffffbd9029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbd9029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbd9029e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbd9029e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbd9029e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbd9029e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbd9029e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbd9029e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbd5b0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbd5b0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbd5b0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbd5b0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbd5b0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbd5b0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbd5b0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbd5b0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbd5c3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbd5c3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbd5c3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbd5c5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbd5c5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbd5c5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbd5c4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbd5c4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbd5c4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbd5d0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbd5d0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbd5d0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbd5da414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbd5da414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbd5da414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbd53ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbd53ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbd53ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbd53ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffbda2c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbda2c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbda2c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffbd554c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffbd554c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffbd554c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffbd554c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffbd554c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffbd554c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffbd554c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffbd554c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffbd554c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffbd554c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffbd555200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffbd56cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffbd56cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffbd56cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffbd56cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffbd56cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffbd836bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffbd836bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffbd836bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffbd836bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffbd836bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffbd837b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffbd837b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffbd837b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffbd83c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffbd83c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffbd83c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffbd83c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffbd83c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffbbc92058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffbbc92058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffbbc92058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffbbc92058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffbd357450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffbd30f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffbd30f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffbd30f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffbd39551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae83859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae83894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae838aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae8381fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffb48e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffb48e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae83820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/print-ranges.cpp.script: line 1: 2539826 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/print-ranges.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/properties.m (1034 of 18966) ******************** TEST 'Clang :: Analysis/properties.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,osx.cocoa.Dealloc,debug.ExprInspection -verify -Wno-objc-root-class -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/properties.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,osx.cocoa.Dealloc,debug.ExprInspection -verify -Wno-objc-root-class -fobjc-arc -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/properties.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,osx.cocoa.Dealloc,debug.ExprInspection -verify -Wno-objc-root-class -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/properties.m 1. parser at end of file #0 0x0000ffff7fd3acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7fd39100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7fd3b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff88cb1800 (linux-vdso.so.1+0x800) #4 0x0000ffff87fb29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff87fb29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff87fb29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff87fb29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff87fb29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff87fb29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff87fb29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff87fb29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff87c60048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff87c60048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff87c60048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff87c60048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff87c60f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff87c60f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff87c60f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff87c60f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff87c73b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff87c73b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff87c73b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff87c75060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff87c75060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff87c75060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff87c74530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff87c74530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff87c74530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff87c80b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff87c80b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff87c80b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff87c8a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff87c8a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff87c8a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff87beeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff87beeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff87beeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff87beeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff87beefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff87beefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff87beefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff87bc2620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff87bc2620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff87bc2620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff87bfef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff87bfef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff87bfef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff87c1ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff87c1ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff87c1ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff87ee6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff87ee6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff87ee6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff87ee6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff87ee6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff87ee7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff87ee7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff87ee7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff87eec130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff87eec130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff87eec130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff87eec130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff87eec130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff86342058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff86342058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff86342058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff86342058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff87a07450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff879bf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff879bf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff879bf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff87a4551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaad7f559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaad7f594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaad7f5aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaad7f51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff7ef9098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff7ef90a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaad7f520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/properties.m.script: line 2: 2539847 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,osx.cocoa.Dealloc,debug.ExprInspection -verify -Wno-objc-root-class -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/properties.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/pthreadlock.c (1035 of 18966) ******************** TEST 'Clang :: Analysis/pthreadlock.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.unix.PthreadLock -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.unix.PthreadLock -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock.c 1. parser at end of file 2. While analyzing stack: #0 Calling nocrash1 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock.c:518:3: Error evaluating statement #0 0x0000ffff7876acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff78769100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7876b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff816e6800 (linux-vdso.so.1+0x800) #4 0x0000ffff80b0e4dc llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff80b0e4dc llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff80b0e4dc llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff80b0e4dc llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff80b0e4dc llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff80b0e4dc clang::ento::ProgramStatePartialTrait>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff80b0e4dc get<(anonymous namespace)::DestroyRetVal> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff80b0e4dc (anonymous namespace)::PthreadLockChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp:642:43 #12 0x0000ffff8061cbd4 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffff806373b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffff806373b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffff806373b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffff806373b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffff806373b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffff806373b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffff806373b8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffff8064c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffff8064c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffff8064c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffff8064c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffff8064c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffff8064c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffff8064c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffff8064c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffff8064c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffff8064c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #30 0x0000ffff8064c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #31 0x0000ffff8064cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffff8064cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffff8064cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffff8064cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffff8064cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffff80916bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff80916bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff80916bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffff80916bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffff80916bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffff80917b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffff80917b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffff80917b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffff8091c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffff8091c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffff8091c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffff8091c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffff8091c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffff7ed72058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffff7ed72058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffff7ed72058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffff7ed72058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffff80437450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffff803ef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffff803ef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffff803ef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffff8047551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaab68a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaab68a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaab68aaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaab68a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffff779c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffff779c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaab68a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/pthreadlock.c.script: line 1: 2539857 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.unix.PthreadLock -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/properties.mm (1036 of 18966) ******************** TEST 'Clang :: Analysis/properties.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,debug.ExprInspection -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/properties.mm : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,debug.ExprInspection -verify -Wno-objc-root-class -fobjc-arc /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/properties.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,debug.ExprInspection -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/properties.mm 1. parser at end of file 2. While analyzing stack: #0 Calling testNoDirectPropertyDecl(NoDirectPropertyDecl *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/properties.mm:92:25: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/properties.mm:92:25: Error evaluating statement #0 0x0000ffff88d0acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff88d09100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff88d0b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff91c85800 (linux-vdso.so.1+0x800) #4 0x0000ffff90f829e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff90f829e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff90f829e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff90f829e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff90f829e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff90f829e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff90f829e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff90f829e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff90c30048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff90c30048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff90c30048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff90c30048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff90c30f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff90c30f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff90c30f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff90c30f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff90c43b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff90c43b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff90c43b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff90c45060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff90c45060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff90c45060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff90c44530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff90c44530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff90c44530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff90c50b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff90c50b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff90c50b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff90c5a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff90c5a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff90c5a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff90bbeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff90bbeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff90bbeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff90bbeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff910ac8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff910ac8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff910ac8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff90c20afc std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffff90c20afc std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffff90c20afc std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffff90c20afc std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffff90c20afc std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffff90c20afc clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #48 0x0000ffff90beae08 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #49 0x0000ffff90beae08 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #50 0x0000ffff90bec2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffff90bec5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffff90bec7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffff90becb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff90becb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff90becb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff90becb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff90becb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff90eb6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff90eb6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff90eb6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff90eb6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff90eb6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff90eb7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff90eb7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff90eb7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff90ebc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff90ebc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff90ebc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff90ebc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff90ebc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff8f312058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff8f312058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff8f312058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff8f312058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff909d7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9098f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9098f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9098f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff90a1551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae46359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae46394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae463aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae4631fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff87f6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff87f60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae46320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/properties.mm.script: line 2: 2539854 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,debug.ExprInspection -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/properties.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/pthreadlock_state.c (1037 of 18966) ******************** TEST 'Clang :: Analysis/pthreadlock_state.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.PthreadLock,debug.ExprInspection 2>&1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state.c | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state.c -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state.c:17:12: error: CHECK: expected string not found in input // CHECK: { "checker": "alpha.core.PthreadLockBase", "messages": [ ^ :13:26: note: scanning from here "checker_messages": null ^ :16:300: note: possible intended match here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.PthreadLock,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state.c ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state.c -dump-input=help explains the following input dump. Input was: <<<<<< . . . 8: "constraints": null, 9: "equivalence_classes": null, 10: "disequality_info": null, 11: "dynamic_types": null, 12: "dynamic_casts": null, 13: "checker_messages": null check:17'0 X error: no match found 14: }PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15: Stack dump: check:17'0 ~~~~~~~~~~~~ 16: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.PthreadLock,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state.c check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:17'1 ? possible intended match 17: 1. parser at end of file check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18: 2. While analyzing stack: check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19: #0 Calling test check:17'0 ~~~~~~~~~~~~~~~~~ 20: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state.c:16:3: Error evaluating statement check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 21: #0 0x0000ffff79b5acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/pthreadlock_state_nottracked.c (1038 of 18966) ******************** TEST 'Clang :: Analysis/pthreadlock_state_nottracked.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.PthreadLock,debug.ExprInspection 2>&1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state_nottracked.c | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state_nottracked.c -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state_nottracked.c:12:12: error: CHECK: expected string not found in input // CHECK: { "checker": "alpha.core.PthreadLockBase", "messages": [ ^ :1:1: note: scanning from here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ :3:300: note: possible intended match here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.PthreadLock,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state_nottracked.c ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state_nottracked.c -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. check:12'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: Stack dump: check:12'0 ~~~~~~~~~~~~ 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.PthreadLock,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state_nottracked.c check:12'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:12'1 ? possible intended match 4: 1. parser at end of file check:12'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: 2. While analyzing stack: check:12'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #0 Calling test check:12'0 ~~~~~~~~~~~~~~~~~ 7: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state_nottracked.c:10:3: Error evaluating statement check:12'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: #0 0x0000ffff7fe4acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) check:12'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/ptr-cmp-const-trunc.cl (1039 of 18966) ******************** TEST 'Clang :: Analysis/ptr-cmp-const-trunc.cl' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple amdgcn-unknown-unknown -analyze -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-cmp-const-trunc.cl -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple amdgcn-unknown-unknown -analyze -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-cmp-const-trunc.cl 1. parser at end of file 2. While analyzing stack: #0 Calling foo #0 0x0000ffff8912acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff89129100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8912b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff920a6800 (linux-vdso.so.1+0x800) #4 0x0000ffff9104c134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9104c134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9104c134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9104c134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff9104c134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff9104c134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff90ff748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff90ff748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff90ff748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff91022e5c llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #14 0x0000ffff91022e5c clang::ento::ExprEngine::removeDeadOnEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:187:1 #15 0x0000ffff90ffc4b8 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #16 0x0000ffff90ffc4b8 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #17 0x0000ffff90ffc4b8 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #18 0x0000ffff90ffc4b8 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2951:0 #19 0x0000ffff90ffc948 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #20 0x0000ffff9100c974 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #21 0x0000ffff9100cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #22 0x0000ffff9100cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #23 0x0000ffff9100cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #24 0x0000ffff9100cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #25 0x0000ffff9100cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #26 0x0000ffff912d6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff912d6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff912d6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #29 0x0000ffff912d6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #30 0x0000ffff912d6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #31 0x0000ffff912d7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #32 0x0000ffff912d7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x0000ffff912d7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #34 0x0000ffff912dc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x0000ffff912dc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x0000ffff912dc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x0000ffff912dc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x0000ffff912dc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x0000ffff8f732058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #40 0x0000ffff8f732058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x0000ffff8f732058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #42 0x0000ffff8f732058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x0000ffff90df7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #44 0x0000ffff90daf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #45 0x0000ffff90daf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #46 0x0000ffff90daf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #47 0x0000ffff90e3551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #48 0x0000aaaab73959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x0000aaaab73994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x0000aaaab739aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x0000aaaab7391fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x0000ffff8838098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #53 0x0000ffff88380a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #54 0x0000aaaab73920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ptr-cmp-const-trunc.cl.script: line 1: 2539894 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple amdgcn-unknown-unknown -analyze -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-cmp-const-trunc.cl -- ******************** Testing: 0 FAIL: Clang :: Analysis/ptr-arith.c (1040 of 18966) ******************** TEST 'Clang :: Analysis/ptr-arith.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.core.FixedAddr,alpha.core.PointerArithm,alpha.core.PointerSub,debug.ExprInspection -Wno-pointer-to-int-cast -verify -triple x86_64-apple-darwin9 -Wno-tautological-pointer-compare -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-arith.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.core.FixedAddr,alpha.core.PointerArithm,alpha.core.PointerSub,debug.ExprInspection -Wno-pointer-to-int-cast -verify -triple i686-apple-darwin9 -Wno-tautological-pointer-compare -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-arith.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.core.FixedAddr,alpha.core.PointerArithm,alpha.core.PointerSub,debug.ExprInspection -Wno-pointer-to-int-cast -verify -triple x86_64-apple-darwin9 -Wno-tautological-pointer-compare -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-arith.c 1. parser at end of file 2. While analyzing stack: #0 Calling canonical_equal 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-arith.c:282:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-arith.c:282:3: Error evaluating statement #0 0x0000ffff9315acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff93159100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9315b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9c0d6800 (linux-vdso.so.1+0x800) #4 0x0000ffff9b079bdc retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff9b079bdc retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9b079bdc retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9b079bdc IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9b079bdc ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9b079bdc MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9b079bdc get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9b079bdc (anonymous namespace)::EquivalenceClass::mergeImpl(clang::ento::RangeSet::Factory&, llvm::IntrusiveRefCntPtr, llvm::ImmutableSet>, (anonymous namespace)::EquivalenceClass, llvm::ImmutableSet>) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2361:0 #12 0x0000ffff9b07bb0c llvm::IntrusiveRefCntPtrInfo>>::release(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:351:0 #13 0x0000ffff9b07bb0c llvm::IntrusiveRefCntPtr>>::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffff9b07bb0c llvm::IntrusiveRefCntPtr>>::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff9b07bb0c llvm::ImmutableSet>::~ImmutableSet() /usr/include/llvm/ADT/ImmutableSet.h:957:0 #16 0x0000ffff9b07bb0c (anonymous namespace)::EquivalenceClass::merge(clang::ento::RangeSet::Factory&, llvm::IntrusiveRefCntPtr, (anonymous namespace)::EquivalenceClass) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2340:0 #17 0x0000ffff9b080680 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #18 0x0000ffff9b080680 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9b080680 merge /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2309:0 #20 0x0000ffff9b080680 trackEquality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2160:0 #21 0x0000ffff9b080680 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2238:0 #22 0x0000ffff9b080680 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #23 0x0000ffff9b080680 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #24 0x0000ffff9b080680 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:0 #25 0x0000ffff9b080680 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:0 #26 0x0000ffff9b080680 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #27 0x0000ffff9b080680 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #28 0x0000ffff9b080f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #29 0x0000ffff9b080f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffff9b080f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff9b080f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #32 0x0000ffff9b093b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffff9b093b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffff9b093b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #35 0x0000ffff9b09517c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9b09517c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9b09517c clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:72:57 #38 0x0000ffff9b094530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #39 0x0000ffff9b094530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #40 0x0000ffff9b094530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #41 0x0000ffff9b0a0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #42 0x0000ffff9b0a0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #43 0x0000ffff9b0a0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #44 0x0000ffff9b0aa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff9b0aa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff9b0aa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #47 0x0000ffff9b00ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #48 0x0000ffff9b00ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #49 0x0000ffff9b00ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #50 0x0000ffff9b00ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #51 0x0000ffff9b500ea4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff9b500ea4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff9b500ea4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #54 0x0000ffff9b500ea4 getArgumentValueString(clang::CallExpr const*, clang::ento::CheckerContext&) (.part.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:150:20 #55 0x0000ffff9b11bd10 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #56 0x0000ffff9b11bd10 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #57 0x0000ffff9b11bd10 (anonymous namespace)::ExprInspectionChecker::analyzerEval(clang::CallExpr const*, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:215:0 #58 0x0000ffff9b14f4b0 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #59 0x0000ffff9b14f4b0 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::ExprInspectionChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:0 #60 0x0000ffff9aff938c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #61 0x0000ffff9b058bec llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #62 0x0000ffff9b058bec llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #63 0x0000ffff9b058bec clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #64 0x0000ffff9b058bec clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #65 0x0000ffff9b059514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #66 0x0000ffff9b03b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #67 0x0000ffff9b03b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #68 0x0000ffff9b03c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #69 0x0000ffff9b03c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #70 0x0000ffff9b03c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #71 0x0000ffff9b03cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x0000ffff9b03cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x0000ffff9b03cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #74 0x0000ffff9b03cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #75 0x0000ffff9b03cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #76 0x0000ffff9b306bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #77 0x0000ffff9b306bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #78 0x0000ffff9b306bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #79 0x0000ffff9b306bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #80 0x0000ffff9b306bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #81 0x0000ffff9b307b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #82 0x0000ffff9b307b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #83 0x0000ffff9b307b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #84 0x0000ffff9b30c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #85 0x0000ffff9b30c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #86 0x0000ffff9b30c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #87 0x0000ffff9b30c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #88 0x0000ffff9b30c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #89 0x0000ffff99762058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #90 0x0000ffff99762058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #91 0x0000ffff99762058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #92 0x0000ffff99762058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #93 0x0000ffff9ae27450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #94 0x0000ffff9addf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #95 0x0000ffff9addf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #96 0x0000ffff9addf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #97 0x0000ffff9ae6551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #98 0x0000aaaaded359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #99 0x0000aaaaded394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #100 0x0000aaaaded3aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #101 0x0000aaaaded31fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #102 0x0000ffff923b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #103 0x0000ffff923b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #104 0x0000aaaaded320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ptr-arith.c.script: line 2: 2539883 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.core.FixedAddr,alpha.core.PointerArithm,alpha.core.PointerSub,debug.ExprInspection -Wno-pointer-to-int-cast -verify -triple x86_64-apple-darwin9 -Wno-tautological-pointer-compare -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-arith.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/ptr-arith.cpp (1042 of 18966) ******************** TEST 'Clang :: Analysis/ptr-arith.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused-value -std=c++14 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-arith.cpp -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection,alpha.core.PointerArithm : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused-value -std=c++14 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-arith.cpp -triple x86_64-pc-linux-gnu -analyzer-config support-symbolic-integer-casts=true -analyzer-checker=core,debug.ExprInspection,alpha.core.PointerArithm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused-value -std=c++14 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-arith.cpp -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection,alpha.core.PointerArithm 1. parser at end of file 2. While analyzing stack: #0 Calling Bug_55934::parse(parse_t *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-arith.cpp:140:19: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-arith.cpp:140:19: Error evaluating statement #0 0x0000ffff90d6acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff90d69100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff90d6b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff99ce9800 (linux-vdso.so.1+0x800) #4 0x0000ffff98fe29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff98fe29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff98fe29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff98fe29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff98fe29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff98fe29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff98fe29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff98fe29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff98c90048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff98c90048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff98c90048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff98c90048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff98c90f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff98c90f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff98c90f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff98c90f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff98ca3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff98ca3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff98ca3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff98ca5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff98ca5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff98ca5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff98ca4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff98ca4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff98ca4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff98cb0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff98cb0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff98cb0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff98cba414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff98cba414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff98cba414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff98c1eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff98c1eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff98c1eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff98c1eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9910c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9910c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9910c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff98d3e270 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff98d3e270 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff98d3e270 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffff98d3e270 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffff98c08e38 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffff98c31640 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffff98c31640 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffff98c3187c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffff98c3187c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffff98c3187c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff98c3187c clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffff98c41540 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffff98c41540 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffff98c41540 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffff98c4ac54 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffff98c4ac54 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffff98c4ac54 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffff98c4c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #60 0x0000ffff98c4c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #61 0x0000ffff98c4c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #62 0x0000ffff98c4cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffff98c4cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffff98c4cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffff98c4cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffff98c4cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #67 0x0000ffff98f16bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffff98f16bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffff98f16bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffff98f16bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffff98f16bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffff98f17b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #73 0x0000ffff98f17b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffff98f17b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffff98f1c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffff98f1c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffff98f1c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffff98f1c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffff98f1c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffff97372058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #81 0x0000ffff97372058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffff97372058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #83 0x0000ffff97372058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffff98a37450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffff989ef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffff989ef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffff989ef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffff98a7551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaab88559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaab88594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaab885aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaab8851fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffff8ffc098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffff8ffc0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaab88520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ptr-arith.cpp.script: line 2: 2539888 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused-value -std=c++14 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-arith.cpp -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection,alpha.core.PointerArithm -- ******************** Testing: 0 FAIL: Clang :: Analysis/ptr-iter.cpp (1043 of 18966) ******************** TEST 'Clang :: Analysis/ptr-iter.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-iter.cpp -std=c++14 -analyzer-output=text -verify -analyzer-checker=core,alpha.nondeterminism.PointerIteration -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-iter.cpp -std=c++14 -analyzer-output=text -verify -analyzer-checker=core,alpha.nondeterminism.PointerIteration 1. parser at end of file 2. While analyzing stack: #0 Calling PointerIteration() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-iter.cpp:12:35: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-iter.cpp:12:35: Error evaluating statement #0 0x0000ffff7da7acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7da79100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7da7b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff869fa800 (linux-vdso.so.1+0x800) #4 0x0000ffff85947804 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff85947804 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff85947804 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff85947804 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff85947804 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff85947804 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff85947804 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff85947804 clang::ento::ExprEngine::getObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:607:55 #12 0x0000ffff8590fb14 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffff8590fb14 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffff8590fb14 clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:429:0 #15 0x0000ffff8590fb14 clang::ento::CallEvent::invalidateRegions(unsigned int, llvm::IntrusiveRefCntPtr) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:272:0 #16 0x0000ffff8598fcb0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #17 0x0000ffff8598fcb0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #18 0x0000ffff8598fcb0 clang::ento::ExprEngine::conservativeEvalCall(clang::ento::CallEvent const&, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:833:0 #19 0x0000ffff859906c4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x0000ffff859906c4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x0000ffff859906c4 clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1266:0 #22 0x0000ffff85919458 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #23 0x0000ffff859553f8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #24 0x0000ffff859553f8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #25 0x0000ffff859553f8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #26 0x0000ffff859553f8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #27 0x0000ffff859553f8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #28 0x0000ffff859553f8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #29 0x0000ffff859553f8 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #30 0x0000ffff8595b22c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #31 0x0000ffff8595b22c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #32 0x0000ffff8595c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #33 0x0000ffff8595c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #34 0x0000ffff8595c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #35 0x0000ffff8595cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff8595cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff8595cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffff8595cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffff8595cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffff85c26bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffff85c26bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffff85c26bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffff85c26bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffff85c26bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffff85c27b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffff85c27b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffff85c27b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffff85c2c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffff85c2c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffff85c2c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffff85c2c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffff85c2c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffff84082058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffff84082058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffff84082058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffff84082058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffff85747450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffff856ff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffff856ff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffff856ff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffff8578551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaab1b559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaab1b594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaab1b5aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaab1b51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff7ccd098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff7ccd0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaab1b520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ptr-iter.cpp.script: line 1: 2539910 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-iter.cpp -std=c++14 -analyzer-output=text -verify -analyzer-checker=core,alpha.nondeterminism.PointerIteration -- ******************** Testing: 0 FAIL: Clang :: Analysis/ptr-sort.cpp (1044 of 18966) ******************** TEST 'Clang :: Analysis/ptr-sort.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-sort.cpp -std=c++14 -analyzer-output=text -verify -analyzer-checker=core,alpha.nondeterminism.PointerSorting -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-sort.cpp -std=c++14 -analyzer-output=text -verify -analyzer-checker=core,alpha.nondeterminism.PointerSorting 1. parser at end of file 2. While analyzing stack: #0 Calling PointerSorting() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-sort.cpp:12:27: Error evaluating statement #0 0x0000ffff7d79acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7d799100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7d79b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff86718800 (linux-vdso.so.1+0x800) #4 0x0000ffff85667188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff85667188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff85667188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff85667188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff85667188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff85667188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff85667188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff85667188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff8567c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff8567c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff8567c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff8567c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff8567c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff8567c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff8567c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff8567c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff8567c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffff8567c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #22 0x0000ffff8567c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #23 0x0000ffff8567cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #24 0x0000ffff8567cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #25 0x0000ffff8567cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #26 0x0000ffff8567cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #27 0x0000ffff8567cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #28 0x0000ffff85946bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #29 0x0000ffff85946bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #30 0x0000ffff85946bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #31 0x0000ffff85946bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #32 0x0000ffff85946bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #33 0x0000ffff85947b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #34 0x0000ffff85947b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x0000ffff85947b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #36 0x0000ffff8594c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x0000ffff8594c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x0000ffff8594c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x0000ffff8594c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x0000ffff8594c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x0000ffff83da2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #42 0x0000ffff83da2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x0000ffff83da2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #44 0x0000ffff83da2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x0000ffff85467450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #46 0x0000ffff8541f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #47 0x0000ffff8541f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #48 0x0000ffff8541f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #49 0x0000ffff854a551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #50 0x0000aaaac0ec59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x0000aaaac0ec94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x0000aaaac0ecaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x0000aaaac0ec1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x0000ffff7c9f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #55 0x0000ffff7c9f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #56 0x0000aaaac0ec20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ptr-sort.cpp.script: line 1: 2539921 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-sort.cpp -std=c++14 -analyzer-output=text -verify -analyzer-checker=core,alpha.nondeterminism.PointerSorting -- ******************** Testing: 0 FAIL: Clang :: Analysis/range_casts.c (1046 of 18966) ******************** TEST 'Clang :: Analysis/range_casts.c' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/range_casts.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/range_casts.c 1. parser at end of file 2. While analyzing stack: #0 Calling f15 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/range_casts.c:151:22: Error evaluating statement #0 0x0000ffffa7a6acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa7a69100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa7a6b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb09e9800 (linux-vdso.so.1+0x800) #4 0x0000ffffaf98c134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaf98c134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaf98c134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaf98c134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffaf98c134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffaf98c134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffaf93748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffaf93748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffaf93748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffaf94c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffaf94c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffaf94c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffaf94c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffaf94c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffaf94c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffaf94c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffaf94c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffaf94c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffaf94c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #23 0x0000ffffaf94c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffaf94c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffaf94cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffaf94cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffaf94cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffaf94cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffaf94cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #30 0x0000ffffafc16bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffafc16bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffafc16bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffafc16bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffafc16bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffafc17b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #36 0x0000ffffafc17b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffafc17b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffafc1c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffafc1c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffafc1c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffafc1c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffafc1c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffae072058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #44 0x0000ffffae072058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffae072058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #46 0x0000ffffae072058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffaf737450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffaf6ef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffaf6ef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffaf6ef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffaf77551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaac8cc59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaac8cc94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaac8ccaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaac8cc1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffffa6cc098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffffa6cc0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaac8cc20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/range_casts.c.script: line 1: 2539935 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/range_casts.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/qt_malloc.cpp (1047 of 18966) ******************** TEST 'Clang :: Analysis/qt_malloc.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,alpha.deadcode.UnreachableCode,alpha.core.CastSize,unix.Malloc,cplusplus -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/qt_malloc.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,alpha.deadcode.UnreachableCode,alpha.core.CastSize,unix.Malloc,cplusplus -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/qt_malloc.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling singleShot(QTimer *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/qt_malloc.cpp:25:25: Error evaluating New Allocator Call #0 0x0000ffffaba7acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaba79100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaba7b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb49fe800 (linux-vdso.so.1+0x800) #4 0x0000ffffb3cf29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb3cf29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb3cf29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb3cf29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb3cf29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb3cf29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb3cf29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb3cf29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb39a0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb39a0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb39a0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb39a0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb39a0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb39a0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb39a0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb39a0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb39b3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb39b3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb39b3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb39b5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb39b5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb39b5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb39b4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb39b4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb39b4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb39c0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb39c0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb39c0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb39ca414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb39ca414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb39ca414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb392eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb392eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb392eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb392eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb392efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb392efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb392efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb3958f68 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffb3958f68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffb3958f68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffb3958f68 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffb3958f68 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffb395937c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffb395937c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffb395937c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffb395937c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffb395937c clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffffb395c5fc clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffffb395c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #54 0x0000ffffb395cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffffb395cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffffb395cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffffb395cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffffb395cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #59 0x0000ffffb3c26bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffffb3c26bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffffb3c26bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffffb3c26bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffffb3c26bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffffb3c27b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #65 0x0000ffffb3c27b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffffb3c27b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffffb3c2c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffffb3c2c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffffb3c2c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffffb3c2c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffffb3c2c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffffb2082058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #73 0x0000ffffb2082058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffffb2082058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #75 0x0000ffffb2082058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffffb3747450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffffb36ff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffffb36ff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffffb36ff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffffb378551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaacff559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaacff594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaacff5aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaacff51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffffaacd098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffffaacd0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaacff520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/qt_malloc.cpp.script: line 1: 2539932 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,alpha.deadcode.UnreachableCode,alpha.core.CastSize,unix.Malloc,cplusplus -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/qt_malloc.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/rdar-6540084.m (1048 of 18966) ******************** TEST 'Clang :: Analysis/rdar-6540084.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=deadcode.DeadStores -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6540084.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=deadcode.DeadStores -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6540084.m 1. parser at end of file #0 0x0000ffff9d96acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9d969100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9d96b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa68e0800 (linux-vdso.so.1+0x800) #4 0x0000ffffa5be29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa5be29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa5be29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa5be29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa5be29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa5be29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa5be29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa5be29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa5890048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa5890048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa5890048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa5890048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa5890f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa5890f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa5890f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa5890f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa58a3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa58a3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa58a3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa58a5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa58a5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa58a5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa58a4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa58a4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa58a4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa58b0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa58b0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa58b0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa58ba414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa58ba414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa58ba414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa581eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa581eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa581eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa581eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa581efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa581efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa581efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa57f2620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa57f2620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa57f2620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa582ef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa582ef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa582ef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffa584ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa584ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa584ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa5b16bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa5b16bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa5b16bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa5b16bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa5b16bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa5b17b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffa5b17b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa5b17b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa5b1c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa5b1c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa5b1c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa5b1c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa5b1c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa3f72058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffa3f72058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa3f72058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffa3f72058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa5637450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa55ef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa55ef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa55ef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa567551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaad39b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaad39b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaad39baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaad39b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff9cbc098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff9cbc0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaad39b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/rdar-6540084.m.script: line 1: 2539955 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=deadcode.DeadStores -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6540084.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/rdar-6562655.m (1049 of 18966) ******************** TEST 'Clang :: Analysis/rdar-6562655.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6562655.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6562655.m 1. parser at end of file #0 0x0000ffff95a4acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff95a49100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff95a4b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9e9c1800 (linux-vdso.so.1+0x800) #4 0x0000ffff9dcc29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9dcc29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9dcc29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9dcc29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9dcc29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9dcc29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9dcc29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9dcc29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9d970048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9d970048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9d970048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9d970048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9d970f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9d970f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9d970f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9d970f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9d983b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9d983b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9d983b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9d985060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9d985060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9d985060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9d984530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9d984530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9d984530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9d990b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9d990b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9d990b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9d99a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9d99a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9d99a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9d8feaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9d8feaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9d8feaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9d8feaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9d8fefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9d8fefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9d8fefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff9d8d2620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff9d8d2620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff9d8d2620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff9d90ef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff9d90ef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff9d90ef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff9d92ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff9d92ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff9d92ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff9dbf6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff9dbf6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff9dbf6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff9dbf6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff9dbf6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff9dbf7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff9dbf7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff9dbf7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff9dbfc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff9dbfc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff9dbfc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff9dbfc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff9dbfc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff9c052058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff9c052058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff9c052058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff9c052058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff9d717450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff9d6cf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff9d6cf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff9d6cf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff9d75551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaad6b859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaad6b894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaad6b8aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaad6b81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff94ca098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff94ca0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaad6b820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/rdar-6562655.m.script: line 1: 2539962 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6562655.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/rdar-6442306-1.m (1050 of 18966) ******************** TEST 'Clang :: Analysis/rdar-6442306-1.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-disable-checker=alpha.core.PointerArithm /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6442306-1.m -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-disable-checker=alpha.core.PointerArithm /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6442306-1.m -verify 1. parser at end of file 2. While analyzing stack: #0 Calling __Beeble_check__Request__SetPortalSize_t 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6442306-1.m:20:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6442306-1.m:20:7: Error evaluating statement #0 0x0000ffffae00acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffae009100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffae00b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb6f89800 (linux-vdso.so.1+0x800) #4 0x0000ffffb62829e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb62829e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb62829e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb62829e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb62829e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb62829e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb62829e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb62829e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb5f30048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb5f30048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb5f30048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb5f30048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb5f30f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb5f30f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb5f30f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb5f30f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb5f43b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb5f43b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb5f43b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb5f45060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb5f45060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb5f45060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb5f44530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb5f44530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb5f44530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb5f50b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb5f50b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb5f50b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb5f5a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb5f5a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb5f5a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb5ebeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb5ebeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb5ebeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb5ebeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb63ac8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb63ac8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb63ac8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb5fde270 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb5fde270 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb5fde270 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffffb5fde270 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffffb5ea8e38 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffb5ed1640 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffffb5ed1640 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffffb5ed187c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffffb5ed187c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffffb5ed187c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffb5ed187c clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffffb5ee1540 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffb5ee1540 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffb5ee1540 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffffb5eeac54 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffffb5eeac54 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffffb5eeac54 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffffb5eec2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #60 0x0000ffffb5eec5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #61 0x0000ffffb5eec7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #62 0x0000ffffb5eecb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffffb5eecb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffffb5eecb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffffb5eecb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffffb5eecb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #67 0x0000ffffb61b6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffffb61b6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffffb61b6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffffb61b6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffffb61b6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffffb61b7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #73 0x0000ffffb61b7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffffb61b7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffffb61bc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffffb61bc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffffb61bc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffffb61bc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffffb61bc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffffb4612058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #81 0x0000ffffb4612058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffffb4612058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #83 0x0000ffffb4612058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffffb5cd7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffffb5c8f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffffb5c8f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffffb5c8f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffffb5d1551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaace7c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaace7c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaace7caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaace7c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffffad26098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffffad260a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaace7c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/rdar-6442306-1.m.script: line 1: 2539950 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-disable-checker=alpha.core.PointerArithm /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6442306-1.m -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/rdar-6600344-nil-receiver-undefined-struct-ret.m (1051 of 18966) ******************** TEST 'Clang :: Analysis/rdar-6600344-nil-receiver-undefined-struct-ret.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6600344-nil-receiver-undefined-struct-ret.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6600344-nil-receiver-undefined-struct-ret.m 1. parser at end of file #0 0x0000ffff7705acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff77059100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7705b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff7ffd1800 (linux-vdso.so.1+0x800) #4 0x0000ffff7f2d29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff7f2d29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff7f2d29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff7f2d29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff7f2d29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff7f2d29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff7f2d29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff7f2d29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff7ef80048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff7ef80048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff7ef80048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff7ef80048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff7ef80f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff7ef80f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff7ef80f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff7ef80f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff7ef93b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff7ef93b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff7ef93b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff7ef95060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff7ef95060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff7ef95060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff7ef94530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff7ef94530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff7ef94530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff7efa0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff7efa0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff7efa0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff7efaa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff7efaa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff7efaa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff7ef0eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff7ef0eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff7ef0eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff7ef0eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff7ef0efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff7ef0efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff7ef0efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff7eee2620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff7eee2620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff7eee2620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff7ef1ef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff7ef1ef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff7ef1ef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff7ef3ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff7ef3ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff7ef3ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff7f206bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff7f206bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff7f206bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff7f206bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff7f206bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff7f207b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff7f207b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff7f207b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff7f20c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff7f20c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff7f20c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff7f20c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff7f20c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff7d662058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff7d662058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff7d662058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff7d662058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff7ed27450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff7ecdf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff7ecdf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff7ecdf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff7ed6551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaabcb959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaabcb994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaabcb9aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaabcb91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff762b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff762b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaabcb920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/rdar-6600344-nil-receiver-undefined-struct-ret.m.script: line 1: 2539978 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6600344-nil-receiver-undefined-struct-ret.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/rdar-7168531.m (1052 of 18966) ******************** TEST 'Clang :: Analysis/rdar-7168531.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -triple i386-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-7168531.m -- Exit Code: 139 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-7168531.m:6:12: warning: class 'Foo' defined without specifying a base class [-Wobjc-root-class] 6 | @interface Foo { | ^ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-7168531.m:6:15: note: add a super class to fix this problem 6 | @interface Foo { | ^ PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -triple i386-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-7168531.m 1. parser at end of file 2. While analyzing stack: #0 Calling bar 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-7168531.m:13:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-7168531.m:13:7: Error evaluating statement #0 0x0000ffffa46dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa46d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa46db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffad654800 (linux-vdso.so.1+0x800) #4 0x0000ffffac9529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffac9529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffac9529e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffac9529e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffac9529e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffac9529e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffac9529e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffac9529e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffac600048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffac600048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffac600048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffac600048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffac600f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffac600f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffac600f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffac600f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffac613b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffac613b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffac613b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffac615060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffac615060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffac615060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffac614530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffac614530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffac614530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffac620b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffac620b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffac620b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffac62a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffac62a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffac62a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffac58eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffac58eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffac58eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffac58eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffaca7c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffaca7c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffaca7c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffac6ae270 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffac6ae270 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffac6ae270 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffffac6ae270 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffffac578e38 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffac5a1640 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffffac5a1640 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffffac5a187c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffffac5a187c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffffac5a187c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffac5a187c clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffffac5b1540 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffac5b1540 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffac5b1540 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffffac5bac54 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffffac5bac54 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffffac5bac54 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffffac5bc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #60 0x0000ffffac5bc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #61 0x0000ffffac5bc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #62 0x0000ffffac5bcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffffac5bcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffffac5bcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffffac5bcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffffac5bcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #67 0x0000ffffac886bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffffac886bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffffac886bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffffac886bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffffac886bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffffac887b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #73 0x0000ffffac887b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffffac887b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffffac88c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffffac88c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffffac88c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffffac88c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffffac88c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffffaace2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #81 0x0000ffffaace2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffffaace2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #83 0x0000ffffaace2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffffac3a7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffffac35f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffffac35f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffffac35f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffffac3e551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaacc3659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaacc3694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaacc36aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaacc361fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffffa393098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffffa3930a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaacc3620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/rdar-7168531.m.script: line 1: 2539986 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -triple i386-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-7168531.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/redefined_system.c (1053 of 18966) ******************** TEST 'Clang :: Analysis/redefined_system.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx,unix,core,alpha.security.taint -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/redefined_system.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx,unix,core,alpha.security.taint -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/redefined_system.c 1. parser at end of file 2. While analyzing stack: #0 Calling foo 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/redefined_system.c:16:22: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/redefined_system.c:16:22: Error evaluating statement #0 0x0000ffff87daacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff87da9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff87dab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff90d20800 (linux-vdso.so.1+0x800) #4 0x0000ffff90006990 llvm::ImutKeyValueInfo::isEqual(clang::ento::SymExpr const* const&, clang::ento::SymExpr const* const&) /usr/include/llvm/ADT/ImmutableMap.h:45:0 #5 0x0000ffff90006990 llvm::ImutAVLFactory>::remove_internal(clang::ento::SymExpr const* const&, llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:558:0 #6 0x0000ffff90006990 llvm::ImutAVLFactory>::remove(llvm::ImutAVLTree>*, clang::ento::SymExpr const* const&) /usr/include/llvm/ADT/ImmutableSet.h:403:0 #7 0x0000ffff90006990 llvm::ImmutableMap>::Factory::remove(llvm::ImmutableMap>, clang::ento::SymExpr const* const&) /usr/include/llvm/ADT/ImmutableMap.h:105:0 #8 0x0000ffff90006990 clang::ento::ProgramStatePartialTrait>, void>::Remove(llvm::ImmutableMap>, clang::ento::SymExpr const*, llvm::ImmutableMap>::Factory&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:175:0 #9 0x0000ffff90006990 remove<(anonymous namespace)::ArraySizeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:669:0 #10 0x0000ffff90006990 remove<(anonymous namespace)::ArraySizeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:854:0 #11 0x0000ffff90006990 (anonymous namespace)::ObjCContainersChecker::checkPointerEscape(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const&, clang::ento::CallEvent const*, clang::ento::PointerEscapeKind) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ObjCContainersChecker.cpp:167:0 #12 0x0000ffff8fe5ccf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffff8fe5ccf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffff8fe5ccf0 llvm::IntrusiveRefCntPtr clang::ento::check::PointerEscape::_checkPointerEscape<(anonymous namespace)::ObjCContainersChecker>(void*, llvm::IntrusiveRefCntPtr, llvm::DenseSet> const&, clang::ento::CallEvent const*, clang::ento::PointerEscapeKind, clang::ento::RegionAndSymbolInvalidationTraits*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:386:0 #15 0x0000ffff8fc2b604 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff8fc2b604 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff8fc2b604 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, llvm::DenseSet> const&, clang::ento::CallEvent const*, clang::ento::PointerEscapeKind, clang::ento::RegionAndSymbolInvalidationTraits*)>::operator()(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const&, clang::ento::CallEvent const*, clang::ento::PointerEscapeKind, clang::ento::RegionAndSymbolInvalidationTraits*) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff8fc2b604 clang::ento::CheckerManager::runCheckersForPointerEscape(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const&, clang::ento::CallEvent const*, clang::ento::PointerEscapeKind, clang::ento::RegionAndSymbolInvalidationTraits*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:630:0 #19 0x0000ffff8fc72d4c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #20 0x0000ffff8fc72d4c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #21 0x0000ffff8fc72d4c clang::ento::ExprEngine::notifyCheckersOfPointerEscape(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, clang::ento::CallEvent const*, clang::ento::RegionAndSymbolInvalidationTraits&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3553:79 #22 0x0000ffff8fcbc804 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #23 0x0000ffff8fcbc804 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #24 0x0000ffff8fcbc804 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff8fcbc804 clang::ento::ProgramState::invalidateRegionsImpl(llvm::ArrayRef, clang::Expr const*, unsigned int, clang::LocationContext const*, bool, llvm::DenseSet>*, clang::ento::RegionAndSymbolInvalidationTraits*, clang::ento::CallEvent const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:208:0 #26 0x0000ffff8fc3fbf4 std::_Rb_tree, std::less, std::allocator>::~_Rb_tree() /usr/include/c++/12/bits/stl_tree.h:986:0 #27 0x0000ffff8fc3fbf4 std::set, std::allocator>::~set() /usr/include/c++/12/bits/stl_set.h:281:0 #28 0x0000ffff8fc3fbf4 llvm::SmallSet>::~SmallSet() /usr/include/llvm/ADT/SmallSet.h:135:0 #29 0x0000ffff8fc3fbf4 clang::ento::CallEvent::invalidateRegions(unsigned int, llvm::IntrusiveRefCntPtr) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:286:0 #30 0x0000ffff8fcbfcb0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #31 0x0000ffff8fcbfcb0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #32 0x0000ffff8fcbfcb0 clang::ento::ExprEngine::conservativeEvalCall(clang::ento::CallEvent const&, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:833:0 #33 0x0000ffff8fcc06c4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x0000ffff8fcc06c4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x0000ffff8fcc06c4 clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1266:0 #36 0x0000ffff8fc49458 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #37 0x0000ffff8fca8bec llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #38 0x0000ffff8fca8bec llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #39 0x0000ffff8fca8bec clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #40 0x0000ffff8fca8bec clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #41 0x0000ffff8fca9514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #42 0x0000ffff8fc8b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #43 0x0000ffff8fc8b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #44 0x0000ffff8fc8c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #45 0x0000ffff8fc8c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #46 0x0000ffff8fc8c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #47 0x0000ffff8fc8cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #48 0x0000ffff8fc8cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #49 0x0000ffff8fc8cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #50 0x0000ffff8fc8cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #51 0x0000ffff8fc8cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #52 0x0000ffff8ff56bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #53 0x0000ffff8ff56bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #54 0x0000ffff8ff56bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #55 0x0000ffff8ff56bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #56 0x0000ffff8ff56bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #57 0x0000ffff8ff57b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #58 0x0000ffff8ff57b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #59 0x0000ffff8ff57b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #60 0x0000ffff8ff5c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #61 0x0000ffff8ff5c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #62 0x0000ffff8ff5c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #63 0x0000ffff8ff5c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #64 0x0000ffff8ff5c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #65 0x0000ffff8e3b2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #66 0x0000ffff8e3b2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #67 0x0000ffff8e3b2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #68 0x0000ffff8e3b2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #69 0x0000ffff8fa77450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #70 0x0000ffff8fa2f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #71 0x0000ffff8fa2f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #72 0x0000ffff8fa2f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #73 0x0000ffff8fab551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #74 0x0000aaaad4ef59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #75 0x0000aaaad4ef94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #76 0x0000aaaad4efaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #77 0x0000aaaad4ef1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #78 0x0000ffff8700098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #79 0x0000ffff87000a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #80 0x0000aaaad4ef20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/redefined_system.c.script: line 1: 2539998 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx,unix,core,alpha.security.taint -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/redefined_system.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/reference.cpp (1054 of 18966) ******************** TEST 'Clang :: Analysis/reference.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -Wno-null-dereference -Wno-tautological-undefined-compare -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/reference.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -Wno-null-dereference -Wno-tautological-undefined-compare -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/reference.cpp 1. parser at end of file #0 0x0000ffffa36facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa36f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa36fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffac672800 (linux-vdso.so.1+0x800) #4 0x0000ffffab9729e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffab9729e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffab9729e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffab9729e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffab9729e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffab9729e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffab9729e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffab9729e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffab620048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffab620048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffab620048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffab620048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffab620f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffab620f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffab620f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffab620f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffab633b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffab633b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffab633b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffab635060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffab635060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffab635060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffab634530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffab634530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffab634530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffab640b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffab640b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffab640b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffab64a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffab64a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffab64a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffab5aeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffab5aeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffab5aeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffab5aeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffab5aefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffab5aefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffab5aefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffab582620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffab582620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffab582620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffab5bef2c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffab5bef2c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffab5bef2c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffab5dce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffab5dce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffab5dce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffab8a6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffab8a6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffab8a6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffab8a6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffab8a6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffab8a7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffab8a7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffab8a7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffab8ac130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffab8ac130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffab8ac130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffab8ac130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffab8ac130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa9d02058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffa9d02058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa9d02058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffa9d02058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffab3c7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffab37f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffab37f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffab37f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffab40551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaac2e059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaac2e094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaac2e0aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaac2e01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffa295098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffa2950a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaac2e020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/reference.cpp.script: line 1: 2540012 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -Wno-null-dereference -Wno-tautological-undefined-compare -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/reference.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/refcnt_naming.m (1055 of 18966) ******************** TEST 'Clang :: Analysis/refcnt_naming.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -analyzer-config ipa=none -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/refcnt_naming.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -analyzer-config ipa=none -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/refcnt_naming.m 1. parser at end of file 2. While analyzing stack: #0 Calling testNames 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/refcnt_naming.m:60:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/refcnt_naming.m:60:3: Error evaluating statement #0 0x0000ffff78bcacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff78bc9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff78bcb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff81b43800 (linux-vdso.so.1+0x800) #4 0x0000ffff80e429e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff80e429e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff80e429e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff80e429e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff80e429e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff80e429e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff80e429e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff80e429e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff80af0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff80af0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff80af0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff80af0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff80af0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff80af0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff80af0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff80af0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff80b03b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff80b03b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff80b03b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff80b05060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff80b05060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff80b05060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff80b04530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff80b04530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff80b04530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff80b10b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff80b10b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff80b10b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff80b1a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff80b1a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff80b1a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff80a7eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff80a7eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff80a7eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff80a7eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff80f6c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff80f6c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff80f6c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff80ae0afc std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffff80ae0afc std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffff80ae0afc std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffff80ae0afc std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffff80ae0afc std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffff80ae0afc clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #48 0x0000ffff80aaae08 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #49 0x0000ffff80aaae08 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #50 0x0000ffff80aac2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffff80aac5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffff80aac7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffff80aacb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff80aacb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff80aacb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff80aacb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff80aacb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff80d76bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff80d76bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff80d76bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff80d76bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff80d76bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff80d7ba04 VisitFunctionDecl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:319:0 #64 0x0000ffff80d7ba04 WalkUpFromFunctionDecl /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include/clang/AST/DeclNodes.inc:433:0 #65 0x0000ffff80d7ba04 TraverseFunctionDecl /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/RecursiveASTVisitor.h:2226:0 #66 0x0000ffff80d7ba04 clang::RecursiveASTVisitor<(anonymous namespace)::AnalysisConsumer>::TraverseDecl(clang::Decl*) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include/clang/AST/DeclNodes.inc:433:0 #67 0x0000ffff80d7c054 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:552:0 #68 0x0000ffff80d7c054 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x0000ffff7f1d2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #70 0x0000ffff7f1d2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x0000ffff7f1d2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #72 0x0000ffff7f1d2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x0000ffff80897450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #74 0x0000ffff8084f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #75 0x0000ffff8084f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #76 0x0000ffff8084f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #77 0x0000ffff808d551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #78 0x0000aaaace9759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x0000aaaace9794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x0000aaaace97aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x0000aaaace971fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x0000ffff77e2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #83 0x0000ffff77e20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #84 0x0000aaaace9720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/refcnt_naming.m.script: line 1: 2540010 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -analyzer-config ipa=none -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/refcnt_naming.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/region-store.cpp (1057 of 18966) ******************** TEST 'Clang :: Analysis/region-store.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region-store.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region-store.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling radar13445834(Derived *, Loc) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region-store.cpp:25:19: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region-store.cpp:25:19: Error evaluating statement #0 0x0000ffff9026acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff90269100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9026b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff991e4800 (linux-vdso.so.1+0x800) #4 0x0000ffff98137804 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff98137804 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff98137804 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff98137804 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff98137804 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff98137804 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff98137804 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff98137804 clang::ento::ExprEngine::getObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:607:55 #12 0x0000ffff98168680 clang::ento::ExprEngine::finishArgumentConstruction(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:640:59 #13 0x0000ffff98168824 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #14 0x0000ffff98168824 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x0000ffff98168824 clang::ento::ExprEngine::finishArgumentConstruction(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:657:72 #16 0x0000ffff98145534 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:832:0 #17 0x0000ffff9814b22c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #18 0x0000ffff9814b22c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #19 0x0000ffff9814c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #20 0x0000ffff9814c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #21 0x0000ffff9814c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #22 0x0000ffff9814cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #23 0x0000ffff9814cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #24 0x0000ffff9814cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #25 0x0000ffff9814cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #26 0x0000ffff9814cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #27 0x0000ffff98416bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x0000ffff98416bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x0000ffff98416bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #30 0x0000ffff98416bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #31 0x0000ffff98416bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #32 0x0000ffff98417b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #33 0x0000ffff98417b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x0000ffff98417b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #35 0x0000ffff9841c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff9841c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff9841c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x0000ffff9841c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x0000ffff9841c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x0000ffff96872058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #41 0x0000ffff96872058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x0000ffff96872058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #43 0x0000ffff96872058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x0000ffff97f37450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #45 0x0000ffff97eef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #46 0x0000ffff97eef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #47 0x0000ffff97eef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #48 0x0000ffff97f7551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #49 0x0000aaaab06b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x0000aaaab06b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x0000aaaab06baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x0000aaaab06b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x0000ffff8f4c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #54 0x0000ffff8f4c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #55 0x0000aaaab06b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/region-store.cpp.script: line 1: 2540037 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region-store.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/region-1.m (1058 of 18966) ******************** TEST 'Clang :: Analysis/region-1.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region-1.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region-1.m 1. parser at end of file #0 0x0000ffff82ebacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff82eb9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff82ebb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8be32800 (linux-vdso.so.1+0x800) #4 0x0000ffff8b1329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8b1329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8b1329e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8b1329e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8b1329e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8b1329e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8b1329e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8b1329e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8ade0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8ade0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8ade0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8ade0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8ade0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8ade0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8ade0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8ade0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8adf3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8adf3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8adf3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8adf5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8adf5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8adf5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8adf4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8adf4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8adf4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8ae00b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8ae00b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8ae00b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8ae0a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8ae0a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8ae0a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8ad6eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8ad6eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8ad6eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8ad6eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8ad6efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8ad6efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8ad6efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff8ad42620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff8ad42620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff8ad42620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8ad7ef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff8ad7ef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff8ad7ef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff8ad9ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff8ad9ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8ad9ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff8b066bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff8b066bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff8b066bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff8b066bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff8b066bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff8b067b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff8b067b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff8b067b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff8b06c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8b06c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8b06c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff8b06c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff8b06c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff894c2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff894c2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff894c2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff894c2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff8ab87450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff8ab3f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff8ab3f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff8ab3f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff8abc551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaabfaa59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaabfaa94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaabfaaaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaabfaa1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff8211098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff82110a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaabfaa20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/region-1.m.script: line 1: 2540031 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region-1.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/region-store.c (1059 of 18966) ******************** TEST 'Clang :: Analysis/region-store.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix,debug.ExprInspection -verify -analyzer-config eagerly-assume=false -std=c99 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region-store.c -Wno-implicit-function-declaration -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix,debug.ExprInspection -verify -analyzer-config eagerly-assume=false -std=c99 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region-store.c -Wno-implicit-function-declaration 1. parser at end of file 2. While analyzing stack: #0 Calling testConstraintOnRegionOffsetStack 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region-store.c:56:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region-store.c:56:7: Error evaluating statement #0 0x0000ffff7771acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff77719100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7771b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8069f800 (linux-vdso.so.1+0x800) #4 0x0000ffff7f9929e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff7f9929e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff7f9929e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff7f9929e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff7f9929e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff7f9929e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff7f9929e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff7f9929e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff7f640048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff7f640048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff7f640048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff7f640048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff7f640f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff7f640f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff7f640f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff7f640f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff7f653b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff7f653b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff7f653b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff7f655060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff7f655060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff7f655060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff7f654530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff7f654530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff7f654530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff7f660b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff7f660b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff7f660b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff7f66a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff7f66a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff7f66a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff7f5ceaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff7f5ceaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff7f5ceaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff7f5ceaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff7fabc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff7fabc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff7fabc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff7f6ee270 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff7f6ee270 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff7f6ee270 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffff7f6ee270 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffff7f5b8e38 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffff7f5e1640 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffff7f5e1640 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffff7f5e187c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffff7f5e187c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffff7f5e187c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff7f5e187c clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffff7f5f1540 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffff7f5f1540 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffff7f5f1540 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffff7f5fac54 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffff7f5fac54 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffff7f5fac54 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffff7f5fc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #60 0x0000ffff7f5fc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #61 0x0000ffff7f5fc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #62 0x0000ffff7f5fcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffff7f5fcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffff7f5fcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffff7f5fcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffff7f5fcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #67 0x0000ffff7f8c6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffff7f8c6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffff7f8c6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffff7f8c6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffff7f8c6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffff7f8c7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #73 0x0000ffff7f8c7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffff7f8c7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffff7f8cc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffff7f8cc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffff7f8cc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffff7f8cc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffff7f8cc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffff7dd22058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #81 0x0000ffff7dd22058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffff7dd22058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #83 0x0000ffff7dd22058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffff7f3e7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffff7f39f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffff7f39f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffff7f39f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffff7f42551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaaad9559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaaad9594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaaad95aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaaad951fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffff7697098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffff76970a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaaad9520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/region-store.c.script: line 1: 2540039 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix,debug.ExprInspection -verify -analyzer-config eagerly-assume=false -std=c99 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region-store.c -Wno-implicit-function-declaration -- ******************** Testing: 0 FAIL: Clang :: Analysis/reinterpret-cast-pointer-to-member.cpp (1060 of 18966) ******************** TEST 'Clang :: Analysis/reinterpret-cast-pointer-to-member.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/reinterpret-cast-pointer-to-member.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/reinterpret-cast-pointer-to-member.cpp 1. parser at end of file #0 0x0000ffffafebacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffafeb9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffafebb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb8e37800 (linux-vdso.so.1+0x800) #4 0x0000ffffb7d8c024 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb7d8c024 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb7d8c024 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb7d8c024 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb7d8c024 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb7d8c024 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb7d8c024 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb7d8c024 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2911:0 #12 0x0000ffffb7d8c948 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #13 0x0000ffffb7d9c974 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #14 0x0000ffffb7d9cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffb7d9cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffb7d9cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffb7d9cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffb7d9cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffffb8066bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffb8066bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffb8066bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffb8066bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffb8066bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffb8067b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffffb8067b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffb8067b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffb806c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffb806c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffb806c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffb806c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffb806c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffffb64c2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffffb64c2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffffb64c2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffffb64c2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffb7b87450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffb7b3f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffb7b3f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffb7b3f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffb7bc551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaae9ec59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaae9ec94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaae9ecaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaae9ec1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffffaf11098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffffaf110a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaae9ec20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/reinterpret-cast-pointer-to-member.cpp.script: line 1: 2540066 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/reinterpret-cast-pointer-to-member.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/region_store_overflow.c (1061 of 18966) ******************** TEST 'Clang :: Analysis/region_store_overflow.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region_store_overflow.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region_store_overflow.c 1. parser at end of file 2. While analyzing stack: #0 Calling rdar39593879 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region_store_overflow.c:14:11: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region_store_overflow.c:14:11: Error evaluating statement #0 0x0000ffff7c91acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7c919100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7c91b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff85899800 (linux-vdso.so.1+0x800) #4 0x0000ffff84b929e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff84b929e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff84b929e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff84b929e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff84b929e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff84b929e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff84b929e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff84b929e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff84840048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff84840048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff84840048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff84840048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff84840f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff84840f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff84840f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff84840f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff84853b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff84853b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff84853b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff84855060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff84855060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff84855060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff84854530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff84854530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff84854530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff84860b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff84860b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff84860b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8486a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8486a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8486a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff847ceaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff847ceaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff847ceaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff847ceaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff84cbc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff84cbc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff84cbc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff848ee270 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff848ee270 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff848ee270 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffff848ee270 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffff847b8e38 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffff847e1640 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffff847e1640 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffff847e187c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffff847e187c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffff847e187c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff847e187c clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffff847f1540 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffff847f1540 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffff847f1540 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffff847fac54 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffff847fac54 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffff847fac54 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffff847fc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #60 0x0000ffff847fc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #61 0x0000ffff847fc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #62 0x0000ffff847fcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffff847fcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffff847fcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffff847fcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffff847fcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #67 0x0000ffff84ac6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffff84ac6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffff84ac6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffff84ac6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffff84ac6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffff84ac7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #73 0x0000ffff84ac7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffff84ac7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffff84acc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffff84acc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffff84acc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffff84acc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffff84acc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffff82f22058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #81 0x0000ffff82f22058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffff82f22058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #83 0x0000ffff82f22058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffff845e7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffff8459f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffff8459f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffff8459f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffff8462551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaae01559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaae01594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaae015aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaae0151fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffff7bb7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffff7bb70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaae01520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/region_store_overflow.c.script: line 1: 2540046 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region_store_overflow.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/reinterpret-cast.cpp (1062 of 18966) ******************** TEST 'Clang :: Analysis/reinterpret-cast.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/reinterpret-cast.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/reinterpret-cast.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling radar_13146953() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/reinterpret-cast.cpp:100:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/reinterpret-cast.cpp:100:10: Error evaluating statement #0 0x0000ffffa9e6acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa9e69100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa9e6b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb2ded800 (linux-vdso.so.1+0x800) #4 0x0000ffffb20e29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb20e29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb20e29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb20e29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb20e29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb20e29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb20e29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb20e29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb1d90048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb1d90048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb1d90048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb1d90048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb1d90f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb1d90f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb1d90f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb1d90f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb1da3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb1da3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb1da3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb1da5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb1da5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb1da5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb1da4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb1da4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb1da4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb1db0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb1db0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb1db0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb1dba414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb1dba414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb1dba414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb1d1eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb1d1eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb1d1eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb1d1eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb220c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb220c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb220c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb1e3e270 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb1e3e270 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb1e3e270 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffffb1e3e270 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffffb1d08e38 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffb1d31640 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffffb1d31640 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffffb1d3187c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffffb1d3187c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffffb1d3187c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffb1d3187c clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffffb1d41540 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffb1d41540 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffb1d41540 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffffb1d4ac54 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffffb1d4ac54 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffffb1d4ac54 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffffb1d4c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #60 0x0000ffffb1d4c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #61 0x0000ffffb1d4c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #62 0x0000ffffb1d4cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffffb1d4cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffffb1d4cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffffb1d4cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffffb1d4cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #67 0x0000ffffb2016bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffffb2016bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffffb2016bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffffb2016bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffffb2016bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffffb2017b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #73 0x0000ffffb2017b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffffb2017b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffffb201c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffffb201c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffffb201c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffffb201c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffffb201c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffffb0472058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #81 0x0000ffffb0472058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffffb0472058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #83 0x0000ffffb0472058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffffb1b37450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffffb1aef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffffb1aef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffffb1aef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffffb1b7551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaadd3959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaadd3994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaadd39aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaadd391fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffffa90c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffffa90c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaadd3920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/reinterpret-cast.cpp.script: line 1: 2540065 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/reinterpret-cast.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-count-alloc.cpp (1063 of 18966) ******************** TEST 'Clang :: Analysis/retain-count-alloc.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-count-alloc.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-count-alloc.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling useAfterFree(Object *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-count-alloc.cpp:29:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-count-alloc.cpp:29:7: Error evaluating statement #0 0x0000ffffaa3dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaa3d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaa3db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb3358800 (linux-vdso.so.1+0x800) #4 0x0000ffffb26529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb26529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb26529e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb26529e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb26529e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb26529e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb26529e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb26529e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb2300048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb2300048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb2300048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb2300048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb2300f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb2300f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb2300f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb2300f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb2313b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb2313b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb2313b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb2315060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb2315060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb2315060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb2314530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb2314530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb2314530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb2320b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb2320b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb2320b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb232a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb232a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb232a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb228ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb228ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb228ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb228ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffb277c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb277c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb277c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb22a1ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb22a1ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb22a1ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffb22bc07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffb22bc07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffb22bc07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffb22bc07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffb22bc07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffb22bc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffffb22bc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffffb22bc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffffb22bcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb22bcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb22bcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb22bcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb22bcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb2586bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb2586bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb2586bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb2586bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb2586bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb2587b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb2587b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb2587b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb258c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb258c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb258c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb258c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb258c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb09e2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb09e2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb09e2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb09e2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb20a7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb205f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb205f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb205f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb20e551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae45b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae45b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae45baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae45b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa963098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa9630a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae45b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-count-alloc.cpp.script: line 1: 2540083 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-count-alloc.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-release-arc.m (1064 of 18966) ******************** TEST 'Clang :: Analysis/retain-release-arc.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -fobjc-arc -fblocks -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-arc.m -analyzer-output=text : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -fblocks -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-arc.m -analyzer-output=text -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -fobjc-arc -fblocks -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-arc.m -analyzer-output=text 1. parser at end of file 2. While analyzing stack: #0 Calling libdispatch_dispatch_released_data 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-arc.m:136:26: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-arc.m:136:26: Error evaluating statement #0 0x0000ffffaa05acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaa059100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaa05b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb2fd5800 (linux-vdso.so.1+0x800) #4 0x0000ffffb21515c8 llvm::ImutKeyValueInfo::isEqual(clang::ento::SymExpr const* const&, clang::ento::SymExpr const* const&) /usr/include/llvm/ADT/ImmutableMap.h:45:41 #5 0x0000ffffb21515c8 llvm::ImutAVLFactory>::remove_internal(clang::ento::SymExpr const* const&, llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:558:26 #6 0x0000ffffb21515c8 llvm::ImutAVLFactory>::remove(llvm::ImutAVLTree>*, clang::ento::SymExpr const* const&) /usr/include/llvm/ADT/ImmutableSet.h:403:24 #7 0x0000ffffb21515c8 llvm::ImmutableMap>::Factory::remove(llvm::ImmutableMap>, clang::ento::SymExpr const* const&) /usr/include/llvm/ADT/ImmutableMap.h:105:27 #8 0x0000ffffb21515c8 clang::ento::ProgramStatePartialTrait>, void>::Remove(llvm::ImmutableMap>, clang::ento::SymExpr const*, llvm::ImmutableMap>::Factory&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:175:27 #9 0x0000ffffb21515c8 remove<(anonymous namespace)::RefBindings> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:669:89 #10 0x0000ffffb21515c8 llvm::IntrusiveRefCntPtr clang::ento::ProgramState::remove<(anonymous namespace)::RefBindings>(clang::ento::ProgramStateTrait<(anonymous namespace)::RefBindings>::key_type) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:854:63 #11 0x0000ffffb2151c8c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #12 0x0000ffffb2151c8c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #13 0x0000ffffb2151c8c clang::ento::retaincountchecker::RetainCountChecker::checkRegionChanges(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp:1201:40 #14 0x0000ffffb2151e08 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #15 0x0000ffffb2151e08 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #16 0x0000ffffb2151e08 llvm::IntrusiveRefCntPtr clang::ento::check::RegionChanges::_checkRegionChanges(void*, llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:344:70 #17 0x0000ffffb1edb4a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #18 0x0000ffffb1edb4a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb1edb4a4 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*)>::operator()(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #20 0x0000ffffb1edb4a4 clang::ento::CheckerManager::runCheckersForRegionChanges(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:608:0 #21 0x0000ffffb1f6c6f0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #22 0x0000ffffb1f6c6f0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #23 0x0000ffffb1f6c6f0 clang::ento::ExprEngine::processRegionChanges(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:681:0 #24 0x0000ffffb1f6c6f0 clang::ento::ProgramState::invalidateRegionsImpl(llvm::ArrayRef, clang::Expr const*, unsigned int, clang::LocationContext const*, bool, llvm::DenseSet>*, clang::ento::RegionAndSymbolInvalidationTraits*, clang::ento::CallEvent const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:215:0 #25 0x0000ffffb1eefbf4 std::_Rb_tree, std::less, std::allocator>::~_Rb_tree() /usr/include/c++/12/bits/stl_tree.h:986:0 #26 0x0000ffffb1eefbf4 std::set, std::allocator>::~set() /usr/include/c++/12/bits/stl_set.h:281:0 #27 0x0000ffffb1eefbf4 llvm::SmallSet>::~SmallSet() /usr/include/llvm/ADT/SmallSet.h:135:0 #28 0x0000ffffb1eefbf4 clang::ento::CallEvent::invalidateRegions(unsigned int, llvm::IntrusiveRefCntPtr) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:286:0 #29 0x0000ffffb1f6fcb0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #30 0x0000ffffb1f6fcb0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #31 0x0000ffffb1f6fcb0 clang::ento::ExprEngine::conservativeEvalCall(clang::ento::CallEvent const&, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:833:0 #32 0x0000ffffb1f706c4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb1f706c4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb1f706c4 clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1266:0 #35 0x0000ffffb1ef9458 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #36 0x0000ffffb1f58bec llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #37 0x0000ffffb1f58bec llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #38 0x0000ffffb1f58bec clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #39 0x0000ffffb1f58bec clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #40 0x0000ffffb1f59514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #41 0x0000ffffb1f3b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #42 0x0000ffffb1f3b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #43 0x0000ffffb1f3c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #44 0x0000ffffb1f3c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #45 0x0000ffffb1f3c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #46 0x0000ffffb1f3cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #47 0x0000ffffb1f3cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #48 0x0000ffffb1f3cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #49 0x0000ffffb1f3cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #50 0x0000ffffb1f3cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #51 0x0000ffffb2206bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffb2206bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffb2206bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffb2206bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffb2206bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffb2207b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffb2207b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffb2207b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffb220c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb220c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb220c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffb220c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffb220c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffb0662058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffb0662058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffb0662058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffb0662058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffb1d27450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffb1cdf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffb1cdf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffb1cdf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffb1d6551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaac82d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaac82d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaac82daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaac82d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffa92b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffa92b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaac82d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-arc.m.script: line 2: 2540088 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -fobjc-arc -fblocks -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-arc.m -analyzer-output=text -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-release-cf-audited.m (1065 of 18966) ******************** TEST 'Clang :: Analysis/retain-release-cf-audited.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.cocoa.RetainCount -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-cf-audited.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.cocoa.RetainCount -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-cf-audited.m -x objective-c++ -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.cocoa.RetainCount -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-cf-audited.m 1. parser at end of file 2. While analyzing stack: #0 Calling testUnaudited 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-cf-audited.m:27:3: Error evaluating statement #0 0x0000ffff81c4acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff81c49100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff81c4b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8abc1800 (linux-vdso.so.1+0x800) #4 0x0000ffff89d49d48 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff89d49d48 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff89d49d48 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff89d49d48 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff89d49d48 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff89d49d48 clang::ento::ProgramStatePartialTrait>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff89d49d48 get<(anonymous namespace)::RefBindings> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff89d49d48 clang::ento::retaincountchecker::RetainCountChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp:1417:47 #12 0x0000ffff89afcbd4 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffff89b173b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffff89b173b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffff89b173b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffff89b173b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffff89b173b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffff89b173b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffff89b173b8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffff89b2c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffff89b2c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffff89b2c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffff89b2c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffff89b2c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffff89b2c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffff89b2c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffff89b2c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffff89b2c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffff89b2c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #30 0x0000ffff89b2c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #31 0x0000ffff89b2cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffff89b2cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffff89b2cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffff89b2cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffff89b2cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffff89df6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff89df6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff89df6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffff89df6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffff89df6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffff89df7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffff89df7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffff89df7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffff89dfc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffff89dfc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffff89dfc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffff89dfc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffff89dfc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffff88252058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffff88252058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffff88252058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffff88252058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffff89917450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffff898cf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffff898cf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffff898cf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffff8995551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaac3f959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaac3f994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaac3f9aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaac3f91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffff80ea098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffff80ea0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaac3f920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-cf-audited.m.script: line 2: 2540105 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.cocoa.RetainCount -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-cf-audited.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-release-cache-out.m (1066 of 18966) ******************** TEST 'Clang :: Analysis/retain-release-cache-out.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-cache-out.m -analyzer-checker=core,osx.cocoa.RetainCount -fblocks -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-cache-out.m -analyzer-checker=core,osx.cocoa.RetainCount -fblocks -verify 1. parser at end of file 2. While analyzing stack: #0 Calling testDoubleRelease2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-cache-out.m:20:10: Error evaluating statement #0 0x0000ffff99e9acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff99e99100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff99e9b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa2e10800 (linux-vdso.so.1+0x800) #4 0x0000ffffa1d58214 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa1d58214 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa1d58214 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa1d58214 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa1d58214 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa1d58214 clang::ento::ProgramStatePartialTrait>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa1d58214 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa1d58214 llvm::IntrusiveRefCntPtr clang::ento::removeDeadImpl<(anonymous namespace)::DynamicTypeMap>(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:166:15 #12 0x0000ffffa2101c58 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffffa2101c58 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffffa2101c58 clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x0000ffffa2101c58 (anonymous namespace)::DynamicTypePropagation::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp:232:0 #16 0x0000ffffa1d4cbd4 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #17 0x0000ffffa1d673b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x0000ffffa1d673b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x0000ffffa1d673b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x0000ffffa1d673b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x0000ffffa1d673b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x0000ffffa1d673b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x0000ffffa1d673b8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #24 0x0000ffffa1d7c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #25 0x0000ffffa1d7c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #26 0x0000ffffa1d7c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #27 0x0000ffffa1d7c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #28 0x0000ffffa1d7c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #29 0x0000ffffa1d7c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #30 0x0000ffffa1d7c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #31 0x0000ffffa1d7c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #32 0x0000ffffa1d7c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #33 0x0000ffffa1d7c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #34 0x0000ffffa1d7c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #35 0x0000ffffa1d7cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffa1d7cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffa1d7cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffffa1d7cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffffa1d7cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffffa2046bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffffa2046bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffffa2046bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffffa2046bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffffa2046bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffffa2047b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffffa2047b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffffa2047b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffffa204c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffffa204c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffffa204c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffffa204c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffffa204c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffffa04a2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffffa04a2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffffa04a2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffffa04a2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffffa1b67450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffffa1b1f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffffa1b1f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffffa1b1f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffffa1ba551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaada9d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaada9d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaada9daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaada9d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff990f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff990f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaada9d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-cache-out.m.script: line 1: 2540099 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-cache-out.m -analyzer-checker=core,osx.cocoa.RetainCount -fblocks -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-release-cpp-classes.cpp (1067 of 18966) ******************** TEST 'Clang :: Analysis/retain-release-cpp-classes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-cpp-classes.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-cpp-classes.cpp 1. parser at end of file #0 0x0000ffffaa44acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaa449100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaa44b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb33c2800 (linux-vdso.so.1+0x800) #4 0x0000ffffb231c024 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb231c024 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb231c024 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb231c024 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb231c024 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb231c024 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb231c024 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb231c024 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2911:0 #12 0x0000ffffb231c948 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #13 0x0000ffffb232c974 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #14 0x0000ffffb232cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffb232cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffb232cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffb232cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffb232cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffffb25f6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffb25f6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffb25f6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffb25f6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffb25f6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffb25f7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffffb25f7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffb25f7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffb25fc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffb25fc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffb25fc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffb25fc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffb25fc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffffb0a52058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffffb0a52058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffffb0a52058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffffb0a52058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffb2117450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffb20cf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffb20cf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffb20cf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffb215551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaad42b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaad42b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaad42baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaad42b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffffa96a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffffa96a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaad42b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-cpp-classes.cpp.script: line 1: 2540128 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-cpp-classes.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-release-compound-literal.m (1068 of 18966) ******************** TEST 'Clang :: Analysis/retain-release-compound-literal.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-compound-literal.m -analyzer-checker=core,osx.cocoa.RetainCount -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-compound-literal.m -analyzer-checker=core,osx.cocoa.RetainCount 1. parser at end of file 2. While analyzing stack: #0 Calling test1 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-compound-literal.m:21:7: Error evaluating statement #0 0x0000ffffadbbacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffadbb9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffadbbb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb6b3c800 (linux-vdso.so.1+0x800) #4 0x0000ffffb5cb9d48 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb5cb9d48 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb5cb9d48 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb5cb9d48 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb5cb9d48 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb5cb9d48 clang::ento::ProgramStatePartialTrait>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb5cb9d48 get<(anonymous namespace)::RefBindings> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb5cb9d48 clang::ento::retaincountchecker::RetainCountChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp:1417:47 #12 0x0000ffffb5a6cbd4 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffffb5a873b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffffb5a873b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffffb5a873b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffffb5a873b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffffb5a873b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffffb5a873b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffffb5a873b8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffffb5a9c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffffb5a9c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffffb5a9c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffffb5a9c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffffb5a9c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffffb5a9c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffffb5a9c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffffb5a9c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffffb5a9c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffffb5a9c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #30 0x0000ffffb5a9c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #31 0x0000ffffb5a9cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffffb5a9cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffffb5a9cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffffb5a9cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffffb5a9cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffffb5d66bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffb5d66bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffb5d66bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffffb5d66bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffffb5d66bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffffb5d67b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffffb5d67b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffffb5d67b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffffb5d6c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffffb5d6c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffffb5d6c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffffb5d6c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffffb5d6c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffffb41c2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffffb41c2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffffb41c2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffffb41c2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffffb5887450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffffb583f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffffb583f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffffb583f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffffb58c551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaad00f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaad00f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaad00faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaad00f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000fffface1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000fffface10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaad00f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-compound-literal.m.script: line 1: 2540119 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-compound-literal.m -analyzer-checker=core,osx.cocoa.RetainCount -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-release-inline.m (1069 of 18966) ******************** TEST 'Clang :: Analysis/retain-release-inline.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-inline.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-inline.m 1. parser at end of file #0 0x0000ffff82a4acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff82a49100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff82a4b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8b9cc800 (linux-vdso.so.1+0x800) #4 0x0000ffff8acc29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8acc29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8acc29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8acc29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8acc29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8acc29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8acc29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8acc29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8a970048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8a970048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8a970048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8a970048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8a970f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8a970f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8a970f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8a970f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8a983b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8a983b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8a983b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8a985060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8a985060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8a985060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8a984530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8a984530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8a984530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8a990b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8a990b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8a990b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8a99a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8a99a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8a99a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8a8feaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8a8feaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8a8feaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8a8feaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8a8fefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8a8fefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8a8fefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff8a8d2620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff8a8d2620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff8a8d2620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8a90ef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff8a90ef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff8a90ef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff8a92ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff8a92ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8a92ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff8abf6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff8abf6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff8abf6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff8abf6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff8abf6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff8abf7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff8abf7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff8abf7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff8abfc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8abfc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8abfc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff8abfc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff8abfc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff89052058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff89052058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff89052058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff89052058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff8a717450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff8a6cf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff8a6cf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff8a6cf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff8a75551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaacb6959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaacb6994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaacb69aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaacb691fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff81ca098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff81ca0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaacb6920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-inline.m.script: line 1: 2540132 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-inline.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-release-path-notes.m (1070 of 18966) ******************** TEST 'Clang :: Analysis/retain-release-path-notes.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-path-notes.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -analyzer-output=plist-multi-file /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-path-notes.m -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-path-notes.m.tmp : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file #0 0x0000ffff7a0dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7a0d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7a0db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff83050800 (linux-vdso.so.1+0x800) #4 0x0000ffff823529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff823529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff823529e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff823529e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff823529e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff823529e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff823529e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff823529e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff82000048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff82000048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff82000048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff82000048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff82000f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff82000f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff82000f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff82000f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff82013b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff82013b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff82013b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff82015060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff82015060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff82015060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff82014530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff82014530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff82014530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff82020b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff82020b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff82020b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8202a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8202a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8202a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff81f8eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff81f8eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff81f8eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff81f8eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff81f8efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff81f8efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff81f8efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff81f62620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff81f62620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff81f62620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff81f9ef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff81f9ef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff81f9ef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff81fbce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff81fbce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff81fbce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff82286bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff82286bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff82286bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff82286bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff82286bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff82287b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff82287b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff82287b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff8228c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8228c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8228c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff8228c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff8228c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff806e2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff806e2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff806e2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff806e2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff81da7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff81d5f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff81d5f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff81d5f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff81de551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaac13259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaac13294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaac132aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaac1321fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff7933098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff79330a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaac13220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-path-notes.m.script: line 3: 2540145 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-path-notes.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-release-safe.c (1071 of 18966) ******************** TEST 'Clang :: Analysis/retain-release-safe.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.RetainCount -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-safe.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.RetainCount -analyzer-inline-max-stack-depth=0 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-safe.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.RetainCount -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-safe.c 1. parser at end of file 2. While analyzing stack: #0 Calling releaseCFType at line 91 #1 Calling testTheOtherNamingConvention 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-safe.c:48:7: Error evaluating branch #0 0x0000ffffb23cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb23c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb23cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbb348800 (linux-vdso.so.1+0x800) #4 0x0000ffffba6429e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffba6429e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffba6429e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffba6429e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffba6429e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffba6429e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffba6429e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffba6429e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffba2f0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffba2f0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffba2f0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffba2f0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffba2f0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffba2f0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffba2f0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffba2f0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffba303b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffba303b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffba303b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffba305060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffba305060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffba305060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffba304530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffba304530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffba304530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffba310b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffba310b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffba310b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffba31a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffba31a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffba31a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffba27eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffba27eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffba27eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffba27eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffba76c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffba76c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffba76c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffba294c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffba294c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffba294c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffba294c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffba294c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffba294c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffba294c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffba294c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffba294c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffba294c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffba295200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffba2acb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffba2acb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffba2acb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffba2acb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffba2acb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffba576bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffba576bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffba576bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffba576bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffba576bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffba577b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffba577b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffba577b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffba57c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffba57c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffba57c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffba57c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffba57c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb89d2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb89d2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb89d2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb89d2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffba097450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffba04f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffba04f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffba04f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffba0d551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad9e059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad9e094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad9e0aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad9e01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffb162098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffb1620a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad9e020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-safe.c.script: line 2: 2540162 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.RetainCount -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-safe.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-release-region-store.m (1072 of 18966) ******************** TEST 'Clang :: Analysis/retain-release-region-store.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple aarch64-opencloudos-linux-gnu -analyzer-checker=core,osx.cocoa.RetainCount -analyzer-max-loop 6 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-region-store.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple aarch64-opencloudos-linux-gnu -analyzer-checker=core,osx.cocoa.RetainCount -analyzer-max-loop 6 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-region-store.m 1. parser at end of file 2. While analyzing stack: #0 Calling R8261992_test 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-region-store.m:243:14: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-region-store.m:243:14: Error evaluating statement #0 0x0000ffffa624acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa6249100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa624b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaf1c2800 (linux-vdso.so.1+0x800) #4 0x0000ffffae4c29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffae4c29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffae4c29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffae4c29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffae4c29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffae4c29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffae4c29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffae4c29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffae170048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffae170048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffae170048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffae170048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffae170f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffae170f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffae170f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffae170f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffae183b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffae183b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffae183b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffae185060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffae185060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffae185060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffae184530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffae184530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffae184530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffae190b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffae190b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffae190b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffae19a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffae19a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffae19a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffae0feaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffae0feaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffae0feaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffae0feaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffae5ec8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffae5ec8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffae5ec8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffae21e270 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffae21e270 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffae21e270 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffffae21e270 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffffae0e8e38 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffae111640 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffffae111640 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffffae11187c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffffae11187c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffffae11187c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffae11187c clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffffae121540 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffae121540 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffae121540 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffffae12ac54 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffffae12ac54 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffffae12ac54 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffffae12c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #60 0x0000ffffae12c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #61 0x0000ffffae12c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #62 0x0000ffffae12cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffffae12cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffffae12cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffffae12cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffffae12cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #67 0x0000ffffae3f6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffffae3f6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffffae3f6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffffae3f6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffffae3f6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffffae3f7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #73 0x0000ffffae3f7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffffae3f7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffffae3fc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffffae3fc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffffae3fc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffffae3fc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffffae3fc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffffac852058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #81 0x0000ffffac852058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffffac852058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #83 0x0000ffffac852058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffffadf17450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffffadecf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffffadecf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffffadecf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffffadf5551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaab49f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaab49f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaab49faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaab49f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffffa54a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffffa54a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaab49f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-region-store.m.script: line 1: 2540155 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple aarch64-opencloudos-linux-gnu -analyzer-checker=core,osx.cocoa.RetainCount -analyzer-max-loop 6 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-region-store.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-release.mm (1073 of 18966) ******************** TEST 'Clang :: Analysis/retain-release.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release.mm 1. parser at end of file 2. While analyzing stack: #0 Calling reinterpret_casts::fooBar() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release.mm:541:3: Error evaluating statement #0 0x0000ffff8409acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff84099100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8409b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8d010800 (linux-vdso.so.1+0x800) #4 0x0000ffff8c199d48 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff8c199d48 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8c199d48 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8c199d48 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8c199d48 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8c199d48 clang::ento::ProgramStatePartialTrait>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8c199d48 get<(anonymous namespace)::RefBindings> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8c199d48 clang::ento::retaincountchecker::RetainCountChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp:1417:47 #12 0x0000ffff8bf4cbd4 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffff8bf673b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffff8bf673b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffff8bf673b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffff8bf673b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffff8bf673b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffff8bf673b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffff8bf673b8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffff8bf7c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffff8bf7c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffff8bf7c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffff8bf7c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffff8bf7c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffff8bf7c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffff8bf7c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffff8bf7c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffff8bf7c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffff8bf7c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #30 0x0000ffff8bf7c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #31 0x0000ffff8bf7cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffff8bf7cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffff8bf7cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffff8bf7cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffff8bf7cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffff8c246bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff8c246bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff8c246bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffff8c246bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffff8c246bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffff8c247b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffff8c247b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffff8c247b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffff8c24c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffff8c24c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffff8c24c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffff8c24c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffff8c24c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffff8a6a2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffff8a6a2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffff8a6a2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffff8a6a2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffff8bd67450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffff8bd1f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffff8bd1f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffff8bd1f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffff8bda551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaadd1959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaadd1994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaadd19aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaadd191fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffff832f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffff832f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaadd1920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release.mm.script: line 1: 2540222 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-release.m (1074 of 18966) ******************** TEST 'Clang :: Analysis/retain-release.m' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -f /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release.m.tmp.objc.plist /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release.m.tmp.objcpp.plist : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease -analyzer-checker=osx.cocoa.ClassRelease,osx.cocoa.RetainCount -analyzer-checker=debug.ExprInspection -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release.m -Wno-objc-root-class -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release.m.tmp.objc.plist : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease -analyzer-checker=osx.cocoa.ClassRelease,osx.cocoa.RetainCount -analyzer-checker=debug.ExprInspection -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release.m -Wno-objc-root-class -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release.m.tmp.objcpp.plist -x objective-c++ -std=gnu++98 : 'RUN: at line 13'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease -analyzer-checker=osx.cocoa.ClassRelease,osx.cocoa.RetainCount -analyzer-checker=debug.ExprInspection -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release.m -Wno-objc-root-class -x objective-c++ -std=gnu++98 -analyzer-config osx.cocoa.RetainCount:TrackNSCFStartParam=true -DTRACK_START_PARAM : 'RUN: at line 20'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' .* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling testCFReturnsRetainedError 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release.m:2397:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release.m:2397:7: Error evaluating statement #0 0x0000ffff8e9facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8e9f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8e9fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff97975800 (linux-vdso.so.1+0x800) #4 0x0000ffff96c729e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff96c729e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff96c729e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff96c729e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff96c729e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff96c729e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff96c729e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff96c729e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff96920048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff96920048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff96920048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff96920048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff96920f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff96920f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff96920f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff96920f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff96933b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff96933b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff96933b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff96935060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff96935060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff96935060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff96934530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff96934530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff96934530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff96940b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff96940b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff96940b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9694a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9694a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9694a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff968aea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff968aea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff968aea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff968aea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff96d9c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff96d9c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff96d9c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff968c1ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff968c1ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff968c1ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff968dc07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff968dc07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff968dc07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff968dc07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff968dc07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff968dc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffff968dc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffff968dc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffff968dcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff968dcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff968dcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff968dcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff968dcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff96ba6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff96ba6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff96ba6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff96ba6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff96ba6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff96ba7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff96ba7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff96ba7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff96bac130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff96bac130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff96bac130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff96bac130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff96bac130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff95002058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff95002058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff95002058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff95002058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff966c7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9667f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9667f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9667f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9670551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaaf4f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaaf4f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaaf4faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaaf4f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8dc5098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff8dc50a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaaf4f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release.m.script: line 6: 2540225 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease -analyzer-checker=osx.cocoa.ClassRelease,osx.cocoa.RetainCount -analyzer-checker=debug.ExprInspection -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release.m -Wno-objc-root-class -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release.m.tmp.objc.plist -- ******************** Testing: 0 FAIL: Clang :: Analysis/return-ptr-range.cpp (1076 of 18966) ******************** TEST 'Clang :: Analysis/return-ptr-range.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.security.ReturnPtrRange -analyzer-output text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-ptr-range.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.security.ReturnPtrRange -analyzer-output text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-ptr-range.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_array_of_struct::test_struct_array() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-ptr-range.cpp:108:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-ptr-range.cpp:108:7: Error evaluating statement #0 0x0000ffff7f44acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7f449100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7f44b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff883cb800 (linux-vdso.so.1+0x800) #4 0x0000ffff876c29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff876c29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff876c29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff876c29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff876c29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff876c29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff876c29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff876c29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff87370048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff87370048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff87370048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff87370048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff87370f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff87370f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff87370f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff87370f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff87383b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff87383b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff87383b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff87385060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff87385060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff87385060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff87384530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff87384530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff87384530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff87390b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff87390b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff87390b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8739a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8739a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8739a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff872feaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff872feaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff872feaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff872feaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff877ec8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff877ec8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff877ec8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff87311ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff87311ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff87311ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff8732c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff8732c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff8732c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff8732c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff8732c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff8732c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffff8732c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffff8732c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffff8732cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8732cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8732cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8732cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8732cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff875f6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff875f6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff875f6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff875f6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff875f6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff875f7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff875f7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff875f7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff875fc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff875fc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff875fc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff875fc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff875fc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff85a52058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff85a52058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff85a52058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff85a52058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff87117450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff870cf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff870cf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff870cf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8715551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae8ed59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae8ed94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae8edaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae8ed1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7e6a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7e6a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae8ed20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/return-ptr-range.cpp.script: line 1: 2540237 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.security.ReturnPtrRange -analyzer-output text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-ptr-range.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/retaincountchecker-compoundregion.m (1077 of 18966) ******************** TEST 'Clang :: Analysis/retaincountchecker-compoundregion.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -fblocks -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retaincountchecker-compoundregion.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -fblocks -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retaincountchecker-compoundregion.m 1. parser at end of file 2. While analyzing stack: #0 Calling foo 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retaincountchecker-compoundregion.m:23:20: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retaincountchecker-compoundregion.m:23:20: Error evaluating statement #0 0x0000ffff7c3dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7c3d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7c3db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8535b800 (linux-vdso.so.1+0x800) #4 0x0000ffff844d0db0 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff844d0db0 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff844d0db0 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff844d0db0 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff844d0db0 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff844d0db0 clang::ento::ProgramStatePartialTrait>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff844d0db0 get<(anonymous namespace)::RefBindings> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff844d0db0 clang::ento::retaincountchecker::RetainCountChecker::evalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp:1159:45 #12 0x0000ffff844d14c8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffff844d14c8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffff844d14c8 llvm::IntrusiveRefCntPtr clang::ento::eval::Assume::_evalAssume(void*, llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:463:74 #15 0x0000ffff8425b758 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff8425b758 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff8425b758 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff8425b758 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffff84320be4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff84320be4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff84320be4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffff84320be4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffff8432a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffff8432a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff8432a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #26 0x0000ffff8428ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8428ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8428ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffff8428ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffff8477c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff8477c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff8477c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #33 0x0000ffff843ae270 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #34 0x0000ffff843ae270 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #35 0x0000ffff843ae270 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #36 0x0000ffff843ae270 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #37 0x0000ffff84278e38 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #38 0x0000ffff842a1640 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #39 0x0000ffff842a1640 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #40 0x0000ffff842a187c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #41 0x0000ffff842a187c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #42 0x0000ffff842a187c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #43 0x0000ffff842a187c clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #44 0x0000ffff842b1540 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff842b1540 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff842b1540 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #47 0x0000ffff842bac54 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #48 0x0000ffff842bac54 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #49 0x0000ffff842bac54 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #50 0x0000ffff842bc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffff842bc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffff842bc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffff842bcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff842bcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff842bcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff842bcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff842bcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff84586bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff84586bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff84586bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff84586bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff84586bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff84587b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff84587b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff84587b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8458c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8458c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8458c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8458c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8458c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff829e2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff829e2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff829e2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff829e2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff840a7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8405f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8405f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8405f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff840e551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaab3059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaab3094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaab30aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaab301fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7b63098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7b630a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaab3020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retaincountchecker-compoundregion.m.script: line 1: 2540233 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -fblocks -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retaincountchecker-compoundregion.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/return-stmt-merge.cpp (1078 of 18966) ******************** TEST 'Clang :: Analysis/return-stmt-merge.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.AnalysisOrder,debug.ExprInspection -analyzer-config debug.AnalysisOrder:PreCall=true,debug.AnalysisOrder:PostCall=true,debug.AnalysisOrder:LiveSymbols=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-stmt-merge.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-stmt-merge.cpp -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-stmt-merge.cpp:33:16: error: CHECK-NEXT: is not on the line after the previous match // CHECK-NEXT: LiveSymbols ^ :12:456: note: 'next' match was here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.AnalysisOrder,debug.ExprInspection -analyzer-config debug.AnalysisOrder:PreCall=true,debug.AnalysisOrder:PostCall=true,debug.AnalysisOrder:LiveSymbols=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-stmt-merge.cpp ^ :9:12: note: previous match ended here LiveSymbols ^ :10:1: note: non-matching line after previous match is here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-stmt-merge.cpp -dump-input=help explains the following input dump. Input was: <<<<<< . . . 7: PostCall (coin) [SimpleFunctionCall] 8: LiveSymbols 9: LiveSymbols 10: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. 11: Stack dump: 12: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.AnalysisOrder,debug.ExprInspection -analyzer-config debug.AnalysisOrder:PreCall=true,debug.AnalysisOrder:PostCall=true,debug.AnalysisOrder:LiveSymbols=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-stmt-merge.cpp next:33 !~~~~~~~~~~ error: match on wrong line 13: 1. parser at end of file 14: 2. While analyzing stack: 15: #0 Calling foo() at line 21 16: #1 Calling bar() 17: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-stmt-merge.cpp:17:5: Error evaluating statement . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/return-value-guaranteed.cpp (1079 of 18966) ******************** TEST 'Clang :: Analysis/return-value-guaranteed.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,apiModeling.llvm.ReturnValue -analyzer-output=text -verify=class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-value-guaranteed.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,apiModeling.llvm.ReturnValue -analyzer-output=text -verify=class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-value-guaranteed.cpp 1. parser at end of file #0 0x0000ffff9c3facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9c3f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9c3fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa5379800 (linux-vdso.so.1+0x800) #4 0x0000ffffa42cc024 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa42cc024 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa42cc024 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa42cc024 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa42cc024 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa42cc024 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa42cc024 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa42cc024 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2911:0 #12 0x0000ffffa42cc948 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #13 0x0000ffffa42dc974 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #14 0x0000ffffa42dcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffa42dcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffa42dcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffa42dcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffa42dcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffffa45a6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffa45a6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffa45a6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffa45a6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffa45a6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffa45a7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffffa45a7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffa45a7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffa45ac130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffa45ac130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffa45ac130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffa45ac130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffa45ac130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffffa2a02058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffffa2a02058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffffa2a02058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffffa2a02058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffa40c7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffa407f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffa407f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffa407f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffa410551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaac09359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaac09394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaac093aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaac0931fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff9b65098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff9b650a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaac09320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/return-value-guaranteed.cpp.script: line 1: 2540269 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,apiModeling.llvm.ReturnValue -analyzer-output=text -verify=class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-value-guaranteed.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/runtime-regression.c (1087 of 18966) ******************** TEST 'Clang :: Analysis/runtime-regression.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/runtime-regression.c -analyzer-checker=core,alpha.security.ArrayBoundV2 -analyzer-checker=debug.ExprInspection -triple x86_64-unknown-linux-gnu -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/runtime-regression.c -analyzer-checker=core,alpha.security.ArrayBoundV2 -analyzer-checker=debug.ExprInspection -triple x86_64-unknown-linux-gnu -verify 1. parser at end of file 2. While analyzing stack: #0 Calling filter_slice_word 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/runtime-regression.c:21:22: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/runtime-regression.c:21:22: Error evaluating statement #0 0x0000ffffb39dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb39d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb39db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbc954800 (linux-vdso.so.1+0x800) #4 0x0000ffffbbc529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbbc529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbbc529e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbbc529e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbbc529e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbbc529e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbbc529e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbbc529e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbb900048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbb900048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbb900048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbb900048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbb900f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbb900f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbb900f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbb900f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbb914cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbb914cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbb914cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffbb914f90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbb914f90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbb914f90 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffbb914530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbb914530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbb914530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbb920b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbb920b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbb920b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbb92a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbb92a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbb92a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbb88eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbb88eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbb88eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbb88eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbb9af1d8 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:9 #40 0x0000ffffbb9af1d8 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:21 #41 0x0000ffffbb9af1d8 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:44 #42 0x0000ffffbb9af1d8 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:25 #43 0x0000ffffbb9af1d8 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:44 #44 0x0000ffffbb9af1d8 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp:99:11 #45 0x0000ffffbb9af1d8 void clang::ento::check::PreStmt::_checkStmt<(anonymous namespace)::DivZeroChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:85:45 #46 0x0000ffffbb8774f8 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffbb8774f8 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #48 0x0000ffffbb8af188 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #49 0x0000ffffbb8af188 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #50 0x0000ffffbb8af188 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #51 0x0000ffffbb8af188 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #52 0x0000ffffbb8af188 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #53 0x0000ffffbb8af188 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #54 0x0000ffffbb8af188 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:50:0 #55 0x0000ffffbb8bbfa8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #56 0x0000ffffbb8bc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #57 0x0000ffffbb8bc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #58 0x0000ffffbb8bc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #59 0x0000ffffbb8bcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffbb8bcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffbb8bcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffffbb8bcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffffbb8bcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #64 0x0000ffffbbb86bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffffbbb86bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffffbbb86bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffffbbb86bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffffbbb86bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffffbbb87b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #70 0x0000ffffbbb87b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffffbbb87b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffffbbb8c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffffbbb8c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffffbbb8c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffffbbb8c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffffbbb8c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffffb9fe2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #78 0x0000ffffb9fe2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffffb9fe2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #80 0x0000ffffb9fe2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffffbb6a7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffffbb65f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffffbb65f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffffbb65f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffffbb6e551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaae44b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaae44b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaae44baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaae44b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffffb2c3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffffb2c30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaae44b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/runtime-regression.c.script: line 1: 2540283 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/runtime-regression.c -analyzer-checker=core,alpha.security.ArrayBoundV2 -analyzer-checker=debug.ExprInspection -triple x86_64-unknown-linux-gnu -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/returns_nonnull-attribute.cpp (1088 of 18966) ******************** TEST 'Clang :: Analysis/returns_nonnull-attribute.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,apiModeling.TrustReturnsNonnull -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/returns_nonnull-attribute.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,apiModeling.TrustReturnsNonnull -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/returns_nonnull-attribute.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test(void *(*)(void)) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/returns_nonnull-attribute.cpp:20:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/returns_nonnull-attribute.cpp:20:3: Error evaluating statement #0 0x0000ffff86beacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff86be9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff86beb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8fb61800 (linux-vdso.so.1+0x800) #4 0x0000ffff8ee629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8ee629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8ee629e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8ee629e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8ee629e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8ee629e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8ee629e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8ee629e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8eb10048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8eb10048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8eb10048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8eb10048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8eb10f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8eb10f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8eb10f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8eb10f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8eb23b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8eb23b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8eb23b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8eb25060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8eb25060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8eb25060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8eb24530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8eb24530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8eb24530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8eb30b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8eb30b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8eb30b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8eb3a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8eb3a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8eb3a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8ea9eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8ea9eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8ea9eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8ea9eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8ef8c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8ef8c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8ef8c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8eb73908 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff8eb73908 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff8eb73908 checkFunctionPointerCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:390:79 #45 0x0000ffff8eb73908 checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:546:37 #46 0x0000ffff8eb73908 void clang::ento::check::PreCall::_checkCall<(anonymous namespace)::CallAndMessageChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:168:45 #47 0x0000ffff8ea889a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #48 0x0000ffff8ea889a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #49 0x0000ffff8ea889a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #50 0x0000ffff8ea889a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #51 0x0000ffff8ea889a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #52 0x0000ffff8eae8b70 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #53 0x0000ffff8eae8b70 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #54 0x0000ffff8eae8b70 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #55 0x0000ffff8eae8b70 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #56 0x0000ffff8eae8b70 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #57 0x0000ffff8eae8b70 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #58 0x0000ffff8eae8b70 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:683:44 #59 0x0000ffff8eae9514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #60 0x0000ffff8eacb270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #61 0x0000ffff8eacb270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #62 0x0000ffff8eacc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #63 0x0000ffff8eacc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #64 0x0000ffff8eacc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #65 0x0000ffff8eaccb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x0000ffff8eaccb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x0000ffff8eaccb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #68 0x0000ffff8eaccb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #69 0x0000ffff8eaccb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #70 0x0000ffff8ed96bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #71 0x0000ffff8ed96bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #72 0x0000ffff8ed96bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #73 0x0000ffff8ed96bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #74 0x0000ffff8ed96bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #75 0x0000ffff8ed97b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #76 0x0000ffff8ed97b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x0000ffff8ed97b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #78 0x0000ffff8ed9c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x0000ffff8ed9c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x0000ffff8ed9c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x0000ffff8ed9c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x0000ffff8ed9c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x0000ffff8d1f2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #84 0x0000ffff8d1f2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x0000ffff8d1f2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #86 0x0000ffff8d1f2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x0000ffff8e8b7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #88 0x0000ffff8e86f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #89 0x0000ffff8e86f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #90 0x0000ffff8e86f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #91 0x0000ffff8e8f551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #92 0x0000aaaade7e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x0000aaaade7e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x0000aaaade7eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x0000aaaade7e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x0000ffff85e4098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #97 0x0000ffff85e40a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #98 0x0000aaaade7e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/returns_nonnull-attribute.cpp.script: line 1: 2540276 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,apiModeling.TrustReturnsNonnull -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/returns_nonnull-attribute.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/rvo.cpp (1092 of 18966) ******************** TEST 'Clang :: Analysis/rvo.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker core,cplusplus -std=c++14 -analyzer-checker debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rvo.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker core,cplusplus -std=c++14 -analyzer-checker debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rvo.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rvo.cpp:20:5: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rvo.cpp:20:5: Error evaluating statement #0 0x0000ffffaf48acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaf489100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaf48b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb8407800 (linux-vdso.so.1+0x800) #4 0x0000ffffb7357804 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb7357804 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb7357804 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb7357804 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb7357804 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb7357804 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb7357804 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffffb7357804 clang::ento::ExprEngine::getObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:607:55 #12 0x0000ffffb73203fc std::_Optional_base_impl>::_M_is_engaged() const /usr/include/c++/12/optional:471:0 #13 0x0000ffffb73203fc std::optional::has_value() const /usr/include/c++/12/optional:988:0 #14 0x0000ffffb73203fc clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:431:0 #15 0x0000ffffb73203fc addParameterValuesToBindings(clang::StackFrameContext const*, llvm::SmallVectorImpl>&, clang::ento::SValBuilder&, clang::ento::CallEvent const&, llvm::ArrayRef) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:478:0 #16 0x0000ffffb73213fc clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x0000ffffb73213fc clang::ento::AnyCXXConstructorCall::getInitialStackFrameContents(clang::StackFrameContext const*, llvm::SmallVectorImpl>&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:915:0 #18 0x0000ffffb73e2050 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #19 0x0000ffffb73e2050 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #20 0x0000ffffb739d2d8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #21 0x0000ffffb739d2d8 clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #22 0x0000ffffb739d488 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #23 0x0000ffffb739d488 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffffb739d488 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #25 0x0000ffffb739ff20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x0000ffffb739ff20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x0000ffffb739ff20 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #28 0x0000ffffb73a094c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #29 0x0000ffffb73a094c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffffb73a094c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffffb73a094c clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #32 0x0000ffffb7329458 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #33 0x0000ffffb73653f8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #34 0x0000ffffb73653f8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #35 0x0000ffffb73653f8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #36 0x0000ffffb73653f8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #37 0x0000ffffb73653f8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #38 0x0000ffffb73653f8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #39 0x0000ffffb73653f8 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #40 0x0000ffffb736b22c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #41 0x0000ffffb736b22c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #42 0x0000ffffb736c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #43 0x0000ffffb736c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #44 0x0000ffffb736c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #45 0x0000ffffb736cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffffb736cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffffb736cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #48 0x0000ffffb736cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #49 0x0000ffffb736cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #50 0x0000ffffb7636bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffffb7636bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffb7636bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #53 0x0000ffffb7636bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #54 0x0000ffffb7636bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #55 0x0000ffffb7637b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #56 0x0000ffffb7637b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x0000ffffb7637b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #58 0x0000ffffb763c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffffb763c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffffb763c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x0000ffffb763c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x0000ffffb763c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x0000ffffb5a92058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #64 0x0000ffffb5a92058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x0000ffffb5a92058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #66 0x0000ffffb5a92058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x0000ffffb7157450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #68 0x0000ffffb710f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #69 0x0000ffffb710f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #70 0x0000ffffb710f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #71 0x0000ffffb719551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #72 0x0000aaaab06859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #73 0x0000aaaab06894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #74 0x0000aaaab068aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #75 0x0000aaaab0681fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #76 0x0000ffffae6e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #77 0x0000ffffae6e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #78 0x0000aaaab06820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/rvo.cpp.script: line 1: 2540294 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker core,cplusplus -std=c++14 -analyzer-checker debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rvo.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/self-init.m (1095 of 18966) ******************** TEST 'Clang :: Analysis/self-init.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.SelfInit -analyzer-config ipa=dynamic -fno-builtin /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/self-init.m -verify : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.SelfInit -fno-builtin /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/self-init.m -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.SelfInit -analyzer-config ipa=dynamic -fno-builtin /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/self-init.m -verify 1. parser at end of file #0 0x0000ffff9519acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff95199100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9519b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9e11a800 (linux-vdso.so.1+0x800) #4 0x0000ffff9d4129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9d4129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9d4129e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9d4129e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9d4129e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9d4129e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9d4129e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9d4129e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9d0c0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9d0c0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9d0c0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9d0c0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9d0c0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9d0c0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9d0c0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9d0c0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9d0d3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9d0d3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9d0d3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9d0d5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9d0d5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9d0d5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9d0d4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9d0d4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9d0d4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9d0e0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9d0e0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9d0e0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9d0ea414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9d0ea414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9d0ea414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9d04eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9d04eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9d04eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9d04eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9d04efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9d04efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9d04efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff9d022620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff9d022620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff9d022620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff9d05ef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff9d05ef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff9d05ef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff9d07ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff9d07ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff9d07ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff9d346bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff9d346bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff9d346bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff9d346bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff9d346bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff9d347b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff9d347b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff9d347b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff9d34c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff9d34c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff9d34c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff9d34c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff9d34c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff9b7a2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff9b7a2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff9b7a2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff9b7a2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff9ce67450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff9ce1f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff9ce1f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff9ce1f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff9cea551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaad89a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaad89a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaad89aaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaad89a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff943f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff943f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaad89a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/self-init.m.script: line 2: 2540500 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.SelfInit -analyzer-config ipa=dynamic -fno-builtin /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/self-init.m -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/self-assign.cpp (1096 of 18966) ******************** TEST 'Clang :: Analysis/self-assign.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/self-assign.cpp -verify -analyzer-output=text -analyzer-checker=core -analyzer-checker=cplusplus -analyzer-checker=unix.Malloc -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/self-assign.cpp -verify -analyzer-output=text -analyzer-checker=core -analyzer-checker=cplusplus -analyzer-checker=unix.Malloc -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false 1. parser at end of file 2. While analyzing stack: #0 Calling main() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/self-assign.cpp:116:14: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/self-assign.cpp:116:14: Error evaluating statement #0 0x0000ffff9c8cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9c8c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9c8cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa584d800 (linux-vdso.so.1+0x800) #4 0x0000ffffa4797804 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa4797804 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa4797804 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa4797804 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa4797804 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa4797804 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa4797804 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffffa4797804 clang::ento::ExprEngine::getObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:607:55 #12 0x0000ffffa47603fc std::_Optional_base_impl>::_M_is_engaged() const /usr/include/c++/12/optional:471:0 #13 0x0000ffffa47603fc std::optional::has_value() const /usr/include/c++/12/optional:988:0 #14 0x0000ffffa47603fc clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:431:0 #15 0x0000ffffa47603fc addParameterValuesToBindings(clang::StackFrameContext const*, llvm::SmallVectorImpl>&, clang::ento::SValBuilder&, clang::ento::CallEvent const&, llvm::ArrayRef) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:478:0 #16 0x0000ffffa47613fc clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x0000ffffa47613fc clang::ento::AnyCXXConstructorCall::getInitialStackFrameContents(clang::StackFrameContext const*, llvm::SmallVectorImpl>&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:915:0 #18 0x0000ffffa4822050 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #19 0x0000ffffa4822050 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #20 0x0000ffffa47dd2d8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #21 0x0000ffffa47dd2d8 clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #22 0x0000ffffa47dd488 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #23 0x0000ffffa47dd488 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffffa47dd488 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #25 0x0000ffffa47dff20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x0000ffffa47dff20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x0000ffffa47dff20 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #28 0x0000ffffa47e094c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #29 0x0000ffffa47e094c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffffa47e094c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffffa47e094c clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #32 0x0000ffffa4769458 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #33 0x0000ffffa47a53f8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #34 0x0000ffffa47a53f8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #35 0x0000ffffa47a53f8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #36 0x0000ffffa47a53f8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #37 0x0000ffffa47a53f8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #38 0x0000ffffa47a53f8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #39 0x0000ffffa47a53f8 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #40 0x0000ffffa47ab22c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #41 0x0000ffffa47ab22c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #42 0x0000ffffa47ac2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #43 0x0000ffffa47ac5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #44 0x0000ffffa47ac7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #45 0x0000ffffa47acb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffffa47acb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffffa47acb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #48 0x0000ffffa47acb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #49 0x0000ffffa47acb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #50 0x0000ffffa4a76bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffffa4a76bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffa4a76bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #53 0x0000ffffa4a76bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #54 0x0000ffffa4a76bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #55 0x0000ffffa4a77b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #56 0x0000ffffa4a77b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x0000ffffa4a77b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #58 0x0000ffffa4a7c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffffa4a7c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffffa4a7c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x0000ffffa4a7c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x0000ffffa4a7c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x0000ffffa2ed2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #64 0x0000ffffa2ed2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x0000ffffa2ed2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #66 0x0000ffffa2ed2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x0000ffffa4597450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #68 0x0000ffffa454f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #69 0x0000ffffa454f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #70 0x0000ffffa454f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #71 0x0000ffffa45d551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #72 0x0000aaaaac0559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #73 0x0000aaaaac0594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #74 0x0000aaaaac05aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #75 0x0000aaaaac051fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #76 0x0000ffff9bb2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #77 0x0000ffff9bb20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #78 0x0000aaaaac0520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/self-assign.cpp.script: line 1: 2540490 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/self-assign.cpp -verify -analyzer-output=text -analyzer-checker=core -analyzer-checker=cplusplus -analyzer-checker=unix.Malloc -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -- ******************** Testing: 0 FAIL: Clang :: Analysis/scan-build/silence-core-checkers.test (1099 of 18966) ******************** TEST 'Clang :: Analysis/scan-build/silence-core-checkers.test' FAILED ******************** Script: -- : 'RUN: at line 4'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir && mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir : 'RUN: at line 5'; '/builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/bin/scan-build' --use-analyzer=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17 -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -S /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/null_dereference_and_division_by_zero.c | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/silence-core-checkers.test -check-prefix CHECK-TWO-BUGS : 'RUN: at line 9'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir && mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir : 'RUN: at line 10'; '/builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/bin/scan-build' --use-analyzer=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17 -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir -disable-checker core.DivideZero /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -S /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/null_dereference_and_division_by_zero.c | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/silence-core-checkers.test -check-prefix CHECK-ONE-BUG : 'RUN: at line 15'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir && mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir : 'RUN: at line 16'; '/builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/bin/scan-build' --use-analyzer=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17 -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir -disable-checker core.NullDereference /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -S /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/null_dereference_and_division_by_zero.c | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/silence-core-checkers.test -check-prefix CHECK-ONE-BUG : 'RUN: at line 21'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir && mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir : 'RUN: at line 22'; '/builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/bin/scan-build' --use-analyzer=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17 -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir -disable-checker core.NullDereference -disable-checker core.DivideZero /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -S /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/null_dereference_and_division_by_zero.c | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/silence-core-checkers.test -check-prefix CHECK-NO-BUGS -- Exit Code: 1 Command Output (stdout): -- $ ":" "RUN: at line 4" $ "rm" "-rf" "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir" $ "mkdir" "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir" $ ":" "RUN: at line 5" $ "/builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/bin/scan-build" "--use-analyzer=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17" "-o" "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir" "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang" "-S" "/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/null_dereference_and_division_by_zero.c" # command stderr: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17 -cc1 -triple aarch64-opencloudos-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name null_dereference_and_division_by_zero.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=non-leaf -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu generic -target-feature +neon -target-feature +v8a -target-abi aapcs -debugger-tuning=gdb -fcoverage-compilation-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build -resource-dir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/lib/gcc/aarch64-OpenCloudOS-linux/12/../../../../aarch64-OpenCloudOS-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build -ferror-limit 19 -fno-signed-char -fgnuc-version=4.2.1 -analyzer-output=html -target-feature +outline-atomics -target-feature -fmv -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir/2024-05-29-122103-2540438-1 -x c /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/null_dereference_and_division_by_zero.c 1. parser at end of file 2. While analyzing stack: #0 Calling test 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/null_dereference_and_division_by_zero.c:2:7: Error evaluating branch #0 0x0000ffff916dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff916d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff916db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9a656800 (linux-vdso.so.1+0x800) #4 0x0000ffff999529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff999529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff999529e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff999529e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff999529e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff999529e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff999529e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff999529e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff99600048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff99600048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff99600048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff99600048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff99600f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff99600f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff99600f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff99600f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff99614cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff99614cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff99614cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff99614f90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff99614f90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff99614f90 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff99614530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff99614530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff99614530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff99620b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff99620b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff99620b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9962a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9962a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9962a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9958eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9958eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9958eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9958eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff99a7c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff99a7c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff99a7c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff995a4c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff995a4c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff995a4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff995a4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff995a4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff995a4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff995a4c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff995a4c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff995a4c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff995a4c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff995a5200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff995bcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff995bcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff995bcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff995bcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff995bcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff99886bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff99886bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff99886bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff99886bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff99886bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff99887b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff99887b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff99887b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9988c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9988c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9988c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9988c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9988c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff97ce2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff97ce2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff97ce2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff97ce2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff993a7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9935f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9935f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9935f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff993e551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaaf8359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaaf8394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaaf83aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaaf831fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9093098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff90930a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaaf8320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17+0x120b0) $ "/usr/bin/FileCheck" "/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/silence-core-checkers.test" "-check-prefix" "CHECK-TWO-BUGS" # command stderr: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/silence-core-checkers.test:30:17: error: CHECK-TWO-BUGS: expected string not found in input CHECK-TWO-BUGS: scan-build: 2 bugs found. ^ :1:1: note: scanning from here scan-build: Using '/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17' for static analysis ^ :3:1: note: possible intended match here scan-build: 0 bugs found. ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/silence-core-checkers.test -dump-input=help explains the following input dump. Input was: <<<<<< 1: scan-build: Using '/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17' for static analysis check:30'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: scan-build: Analysis run complete. check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3: scan-build: 0 bugs found. check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~ check:30'1 ? possible intended match 4: scan-build: The analyzer encountered problems on some source files. check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: scan-build: Preprocessed versions of these sources were deposited in '/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir/2024-05-29-122103-2540438-1/failures'. check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: scan-build: Please consider submitting a bug report using these files: check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: scan-build: http://clang-analyzer.llvm.org/filing_bugs.html check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>>>>> error: command failed with exit status: 1 -- ******************** Testing: 0 FAIL: Clang :: Analysis/shallow-mode.m (1100 of 18966) ******************** TEST 'Clang :: Analysis/shallow-mode.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config mode=shallow -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/shallow-mode.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config mode=shallow -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/shallow-mode.m 1. parser at end of file #0 0x0000ffffae4cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffae4c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffae4cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb7449800 (linux-vdso.so.1+0x800) #4 0x0000ffffb67429e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb67429e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb67429e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb67429e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb67429e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb67429e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb67429e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb67429e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb63f0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb63f0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb63f0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb63f0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb63f0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb63f0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb63f0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb63f0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb6403b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb6403b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb6403b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb6405060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb6405060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb6405060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb6404530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb6404530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb6404530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb6410b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb6410b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb6410b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb641a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb641a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb641a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb637eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb637eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb637eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb637eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb637efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb637efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb637efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb6352620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffb6352620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffb6352620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffb638ef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffb638ef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffb638ef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffb63ace78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffb63ace78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffb63ace78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffb6676bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffb6676bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffb6676bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffb6676bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffb6676bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffb6677b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffb6677b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffb6677b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffb667c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb667c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb667c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffb667c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffb667c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffb4ad2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffb4ad2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffb4ad2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffb4ad2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffb6197450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffb614f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffb614f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffb614f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffb61d551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaaacdd59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaaacdd94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaaacddaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaaacdd1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffad72098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffad720a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaaacdd20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/shallow-mode.m.script: line 1: 2540520 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config mode=shallow -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/shallow-mode.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/silence-checkers-and-packages-core-all.cpp (1101 of 18966) ******************** TEST 'Clang :: Analysis/silence-checkers-and-packages-core-all.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config silence-checkers=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers-and-packages-core-all.cpp : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config silence-checkers="core.DivideZero;core.NullDereference" -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers-and-packages-core-all.cpp : 'RUN: at line 11'; not /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers-and-packages-core-all.cpp -analyzer-checker=core -analyzer-config silence-checkers=core.NullDeref 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers-and-packages-core-all.cpp -check-prefix=CHECK-CHECKER-ERROR : 'RUN: at line 19'; not /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers-and-packages-core-all.cpp -analyzer-checker=core -analyzer-config silence-checkers=coreModeling 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers-and-packages-core-all.cpp -check-prefix=CHECK-PACKAGE-ERROR -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config silence-checkers=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers-and-packages-core-all.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_disable_null_deref(int *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers-and-packages-core-all.cpp:34:7: Error evaluating branch #0 0x0000ffff9868acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff98689100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9868b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa1608800 (linux-vdso.so.1+0x800) #4 0x0000ffffa09029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa09029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa09029e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa09029e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa09029e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa09029e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa09029e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa09029e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa05b0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa05b0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa05b0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa05b0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa05b0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa05b0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa05b0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa05b0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa05c3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa05c3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa05c3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa05c5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa05c5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa05c5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa05c4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa05c4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa05c4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa05d0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa05d0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa05d0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa05da414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa05da414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa05da414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa053eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa053eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa053eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa053eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa0a2c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa0a2c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa0a2c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa0554c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffa0554c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffa0554c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffa0554c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffa0554c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffa0554c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffa0554c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffa0554c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffa0554c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffa0554c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffa0555200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffa056cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa056cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa056cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa056cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa056cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffa0836bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa0836bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa0836bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa0836bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa0836bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa0837b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffa0837b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa0837b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa083c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa083c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa083c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa083c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa083c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff9ec92058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff9ec92058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff9ec92058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff9ec92058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa0357450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa030f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa030f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa030f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa039551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaacdb459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaacdb494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaacdb4aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaacdb41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff978e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff978e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaacdb420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/silence-checkers-and-packages-core-all.cpp.script: line 4: 2540544 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config silence-checkers=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers-and-packages-core-all.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/silence-checkers-and-packages-core-div-by-zero.cpp (1102 of 18966) ******************** TEST 'Clang :: Analysis/silence-checkers-and-packages-core-div-by-zero.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config silence-checkers=core.DivideZero -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers-and-packages-core-div-by-zero.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config silence-checkers=core.DivideZero -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers-and-packages-core-div-by-zero.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_disable_null_deref(int *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers-and-packages-core-div-by-zero.cpp:13:7: Error evaluating branch #0 0x0000ffffae2dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffae2d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffae2db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb725b800 (linux-vdso.so.1+0x800) #4 0x0000ffffb65529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb65529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb65529e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb65529e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb65529e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb65529e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb65529e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb65529e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb6200048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb6200048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb6200048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb6200048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb6200f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb6200f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb6200f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb6200f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb6213b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb6213b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb6213b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb6215060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb6215060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb6215060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb6214530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb6214530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb6214530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb6220b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb6220b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb6220b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb622a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb622a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb622a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb618eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb618eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb618eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb618eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb667c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb667c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb667c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb61a4c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffb61a4c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffb61a4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffb61a4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffb61a4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffb61a4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffb61a4c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffb61a4c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffb61a4c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffb61a4c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffb61a5200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffb61bcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb61bcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb61bcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb61bcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb61bcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb6486bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb6486bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb6486bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb6486bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb6486bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb6487b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb6487b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb6487b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb648c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb648c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb648c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb648c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb648c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb48e2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb48e2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb48e2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb48e2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb5fa7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb5f5f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb5f5f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb5f5f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb5fe551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae87b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae87b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae87baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae87b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffad53098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffad530a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae87b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/silence-checkers-and-packages-core-div-by-zero.cpp.script: line 1: 2540553 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config silence-checkers=core.DivideZero -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers-and-packages-core-div-by-zero.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/silence-checkers.cpp (1104 of 18966) ******************** TEST 'Clang :: Analysis/silence-checkers.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify="no-silence" /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers.cpp -triple i386-unknown-linux-gnu -analyzer-checker=core,apiModeling -analyzer-checker=unix.Malloc -analyzer-checker=cplusplus.NewDelete : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify="unix-silenced" /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers.cpp -triple i386-unknown-linux-gnu -analyzer-checker=core,apiModeling -analyzer-checker=unix.Malloc -analyzer-checker=cplusplus.NewDelete -analyzer-config silence-checkers="unix" : 'RUN: at line 14'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify="deadstore-silenced" /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers.cpp -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=deadcode -analyzer-config silence-checkers="deadcode.DeadStores" -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify=no-silence /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers.cpp -triple i386-unknown-linux-gnu -analyzer-checker=core,apiModeling -analyzer-checker=unix.Malloc -analyzer-checker=cplusplus.NewDelete 1. parser at end of file 2. While analyzing stack: #0 Calling r11160612_no_callback() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers.cpp:35:21: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers.cpp:35:21: Error evaluating statement #0 0x0000ffffaed9acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaed99100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaed9b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb7d18800 (linux-vdso.so.1+0x800) #4 0x0000ffffb6ff9250 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb6ff9250 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb6ff9250 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb6ff9250 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb6ff9250 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb6ff9250 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb6ff9250 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb6ff9250 (anonymous namespace)::MallocChecker::evalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:3069:0 #12 0x0000ffffb6e07760 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffffb6e07760 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffffb6e07760 llvm::IntrusiveRefCntPtr clang::ento::eval::Assume::_evalAssume<(anonymous namespace)::MallocChecker>(void*, llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:463:74 #15 0x0000ffffb6c1b758 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffffb6c1b758 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffffb6c1b758 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffffb6c1b758 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffffb6ce0be4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffb6ce0be4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffb6ce0be4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffffb6ce0be4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffffb6cea414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffffb6cea414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffb6cea414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #26 0x0000ffffb6c4ebd8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb6c4ebd8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb6c4ebd8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffffb6c4ebd8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffffb713c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffb713c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffb713c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #33 0x0000ffffb6e13840 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffffb6e13840 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffffb6e13840 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffffb6e13840 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffffb6e13840 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffffb6e13840 (anonymous namespace)::MallocChecker::ProcessZeroAllocCheck(clang::ento::CallEvent const&, unsigned int, llvm::IntrusiveRefCntPtr, std::optional) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1529:0 #39 0x0000ffffb6e13c90 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffffb6e13c90 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffffb6e13c90 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #42 0x0000ffffb6e20180 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffffb6e20180 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffffb6c389a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffffb6c389a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffb6c389a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffffb6c389a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffffb6c389a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffffb6c98c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffffb6c98c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffffb6c98c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffffb6c98c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffffb6c98c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffffb6c98c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffffb6c99514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffffb6c7b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffffb6c7b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffffb6c7c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffffb6c7c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffffb6c7c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffffb6c7cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffffb6c7cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffffb6c7cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffffb6c7cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffffb6c7cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #66 0x0000ffffb6f46bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffffb6f46bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffffb6f46bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffffb6f46bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffffb6f46bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffffb6f47b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #72 0x0000ffffb6f47b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffffb6f47b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffffb6f4c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffffb6f4c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffffb6f4c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffffb6f4c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffffb6f4c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffffb53a2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #80 0x0000ffffb53a2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffffb53a2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #82 0x0000ffffb53a2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffffb6a67450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffffb6a1f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffffb6a1f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffffb6a1f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffffb6aa551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaabad459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaabad494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaabad4aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaabad41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffffadff098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffffadff0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaabad420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/silence-checkers.cpp.script: line 3: 2540558 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify="no-silence" /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers.cpp -triple i386-unknown-linux-gnu -analyzer-checker=core,apiModeling -analyzer-checker=unix.Malloc -analyzer-checker=cplusplus.NewDelete -- ******************** Testing: 0 FAIL: Clang :: Analysis/scan-build/exclude_directories.test (1105 of 18966) ******************** TEST 'Clang :: Analysis/scan-build/exclude_directories.test' FAILED ******************** Script: -- : 'RUN: at line 4'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir && mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir : 'RUN: at line 5'; '/builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/bin/scan-build' --use-analyzer=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17 -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -S /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/multidirectory_project/directory1/file1.c /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/multidirectory_project/directory2/file2.c | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/exclude_directories.test -check-prefix CHECK-NO-EXCLUDE : 'RUN: at line 20'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir && mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir : 'RUN: at line 21'; '/builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/bin/scan-build' --use-analyzer=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17 -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir --exclude directory1 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -S /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/multidirectory_project/directory1/file1.c /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/multidirectory_project/directory2/file2.c | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/exclude_directories.test -check-prefix CHECK-EXCLUDE1 : 'RUN: at line 30'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir && mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir : 'RUN: at line 31'; '/builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/bin/scan-build' --use-analyzer=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17 -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir --exclude directory1 --exclude directory2 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -S /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/multidirectory_project/directory1/file1.c /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/multidirectory_project/directory2/file2.c | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/exclude_directories.test -check-prefix CHECK-EXCLUDE-BOTH -- Exit Code: 1 Command Output (stdout): -- $ ":" "RUN: at line 4" $ "rm" "-rf" "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir" $ "mkdir" "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir" $ ":" "RUN: at line 5" $ "/builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/bin/scan-build" "--use-analyzer=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17" "-o" "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir" "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang" "-S" "/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/multidirectory_project/directory1/file1.c" "/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/multidirectory_project/directory2/file2.c" # command stderr: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17 -cc1 -triple aarch64-opencloudos-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name file1.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=non-leaf -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu generic -target-feature +neon -target-feature +v8a -target-abi aapcs -debugger-tuning=gdb -fcoverage-compilation-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build -resource-dir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/lib/gcc/aarch64-OpenCloudOS-linux/12/../../../../aarch64-OpenCloudOS-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build -ferror-limit 19 -fno-signed-char -fgnuc-version=4.2.1 -analyzer-output=html -target-feature +outline-atomics -target-feature -fmv -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir/2024-05-29-122103-2540323-1 -x c /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/multidirectory_project/directory1/file1.c 1. parser at end of file 2. While analyzing stack: #0 Calling function1 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/multidirectory_project/directory1/file1.c:6:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/multidirectory_project/directory1/file1.c:6:7: Error evaluating statement #0 0x0000ffff7e72acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7e729100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7e72b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff876a2800 (linux-vdso.so.1+0x800) #4 0x0000ffff869a29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff869a29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff869a29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff869a29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff869a29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff869a29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff869a29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff869a29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff86650048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff86650048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff86650048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff86650048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff86650f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff86650f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff86650f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff86650f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff86663b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff86663b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff86663b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff86665060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff86665060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff86665060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff86664530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff86664530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff86664530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff86670b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff86670b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff86670b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8667a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8667a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8667a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff865dea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff865dea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff865dea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff865dea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff86acc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff86acc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff86acc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff865f1ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff865f1ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff865f1ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff8660c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff8660c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff8660c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff8660c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff8660c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff8660c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffff8660c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffff8660c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffff8660cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8660cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8660cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8660cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8660cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff868d6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff868d6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff868d6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff868d6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff868d6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff868d7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff868d7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff868d7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff868dc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff868dc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff868dc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff868dc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff868dc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff84d32058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff84d32058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff84d32058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff84d32058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff863f7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff863af104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff863af104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff863af104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8643551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaace4659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaace4694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaace46aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaace461fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7d98098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7d980a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaace4620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17+0x120b0) PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17 -cc1 -triple aarch64-opencloudos-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name file2.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=non-leaf -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu generic -target-feature +neon -target-feature +v8a -target-abi aapcs -debugger-tuning=gdb -fcoverage-compilation-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build -resource-dir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/lib/gcc/aarch64-OpenCloudOS-linux/12/../../../../aarch64-OpenCloudOS-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build -ferror-limit 19 -fno-signed-char -fgnuc-version=4.2.1 -analyzer-output=html -target-feature +outline-atomics -target-feature -fmv -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir/2024-05-29-122103-2540323-1 -x c /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/multidirectory_project/directory2/file2.c 1. parser at end of file 2. While analyzing stack: #0 Calling function2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/multidirectory_project/directory2/file2.c:2:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/multidirectory_project/directory2/file2.c:2:7: Error evaluating statement #0 0x0000ffff8540acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff85409100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8540b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8e38f800 (linux-vdso.so.1+0x800) #4 0x0000ffff8d6829e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8d6829e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8d6829e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8d6829e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8d6829e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8d6829e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8d6829e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8d6829e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8d330048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8d330048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8d330048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8d330048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8d330f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8d330f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8d330f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8d330f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8d343b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8d343b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8d343b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8d345060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8d345060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8d345060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8d344530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8d344530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8d344530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8d350b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8d350b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8d350b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8d35a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8d35a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8d35a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8d2bea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8d2bea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8d2bea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8d2bea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8d7ac8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8d7ac8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8d7ac8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8d2d1ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff8d2d1ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff8d2d1ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff8d2ec07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff8d2ec07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff8d2ec07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff8d2ec07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff8d2ec07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff8d2ec2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffff8d2ec5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffff8d2ec7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffff8d2ecb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8d2ecb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8d2ecb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8d2ecb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8d2ecb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff8d5b6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8d5b6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8d5b6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8d5b6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8d5b6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff8d5b7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff8d5b7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff8d5b7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8d5bc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8d5bc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8d5bc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8d5bc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8d5bc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff8ba12058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff8ba12058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff8ba12058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff8ba12058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff8d0d7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8d08f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8d08f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8d08f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8d11551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaea2f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaea2f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaea2faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaea2f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8466098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff84660a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaea2f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17+0x120b0) $ "/usr/bin/FileCheck" "/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/exclude_directories.test" "-check-prefix" "CHECK-NO-EXCLUDE" # command stderr: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/exclude_directories.test:16:19: error: CHECK-NO-EXCLUDE: expected string not found in input CHECK-NO-EXCLUDE: scan-build: 2 bugs found. ^ :1:1: note: scanning from here scan-build: Using '/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17' for static analysis ^ :3:1: note: possible intended match here scan-build: 0 bugs found. ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/exclude_directories.test -dump-input=help explains the following input dump. Input was: <<<<<< 1: scan-build: Using '/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17' for static analysis check:16'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: scan-build: Analysis run complete. check:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3: scan-build: 0 bugs found. check:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~ check:16'1 ? possible intended match 4: scan-build: The analyzer encountered problems on some source files. check:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: scan-build: Preprocessed versions of these sources were deposited in '/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir/2024-05-29-122103-2540323-1/failures'. check:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: scan-build: Please consider submitting a bug report using these files: check:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: scan-build: http://clang-analyzer.llvm.org/filing_bugs.html check:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>>>>> error: command failed with exit status: 1 -- ******************** Testing: 0 FAIL: Clang :: Analysis/simple-stream-checks.c (1106 of 18966) ******************** TEST 'Clang :: Analysis/simple-stream-checks.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.SimpleStream -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/simple-stream-checks.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.SimpleStream -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/simple-stream-checks.c 1. parser at end of file 2. While analyzing stack: #0 Calling testOverwrite 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/simple-stream-checks.c:94:3: Error evaluating statement #0 0x0000ffff9354acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff93549100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9354b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9c4cf800 (linux-vdso.so.1+0x800) #4 0x0000ffff9b653208 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff9b653208 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9b653208 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9b653208 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9b653208 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9b653208 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9b653208 get<(anonymous namespace)::StreamMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9b653208 (anonymous namespace)::SimpleStreamChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/SimpleStreamChecker.cpp:165:54 #12 0x0000ffff9b3fcbd4 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffff9b4173b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffff9b4173b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffff9b4173b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffff9b4173b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffff9b4173b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffff9b4173b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffff9b4173b8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffff9b42c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffff9b42c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffff9b42c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffff9b42c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffff9b42c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffff9b42c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffff9b42c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffff9b42c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffff9b42c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffff9b42c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #30 0x0000ffff9b42c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #31 0x0000ffff9b42cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffff9b42cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffff9b42cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffff9b42cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffff9b42cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffff9b6f6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff9b6f6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff9b6f6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffff9b6f6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffff9b6f6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffff9b6f7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffff9b6f7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffff9b6f7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffff9b6fc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffff9b6fc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffff9b6fc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffff9b6fc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffff9b6fc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffff99b52058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffff99b52058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffff99b52058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffff99b52058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffff9b217450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffff9b1cf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffff9b1cf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffff9b1cf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffff9b25551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaacf2e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaacf2e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaacf2eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaacf2e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffff927a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffff927a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaacf2e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/simple-stream-checks.c.script: line 1: 2540593 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.SimpleStream -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/simple-stream-checks.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/smart-ptr-text-output.cpp (1107 of 18966) ******************** TEST 'Clang :: Analysis/smart-ptr-text-output.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.Move,alpha.cplusplus.SmartPtr,debug.ExprInspection -analyzer-config cplusplus.SmartPtrModeling:ModelSmartPtrDereference=true -analyzer-output=text -std=c++20 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/smart-ptr-text-output.cpp -verify=expected : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.Move,alpha.cplusplus.SmartPtr,debug.ExprInspection -analyzer-config cplusplus.SmartPtrModeling:ModelSmartPtrDereference=true -analyzer-output=text -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/smart-ptr-text-output.cpp -verify=expected -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.Move,alpha.cplusplus.SmartPtr,debug.ExprInspection -analyzer-config cplusplus.SmartPtrModeling:ModelSmartPtrDereference=true -analyzer-output=text -std=c++20 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/smart-ptr-text-output.cpp -verify=expected 1. parser at end of file 2. While analyzing stack: #0 Calling foo() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/smart-ptr-text-output.cpp:362:14: Error evaluating statement #0 0x0000ffffb3f1acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb3f19100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb3f1b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbce94800 (linux-vdso.so.1+0x800) #4 0x0000ffffbc27b81c llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbc27b81c llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbc27b81c llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbc27b81c llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbc27b81c llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbc27b81c clang::ento::ProgramStatePartialTrait>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbc27b81c get<(anonymous namespace)::TrackedRegionMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbc27b81c (anonymous namespace)::SmartPtrModeling::checkLiveSymbols(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) const (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/SmartPtrModeling.cpp:591:0 #12 0x0000ffffbc00c390 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #13 0x0000ffffbc00c390 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #14 0x0000ffffbc00c390 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x0000ffffbc00c390 void clang::ento::check::LiveSymbols::_checkLiveSymbols<(anonymous namespace)::SmartPtrModeling>(void*, llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:306:49 #16 0x0000ffffbbd9b360 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x0000ffffbbd9b360 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x0000ffffbbd9b360 clang::ento::CheckerFn, clang::ento::SymbolReaper&)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #19 0x0000ffffbbd9b360 clang::ento::CheckerManager::runCheckersForLiveSymbols(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:547:0 #20 0x0000ffffbbde72c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbbde72c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbbde72c0 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1066:48 #23 0x0000ffffbbdfc264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #24 0x0000ffffbbdfc264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #25 0x0000ffffbbdfc264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #26 0x0000ffffbbdfc264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #27 0x0000ffffbbdfc264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #28 0x0000ffffbbdfc264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #29 0x0000ffffbbdfc264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #30 0x0000ffffbbdfc264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #31 0x0000ffffbbdfc264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #32 0x0000ffffbbdfc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #33 0x0000ffffbbdfc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #34 0x0000ffffbbdfcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x0000ffffbbdfcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x0000ffffbbdfcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #37 0x0000ffffbbdfcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #38 0x0000ffffbbdfcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #39 0x0000ffffbc0c6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbc0c6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbc0c6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #42 0x0000ffffbc0c6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #43 0x0000ffffbc0c6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #44 0x0000ffffbc0c7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #45 0x0000ffffbc0c7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #46 0x0000ffffbc0c7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #47 0x0000ffffbc0cc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #48 0x0000ffffbc0cc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #49 0x0000ffffbc0cc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #50 0x0000ffffbc0cc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #51 0x0000ffffbc0cc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #52 0x0000ffffba522058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #53 0x0000ffffba522058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #54 0x0000ffffba522058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #55 0x0000ffffba522058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #56 0x0000ffffbbbe7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #57 0x0000ffffbbb9f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #58 0x0000ffffbbb9f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #59 0x0000ffffbbb9f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #60 0x0000ffffbbc2551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #61 0x0000aaaae36e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #62 0x0000aaaae36e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #63 0x0000aaaae36eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #64 0x0000aaaae36e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #65 0x0000ffffb317098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #66 0x0000ffffb3170a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #67 0x0000aaaae36e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/smart-ptr-text-output.cpp.script: line 2: 2540609 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.Move,alpha.cplusplus.SmartPtr,debug.ExprInspection -analyzer-config cplusplus.SmartPtrModeling:ModelSmartPtrDereference=true -analyzer-output=text -std=c++20 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/smart-ptr-text-output.cpp -verify=expected -- ******************** Testing: 0 FAIL: Clang :: Analysis/solver-sym-simplification-adjustment.c (1108 of 18966) ******************** TEST 'Clang :: Analysis/solver-sym-simplification-adjustment.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-adjustment.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-adjustment.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_simplification_adjusment_no_infinite_loop 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-adjustment.c:89:7: Error evaluating branch #0 0x0000ffffa36dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa36d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa36db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffac656800 (linux-vdso.so.1+0x800) #4 0x0000ffffab5f9bdc retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffab5f9bdc retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffab5f9bdc retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffab5f9bdc IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffab5f9bdc ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffab5f9bdc MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffab5f9bdc get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffab5f9bdc (anonymous namespace)::EquivalenceClass::mergeImpl(clang::ento::RangeSet::Factory&, llvm::IntrusiveRefCntPtr, llvm::ImmutableSet>, (anonymous namespace)::EquivalenceClass, llvm::ImmutableSet>) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2361:0 #12 0x0000ffffab5fbb0c llvm::IntrusiveRefCntPtrInfo>>::release(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:351:0 #13 0x0000ffffab5fbb0c llvm::IntrusiveRefCntPtr>>::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffffab5fbb0c llvm::IntrusiveRefCntPtr>>::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffffab5fbb0c llvm::ImmutableSet>::~ImmutableSet() /usr/include/llvm/ADT/ImmutableSet.h:957:0 #16 0x0000ffffab5fbb0c (anonymous namespace)::EquivalenceClass::merge(clang::ento::RangeSet::Factory&, llvm::IntrusiveRefCntPtr, (anonymous namespace)::EquivalenceClass) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2340:0 #17 0x0000ffffab600680 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #18 0x0000ffffab600680 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffab600680 merge /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2309:0 #20 0x0000ffffab600680 trackEquality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2160:0 #21 0x0000ffffab600680 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2238:0 #22 0x0000ffffab600680 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #23 0x0000ffffab600680 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #24 0x0000ffffab600680 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:0 #25 0x0000ffffab600680 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:0 #26 0x0000ffffab600680 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #27 0x0000ffffab600680 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #28 0x0000ffffab600d10 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #29 0x0000ffffab600d10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffffab600d10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffffab600d10 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #32 0x0000ffffab614cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffffab614cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffffab614cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #35 0x0000ffffab614530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffab614530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffab614530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #38 0x0000ffffab620b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #39 0x0000ffffab620b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #40 0x0000ffffab620b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #41 0x0000ffffab62a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #42 0x0000ffffab62a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #43 0x0000ffffab62a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #44 0x0000ffffab58ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #45 0x0000ffffab58ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #46 0x0000ffffab58ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #47 0x0000ffffab58ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #48 0x0000ffffaba7c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #49 0x0000ffffaba7c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #50 0x0000ffffaba7c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #51 0x0000ffffab5a4c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #52 0x0000ffffab5a4c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #53 0x0000ffffab5a4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #54 0x0000ffffab5a4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #55 0x0000ffffab5a4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #56 0x0000ffffab5a4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #57 0x0000ffffab5a4c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #58 0x0000ffffab5a4c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #59 0x0000ffffab5a4c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #60 0x0000ffffab5a4c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #61 0x0000ffffab5a5200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #62 0x0000ffffab5bcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffffab5bcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffffab5bcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffffab5bcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffffab5bcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #67 0x0000ffffab886bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffffab886bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffffab886bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffffab886bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffffab886bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffffab887b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #73 0x0000ffffab887b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffffab887b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffffab88c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffffab88c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffffab88c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffffab88c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffffab88c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffffa9ce2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #81 0x0000ffffa9ce2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffffa9ce2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #83 0x0000ffffa9ce2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffffab3a7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffffab35f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffffab35f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffffab35f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffffab3e551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaaae7f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaaae7f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaaae7faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaaae7f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffffa293098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffffa2930a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaaae7f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/solver-sym-simplification-adjustment.c.script: line 1: 2540615 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-adjustment.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/smart-ptr.cpp (1109 of 18966) ******************** TEST 'Clang :: Analysis/smart-ptr.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-checker cplusplus.Move,alpha.cplusplus.SmartPtr -analyzer-config cplusplus.SmartPtrModeling:ModelSmartPtrDereference=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/smart-ptr.cpp : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-checker cplusplus.Move,alpha.cplusplus.SmartPtr -analyzer-config cplusplus.SmartPtrModeling:ModelSmartPtrDereference=true -std=c++20 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/smart-ptr.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-checker cplusplus.Move,alpha.cplusplus.SmartPtr -analyzer-config cplusplus.SmartPtrModeling:ModelSmartPtrDereference=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/smart-ptr.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testCheckForFunctionsWithNoDecl(void (*)(_Bool, _Bool)) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/smart-ptr.cpp:544:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/smart-ptr.cpp:544:3: Error evaluating statement #0 0x0000ffff7df1acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7df19100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7df1b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff86e97800 (linux-vdso.so.1+0x800) #4 0x0000ffff861929e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff861929e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff861929e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff861929e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff861929e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff861929e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff861929e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff861929e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff85e40048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff85e40048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff85e40048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff85e40048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff85e40f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff85e40f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff85e40f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff85e40f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff85e53b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff85e53b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff85e53b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff85e55060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff85e55060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff85e55060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff85e54530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff85e54530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff85e54530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff85e60b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff85e60b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff85e60b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff85e6a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff85e6a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff85e6a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff85dceaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff85dceaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff85dceaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff85dceaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff862bc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff862bc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff862bc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff85ea3908 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff85ea3908 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff85ea3908 checkFunctionPointerCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:390:79 #45 0x0000ffff85ea3908 checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:546:37 #46 0x0000ffff85ea3908 void clang::ento::check::PreCall::_checkCall<(anonymous namespace)::CallAndMessageChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:168:45 #47 0x0000ffff85db89a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #48 0x0000ffff85db89a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #49 0x0000ffff85db89a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #50 0x0000ffff85db89a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #51 0x0000ffff85db89a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #52 0x0000ffff85e18b70 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #53 0x0000ffff85e18b70 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #54 0x0000ffff85e18b70 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #55 0x0000ffff85e18b70 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #56 0x0000ffff85e18b70 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #57 0x0000ffff85e18b70 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #58 0x0000ffff85e18b70 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:683:44 #59 0x0000ffff85e19514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #60 0x0000ffff85dfb270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #61 0x0000ffff85dfb270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #62 0x0000ffff85dfc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #63 0x0000ffff85dfc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #64 0x0000ffff85dfc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #65 0x0000ffff85dfcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x0000ffff85dfcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x0000ffff85dfcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #68 0x0000ffff85dfcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #69 0x0000ffff85dfcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #70 0x0000ffff860c6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #71 0x0000ffff860c6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #72 0x0000ffff860c6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #73 0x0000ffff860c6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #74 0x0000ffff860c6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #75 0x0000ffff860c7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #76 0x0000ffff860c7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x0000ffff860c7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #78 0x0000ffff860cc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x0000ffff860cc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x0000ffff860cc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x0000ffff860cc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x0000ffff860cc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x0000ffff84522058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #84 0x0000ffff84522058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x0000ffff84522058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #86 0x0000ffff84522058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x0000ffff85be7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #88 0x0000ffff85b9f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #89 0x0000ffff85b9f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #90 0x0000ffff85b9f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #91 0x0000ffff85c2551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #92 0x0000aaaace1159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x0000aaaace1194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x0000aaaace11aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x0000aaaace111fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x0000ffff7d17098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #97 0x0000ffff7d170a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #98 0x0000aaaace1120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/smart-ptr.cpp.script: line 2: 2540610 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-checker cplusplus.Move,alpha.cplusplus.SmartPtr -analyzer-config cplusplus.SmartPtrModeling:ModelSmartPtrDereference=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/smart-ptr.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/solver-sym-simplification-no-crash.c (1111 of 18966) ******************** TEST 'Clang :: Analysis/solver-sym-simplification-no-crash.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-no-crash.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-no-crash.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify 1. parser at end of file 2. While analyzing stack: #0 Calling g 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-no-crash.c:21:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-no-crash.c:21:13: Error evaluating statement #0 0x0000ffffa558acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa5589100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa558b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffae50a800 (linux-vdso.so.1+0x800) #4 0x0000ffffad489cd0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffad489cd0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffad489cd0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffad489cd0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffad489cd0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffad489cd0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffad489cd0 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffffad489cd0 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffffad489cd0 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x0000ffffad489dac (anonymous namespace)::RangeConstraintManager::getSymVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2862:36 #14 0x0000ffffad4dd3d8 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #15 0x0000ffffad4dd3d8 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier::getConstOrVisit(clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1246:0 #16 0x0000ffffad4dcfb0 VisitSymSymExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1324:0 #17 0x0000ffffad4dcfb0 clang::ento::SymExprVisitor<(anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier, clang::ento::SVal>::Visit(clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #18 0x0000ffffad8e9dd4 VisitNonLocSymbolVal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1365:0 #19 0x0000ffffad8e9dd4 Visit /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def:67:0 #20 0x0000ffffad8e9dd4 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1371:0 #21 0x0000ffffad4c4824 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #22 0x0000ffffad4c4824 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #23 0x0000ffffad4db6a8 (anonymous namespace)::SimpleSValBuilder::evalBinOpNN(llvm::IntrusiveRefCntPtr, clang::BinaryOperatorKind, clang::ento::NonLoc, clang::ento::NonLoc, clang::QualType) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:416:0 #24 0x0000ffffad4d1568 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #25 0x0000ffffad4d1568 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x0000ffffad4d1568 clang::ento::SValBuilder::evalBinOp(llvm::IntrusiveRefCntPtr, clang::BinaryOperatorKind, clang::ento::SVal, clang::ento::SVal, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SValBuilder.cpp:531:21 #27 0x0000ffffad45f920 clang::ento::ExprEngine::evalBinOp(llvm::IntrusiveRefCntPtr, clang::BinaryOperatorKind, clang::ento::SVal, clang::ento::SVal, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:611:33 #28 0x0000ffffad45f920 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:100:0 #29 0x0000ffffad46bfa8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #30 0x0000ffffad46c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #31 0x0000ffffad46c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #32 0x0000ffffad46c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #33 0x0000ffffad46cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #34 0x0000ffffad46cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #35 0x0000ffffad46cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #36 0x0000ffffad46cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #37 0x0000ffffad46cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #38 0x0000ffffad736bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #39 0x0000ffffad736bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #40 0x0000ffffad736bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #41 0x0000ffffad736bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #42 0x0000ffffad736bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #43 0x0000ffffad737b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #44 0x0000ffffad737b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #45 0x0000ffffad737b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #46 0x0000ffffad73c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #47 0x0000ffffad73c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #48 0x0000ffffad73c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #49 0x0000ffffad73c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #50 0x0000ffffad73c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #51 0x0000ffffabb92058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #52 0x0000ffffabb92058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #53 0x0000ffffabb92058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #54 0x0000ffffabb92058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #55 0x0000ffffad257450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #56 0x0000ffffad20f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #57 0x0000ffffad20f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #58 0x0000ffffad20f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #59 0x0000ffffad29551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #60 0x0000aaaad85259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #61 0x0000aaaad85294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #62 0x0000aaaad852aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #63 0x0000aaaad8521fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #64 0x0000ffffa47e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #65 0x0000ffffa47e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #66 0x0000aaaad85220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/solver-sym-simplification-no-crash.c.script: line 1: 2540634 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-no-crash.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/solver-sym-simplification-concreteint.c (1112 of 18966) ******************** TEST 'Clang :: Analysis/solver-sym-simplification-concreteint.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-concreteint.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-concreteint.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_simplification_to_concrete_int_feasible 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-concreteint.c:25:7: Error evaluating branch #0 0x0000ffff89e7acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff89e79100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff89e7b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff92df9800 (linux-vdso.so.1+0x800) #4 0x0000ffff920f29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff920f29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff920f29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff920f29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff920f29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff920f29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff920f29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff920f29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff91da0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff91da0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff91da0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff91da0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff91da0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff91da0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff91da0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff91da0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff91db3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff91db3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff91db3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff91db5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff91db5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff91db5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff91db4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff91db4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff91db4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff91dc0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff91dc0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff91dc0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff91dca414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff91dca414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff91dca414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff91d2eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff91d2eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff91d2eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff91d2eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9221c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9221c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9221c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff91d44c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff91d44c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff91d44c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff91d44c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff91d44c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff91d44c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff91d44c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff91d44c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff91d44c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff91d44c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff91d45200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff91d5cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff91d5cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff91d5cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff91d5cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff91d5cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff92026bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff92026bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff92026bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff92026bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff92026bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff92027b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff92027b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff92027b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9202c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9202c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9202c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9202c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9202c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff90482058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff90482058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff90482058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff90482058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff91b47450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff91aff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff91aff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff91aff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff91b8551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae48259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae48294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae482aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae4821fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff890d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff890d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae48220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/solver-sym-simplification-concreteint.c.script: line 1: 2540631 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-concreteint.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/solver-sym-simplification-no-crash2.c (1113 of 18966) ******************** TEST 'Clang :: Analysis/solver-sym-simplification-no-crash2.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-no-crash2.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-no-crash2.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify 1. parser at end of file 2. While analyzing stack: #0 Calling f 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-no-crash2.c:16:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-no-crash2.c:16:7: Error evaluating statement #0 0x0000ffffaffaacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaffa9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaffab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb8f28800 (linux-vdso.so.1+0x800) #4 0x0000ffffb82229e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb82229e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb82229e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb82229e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb82229e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb82229e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb82229e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb82229e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb7ed0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb7ed0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb7ed0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb7ed0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb7ed0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb7ed0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb7ed0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb7ed0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb7ee4cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb7ee4cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb7ee4cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffb7ee4f90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb7ee4f90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb7ee4f90 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffb7ee4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb7ee4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb7ee4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb7ef0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb7ef0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb7ef0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb7efa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb7efa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb7efa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb7e5eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb7e5eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb7e5eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb7e5eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb7f7f1d8 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:9 #40 0x0000ffffb7f7f1d8 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:21 #41 0x0000ffffb7f7f1d8 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:44 #42 0x0000ffffb7f7f1d8 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:25 #43 0x0000ffffb7f7f1d8 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:44 #44 0x0000ffffb7f7f1d8 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp:99:11 #45 0x0000ffffb7f7f1d8 void clang::ento::check::PreStmt::_checkStmt<(anonymous namespace)::DivZeroChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:85:45 #46 0x0000ffffb7e474f8 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffb7e474f8 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #48 0x0000ffffb7e7f188 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #49 0x0000ffffb7e7f188 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #50 0x0000ffffb7e7f188 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #51 0x0000ffffb7e7f188 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #52 0x0000ffffb7e7f188 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #53 0x0000ffffb7e7f188 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #54 0x0000ffffb7e7f188 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:50:0 #55 0x0000ffffb7e8bfa8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #56 0x0000ffffb7e8c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #57 0x0000ffffb7e8c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #58 0x0000ffffb7e8c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #59 0x0000ffffb7e8cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb7e8cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb7e8cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffffb7e8cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffffb7e8cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #64 0x0000ffffb8156bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffffb8156bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffffb8156bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffffb8156bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffffb8156bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffffb8157b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #70 0x0000ffffb8157b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffffb8157b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffffb815c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffffb815c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffffb815c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffffb815c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffffb815c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffffb65b2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #78 0x0000ffffb65b2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffffb65b2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #80 0x0000ffffb65b2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffffb7c77450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffffb7c2f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffffb7c2f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffffb7c2f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffffb7cb551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaac45f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaac45f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaac45faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaac45f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffffaf20098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffffaf200a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaac45f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/solver-sym-simplification-no-crash2.c.script: line 1: 2540647 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-no-crash2.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/solver-sym-simplification-ptr-bool.cl (1114 of 18966) ******************** TEST 'Clang :: Analysis/solver-sym-simplification-ptr-bool.cl' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple amdgcn-unknown-unknown -analyze -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-ptr-bool.cl -- Exit Code: 139 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-ptr-bool.cl:27:5: warning: expression result unused [-Wunused-value] 27 | q && q; | ~ ^ ~ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-ptr-bool.cl:28:5: warning: expression result unused [-Wunused-value] 28 | q && q; | ~ ^ ~ PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple amdgcn-unknown-unknown -analyze -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-ptr-bool.cl 1. parser at end of file 2. While analyzing stack: #0 Calling test2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-ptr-bool.cl:27:3: Error evaluating branch #0 0x0000ffff8337acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff83379100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8337b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8c2f1800 (linux-vdso.so.1+0x800) #4 0x0000ffff8b5f29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8b5f29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8b5f29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8b5f29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8b5f29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8b5f29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8b5f29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8b5f29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8b2a0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8b2a0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8b2a0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8b2a0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8b2a0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8b2a0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8b2a0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8b2a0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8b2b3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8b2b3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8b2b3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8b2b5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8b2b5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8b2b5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8b2b4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8b2b4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8b2b4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8b2c0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8b2c0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8b2c0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8b2ca414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8b2ca414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8b2ca414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8b22eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8b22eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8b22eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8b22eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8b71c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8b71c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8b71c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8b244c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff8b244c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff8b244c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff8b244c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff8b244c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff8b244c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff8b244c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff8b244c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff8b244c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff8b244c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff8b245200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff8b25cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8b25cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8b25cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8b25cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8b25cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff8b526bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8b526bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8b526bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8b526bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8b526bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff8b527b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff8b527b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff8b527b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8b52c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8b52c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8b52c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8b52c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8b52c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff89982058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff89982058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff89982058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff89982058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff8b047450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8afff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8afff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8afff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8b08551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad84259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad84294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad842aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad8421fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff825d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff825d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad84220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/solver-sym-simplification-ptr-bool.cl.script: line 1: 2540663 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple amdgcn-unknown-unknown -analyze -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-ptr-bool.cl -- ******************** Testing: 0 FAIL: Clang :: Analysis/solver-sym-simplification-with-proper-range-type.c (1115 of 18966) ******************** TEST 'Clang :: Analysis/solver-sym-simplification-with-proper-range-type.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-with-proper-range-type.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-with-proper-range-type.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify 1. parser at end of file 2. While analyzing stack: #0 Calling f 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-with-proper-range-type.c:16:9: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-with-proper-range-type.c:16:9: Error evaluating statement #0 0x0000ffffb0f2acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb0f29100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb0f2b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb9ea7800 (linux-vdso.so.1+0x800) #4 0x0000ffffb91a29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb91a29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb91a29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb91a29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb91a29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb91a29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb91a29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb91a29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb8e50048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb8e50048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb8e50048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb8e50048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb8e50f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb8e50f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb8e50f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb8e50f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb8e63b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb8e63b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb8e63b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb8e65060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb8e65060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb8e65060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb8e64530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb8e64530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb8e64530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb8e70b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb8e70b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb8e70b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb8e7a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb8e7a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb8e7a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb8ddea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb8ddea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb8ddea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb8ddea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffb92cc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb92cc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb92cc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb8df1ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb8df1ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb8df1ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffb8e0c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffb8e0c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffb8e0c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffb8e0c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffb8e0c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffb8e0c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffffb8e0c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffffb8e0c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffffb8e0cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb8e0cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb8e0cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb8e0cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb8e0cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb90d6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb90d6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb90d6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb90d6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb90d6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb90d7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb90d7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb90d7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb90dc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb90dc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb90dc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb90dc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb90dc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb7532058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb7532058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb7532058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb7532058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb8bf7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb8baf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb8baf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb8baf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb8c3551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab4e159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab4e194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab4e1aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab4e11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffb018098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffb0180a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab4e120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/solver-sym-simplification-with-proper-range-type.c.script: line 1: 2540670 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-with-proper-range-type.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/stack-addr-ps.cpp (1118 of 18966) ******************** TEST 'Clang :: Analysis/stack-addr-ps.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-addr-ps.cpp -Wno-undefined-bool-conversion -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-addr-ps.cpp -Wno-undefined-bool-conversion 1. parser at end of file #0 0x0000ffff8cd7acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8cd79100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8cd7b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff95cf5800 (linux-vdso.so.1+0x800) #4 0x0000ffff94c4c024 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff94c4c024 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff94c4c024 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff94c4c024 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff94c4c024 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff94c4c024 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff94c4c024 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff94c4c024 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2911:0 #12 0x0000ffff94c4c948 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #13 0x0000ffff94c5c974 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #14 0x0000ffff94c5cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff94c5cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff94c5cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff94c5cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff94c5cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffff94f26bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff94f26bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff94f26bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff94f26bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff94f26bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff94f27b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffff94f27b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff94f27b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff94f2c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff94f2c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff94f2c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff94f2c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff94f2c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff93382058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffff93382058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff93382058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffff93382058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff94a47450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff949ff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff949ff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff949ff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff94a8551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaab7d859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaab7d894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaab7d8aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaab7d81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff8bfd098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff8bfd0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaab7d820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stack-addr-ps.cpp.script: line 1: 2540689 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-addr-ps.cpp -Wno-undefined-bool-conversion -- ******************** Testing: 0 FAIL: Clang :: Analysis/stack-capture-leak-arc.mm (1121 of 18966) ******************** TEST 'Clang :: Analysis/stack-capture-leak-arc.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,alpha.core.StackAddressAsyncEscape -fblocks -fobjc-arc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-capture-leak-arc.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,alpha.core.StackAddressAsyncEscape -fblocks -fobjc-arc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-capture-leak-arc.mm 1. parser at end of file 2. While analyzing stack: #0 Calling anonymous code #0 0x0000ffffb55aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb55a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb55ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbe522800 (linux-vdso.so.1+0x800) #4 0x0000ffffbd4cc134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbd4cc134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbd4cc134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbd4cc134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffbd4cc134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffbd4cc134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffbd47748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffbd47748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffbd47748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffbd4a2e5c llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #14 0x0000ffffbd4a2e5c clang::ento::ExprEngine::removeDeadOnEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:187:1 #15 0x0000ffffbd47c4b8 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #16 0x0000ffffbd47c4b8 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #17 0x0000ffffbd47c4b8 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #18 0x0000ffffbd47c4b8 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2951:0 #19 0x0000ffffbd47c948 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #20 0x0000ffffbd48c974 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #21 0x0000ffffbd48cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #22 0x0000ffffbd48cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #23 0x0000ffffbd48cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #24 0x0000ffffbd48cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #25 0x0000ffffbd48cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #26 0x0000ffffbd756bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbd756bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbd756bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #29 0x0000ffffbd756bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #30 0x0000ffffbd756bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #31 0x0000ffffbd757b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #32 0x0000ffffbd757b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x0000ffffbd757b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #34 0x0000ffffbd75c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x0000ffffbd75c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x0000ffffbd75c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x0000ffffbd75c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x0000ffffbd75c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x0000ffffbbbb2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #40 0x0000ffffbbbb2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x0000ffffbbbb2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #42 0x0000ffffbbbb2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x0000ffffbd277450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #44 0x0000ffffbd22f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #45 0x0000ffffbd22f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #46 0x0000ffffbd22f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #47 0x0000ffffbd2b551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #48 0x0000aaaac98359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x0000aaaac98394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x0000aaaac983aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x0000aaaac9831fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x0000ffffb480098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #53 0x0000ffffb4800a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #54 0x0000aaaac98320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stack-capture-leak-arc.mm.script: line 1: 2540717 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,alpha.core.StackAddressAsyncEscape -fblocks -fobjc-arc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-capture-leak-arc.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/stack-addr-ps.c (1122 of 18966) ******************** TEST 'Clang :: Analysis/stack-addr-ps.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-addr-ps.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-addr-ps.c 1. parser at end of file 2. While analyzing stack: #0 Calling anonymous code 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-addr-ps.c:67:50: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-addr-ps.c:67:50: Error evaluating statement #0 0x0000ffff8545acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff85459100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8545b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8e3d6800 (linux-vdso.so.1+0x800) #4 0x0000ffff8d6d29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8d6d29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8d6d29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8d6d29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8d6d29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8d6d29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8d6d29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8d6d29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8d380048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8d380048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8d380048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8d380048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8d380f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8d380f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8d380f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8d380f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8d394cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8d394cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8d394cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff8d394530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8d394530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8d394530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #26 0x0000ffff8d3a0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #27 0x0000ffff8d3a0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #28 0x0000ffff8d3a0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #29 0x0000ffff8d3aa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x0000ffff8d3aa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff8d3aa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #32 0x0000ffff8d30eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffff8d30eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffff8d30eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #35 0x0000ffff8d30eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #36 0x0000ffff8d7fc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff8d7fc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff8d7fc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #39 0x0000ffff8d321ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #40 0x0000ffff8d321ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #41 0x0000ffff8d321ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #42 0x0000ffff8d33c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #43 0x0000ffff8d33c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #44 0x0000ffff8d33c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #45 0x0000ffff8d33c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #46 0x0000ffff8d33c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #47 0x0000ffff8d33c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #48 0x0000ffff8d33c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #49 0x0000ffff8d33c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #50 0x0000ffff8d33cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #51 0x0000ffff8d33cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #52 0x0000ffff8d33cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #53 0x0000ffff8d33cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #54 0x0000ffff8d33cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #55 0x0000ffff8d606bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #56 0x0000ffff8d606bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #57 0x0000ffff8d606bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #58 0x0000ffff8d606bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #59 0x0000ffff8d606bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #60 0x0000ffff8d607b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #61 0x0000ffff8d607b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x0000ffff8d607b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #63 0x0000ffff8d60c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x0000ffff8d60c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x0000ffff8d60c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x0000ffff8d60c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x0000ffff8d60c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x0000ffff8ba62058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #69 0x0000ffff8ba62058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x0000ffff8ba62058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #71 0x0000ffff8ba62058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x0000ffff8d127450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #73 0x0000ffff8d0df104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #74 0x0000ffff8d0df104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #75 0x0000ffff8d0df104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #76 0x0000ffff8d16551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #77 0x0000aaaaea8b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000aaaaea8b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000aaaaea8baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000aaaaea8b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x0000ffff846b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #82 0x0000ffff846b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #83 0x0000aaaaea8b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stack-addr-ps.c.script: line 1: 2540687 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-addr-ps.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/stack-frame-context-revision.cpp (1125 of 18966) ******************** TEST 'Clang :: Analysis/stack-frame-context-revision.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,cplusplus.NewDelete -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-frame-context-revision.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,cplusplus.NewDelete -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-frame-context-revision.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test(Node *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-frame-context-revision.cpp:29:10: Error evaluating branch #0 0x0000ffffa3a5acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa3a59100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa3a5b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffac9d1800 (linux-vdso.so.1+0x800) #4 0x0000ffffabcd29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffabcd29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffabcd29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffabcd29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffabcd29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffabcd29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffabcd29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffabcd29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffab980048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffab980048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffab980048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffab980048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffab980f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffab980f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffab980f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffab980f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffab993b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffab993b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffab993b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffab995060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffab995060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffab995060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffab994530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffab994530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffab994530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffab9a0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffab9a0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffab9a0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffab9aa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffab9aa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffab9aa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffab90eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffab90eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffab90eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffab90eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffabdfc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffabdfc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffabdfc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffab924c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffab924c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffab924c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffab924c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffab924c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffab924c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffab924c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffab924c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffab924c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffab924c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffab925200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffab93cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffab93cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffab93cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffab93cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffab93cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffabc06bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffabc06bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffabc06bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffabc06bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffabc06bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffabc07b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffabc07b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffabc07b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffabc0c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffabc0c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffabc0c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffabc0c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffabc0c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffaa062058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffaa062058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffaa062058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffaa062058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffab727450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffab6df104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffab6df104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffab6df104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffab76551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab4f659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab4f694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab4f6aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab4f61fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa2cb098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa2cb0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab4f620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stack-frame-context-revision.cpp.script: line 1: 2540730 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,cplusplus.NewDelete -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-frame-context-revision.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/stackaddrleak.c (1126 of 18966) ******************** TEST 'Clang :: Analysis/stackaddrleak.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -std=c99 -Dbool=_Bool -Wno-bool-conversion /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stackaddrleak.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -x c++ -Wno-bool-conversion /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stackaddrleak.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -std=c99 -Dbool=_Bool -Wno-bool-conversion /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stackaddrleak.c 1. parser at end of file 2. While analyzing stack: #0 Calling test_multi_return #0 0x0000ffffaf07acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaf079100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaf07b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb7ffb800 (linux-vdso.so.1+0x800) #4 0x0000ffffb6f3526c llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffb6f3526c llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb6f3526c llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb6f3526c llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb6f3526c llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:38 #9 0x0000ffffb6f3526c clang::ento::ProgramStatePartialTrait>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:204:35 #10 0x0000ffffb6f3526c contains<(anonymous namespace)::InitializedGlobalsSet> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:470:42 #11 0x0000ffffb6f3526c clang::ento::ExprEngine::processStaticInitializer(clang::DeclStmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2822:59 #12 0x0000ffffb6f355dc clang::ento::CoreEngine::HandleStaticInit(clang::DeclStmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:484:10 #13 0x0000ffffb6f5c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #14 0x0000ffffb6f5cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffb6f5cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffb6f5cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffb6f5cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffb6f5cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffffb7226bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffb7226bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffb7226bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffb7226bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffb7226bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffb7227b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffffb7227b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffb7227b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffb722c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffb722c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffb722c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffb722c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffb722c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffffb5682058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffffb5682058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffffb5682058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffffb5682058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffb6d47450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffb6cff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffb6cff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffb6cff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffb6d8551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaab7f259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaab7f294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaab7f2aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaab7f21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffffae2d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffffae2d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaab7f220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stackaddrleak.c.script: line 2: 2540739 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -std=c99 -Dbool=_Bool -Wno-bool-conversion /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stackaddrleak.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/stack-capture-leak-no-arc.mm (1129 of 18966) ******************** TEST 'Clang :: Analysis/stack-capture-leak-no-arc.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,alpha.core.StackAddressAsyncEscape -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-capture-leak-no-arc.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,alpha.core.StackAddressAsyncEscape -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-capture-leak-no-arc.mm 1. parser at end of file 2. While analyzing stack: #0 Calling anonymous code 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-capture-leak-no-arc.mm:34:5: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-capture-leak-no-arc.mm:34:5: Error evaluating statement #0 0x0000ffff9a7bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9a7b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9a7bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa3738800 (linux-vdso.so.1+0x800) #4 0x0000ffffa2a329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa2a329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa2a329e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa2a329e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa2a329e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa2a329e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa2a329e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa2a329e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa26e0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa26e0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa26e0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa26e0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa26e0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa26e0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa26e0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa26e0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa26f3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa26f3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa26f3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa26f5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa26f5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa26f5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa26f4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa26f4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa26f4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa2700b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa2700b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa2700b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa270a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa270a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa270a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa266eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa266eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa266eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa266eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa2b5c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa2b5c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa2b5c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa2743908 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffa2743908 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffa2743908 checkFunctionPointerCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:390:79 #45 0x0000ffffa2743908 checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:546:37 #46 0x0000ffffa2743908 void clang::ento::check::PreCall::_checkCall<(anonymous namespace)::CallAndMessageChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:168:45 #47 0x0000ffffa26589a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #48 0x0000ffffa26589a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #49 0x0000ffffa26589a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #50 0x0000ffffa26589a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #51 0x0000ffffa26589a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #52 0x0000ffffa26b8b70 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #53 0x0000ffffa26b8b70 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #54 0x0000ffffa26b8b70 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #55 0x0000ffffa26b8b70 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #56 0x0000ffffa26b8b70 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #57 0x0000ffffa26b8b70 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #58 0x0000ffffa26b8b70 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:683:44 #59 0x0000ffffa26b9514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #60 0x0000ffffa269b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #61 0x0000ffffa269b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #62 0x0000ffffa269c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #63 0x0000ffffa269c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #64 0x0000ffffa269c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #65 0x0000ffffa269cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x0000ffffa269cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x0000ffffa269cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #68 0x0000ffffa269cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #69 0x0000ffffa269cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #70 0x0000ffffa2966bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #71 0x0000ffffa2966bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #72 0x0000ffffa2966bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #73 0x0000ffffa2966bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #74 0x0000ffffa2966bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #75 0x0000ffffa2967b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #76 0x0000ffffa2967b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x0000ffffa2967b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #78 0x0000ffffa296c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x0000ffffa296c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x0000ffffa296c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x0000ffffa296c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x0000ffffa296c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x0000ffffa0dc2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #84 0x0000ffffa0dc2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x0000ffffa0dc2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #86 0x0000ffffa0dc2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x0000ffffa2487450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #88 0x0000ffffa243f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #89 0x0000ffffa243f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #90 0x0000ffffa243f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #91 0x0000ffffa24c551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #92 0x0000aaaadb3159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x0000aaaadb3194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x0000aaaadb31aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x0000aaaadb311fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x0000ffff99a1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #97 0x0000ffff99a10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #98 0x0000aaaadb3120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stack-capture-leak-no-arc.mm.script: line 1: 2540728 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,alpha.core.StackAddressAsyncEscape -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-capture-leak-no-arc.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/static_local.m (1132 of 18966) ******************** TEST 'Clang :: Analysis/static_local.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/static_local.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/static_local.m 1. parser at end of file #0 0x0000ffffade6acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffade69100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffade6b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb6de1800 (linux-vdso.so.1+0x800) #4 0x0000ffffb60e29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb60e29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb60e29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb60e29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb60e29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb60e29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb60e29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb60e29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb5d90048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb5d90048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb5d90048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb5d90048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb5d90f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb5d90f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb5d90f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb5d90f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb5da3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb5da3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb5da3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb5da5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb5da5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb5da5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb5da4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb5da4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb5da4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb5db0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb5db0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb5db0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb5dba414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb5dba414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb5dba414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb5d1eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb5d1eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb5d1eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb5d1eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb5d1efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb5d1efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb5d1efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb5cf2620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffb5cf2620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffb5cf2620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffb5d2ef78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffb5d2ef78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffb5d2ef78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffb5d4ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffb5d4ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffb5d4ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffb6016bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffb6016bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffb6016bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffb6016bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffb6016bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffb6017b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffb6017b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffb6017b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffb601c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb601c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb601c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffb601c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffb601c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffb4472058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffb4472058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffb4472058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffb4472058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffb5b37450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffb5aef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffb5aef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffb5aef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffb5b7551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaae64059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaae64094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaae640aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaae6401fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffad0c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffad0c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaae64020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/static_local.m.script: line 1: 2540760 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/static_local.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/std-c-library-functions-arg-constraints-notes.cpp (1134 of 18966) ******************** TEST 'Clang :: Analysis/std-c-library-functions-arg-constraints-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-constraints-notes.cpp -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=debug.StdCLibraryFunctionsTester -analyzer-config alpha.unix.StdCLibraryFunctions:DisplayLoadedSummaries=true -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple i686-unknown-linux -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-constraints-notes.cpp -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=debug.StdCLibraryFunctionsTester -analyzer-config alpha.unix.StdCLibraryFunctions:DisplayLoadedSummaries=true -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple i686-unknown-linux -verify 1. parser at end of file #0 0x0000ffff97deacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff97de9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff97deb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa0d6b800 (linux-vdso.so.1+0x800) #4 0x0000ffffa00629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa00629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa00629e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa00629e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa00629e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa00629e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa00629e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa00629e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9fd10048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9fd10048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9fd10048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9fd10048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9fd120b8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9fd120b8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9fd120b8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9fd120b8 (anonymous namespace)::RangeConstraintManager::assumeSymWithinInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3224:0 #20 0x0000ffff9fd241f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9fd241f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9fd241f8 clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:129:64 #23 0x0000ffff9fd24754 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9fd24754 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9fd24754 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #26 0x0000ffff9fc9f108 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9fc9f108 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9fc9f108 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:75 #29 0x0000ffff9fc9f108 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffff9fcb55b8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff9fcb55b8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff9fcb55b8 clang::ento::ProgramState::assumeInclusiveRange(clang::ento::DefinedOrUnknownSVal, llvm::APSInt const&, llvm::APSInt const&) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:746:43 #33 0x0000ffff9fcb55b8 clang::ento::ExprEngine::processSwitch(clang::ento::SwitchNodeBuilder&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3004:42 #34 0x0000ffff9fcbcf8c clang::ento::CoreEngine::HandleBlockExit(clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:422:0 #35 0x0000ffff9fcccb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff9fcccb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff9fcccb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffff9fcccb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffff9fcccb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffff9ff96bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffff9ff96bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffff9ff96bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffff9ff96bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffff9ff96bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffff9ff97b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffff9ff97b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffff9ff97b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffff9ff9c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffff9ff9c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffff9ff9c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffff9ff9c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffff9ff9c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffff9e3f2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffff9e3f2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffff9e3f2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffff9e3f2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffff9fab7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffff9fa6f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffff9fa6f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffff9fa6f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffff9faf551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaaac8359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaaac8394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaaac83aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaaac831fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff9704098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff97040a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaaac8320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions-arg-constraints-notes.cpp.script: line 1: 2540784 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-constraints-notes.cpp -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=debug.StdCLibraryFunctionsTester -analyzer-config alpha.unix.StdCLibraryFunctions:DisplayLoadedSummaries=true -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple i686-unknown-linux -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/std-c-library-functions-arg-constraints-note-tags.cpp (1136 of 18966) ******************** TEST 'Clang :: Analysis/std-c-library-functions-arg-constraints-note-tags.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-constraints-note-tags.cpp -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=debug.StdCLibraryFunctionsTester -analyzer-config alpha.unix.StdCLibraryFunctions:DisplayLoadedSummaries=true -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple i686-unknown-linux -analyzer-output=text -verify -- Exit Code: 139 Command Output (stderr): -- Loaded summary for: int __not_null(int *) Loaded summary for: int __single_val_0(int) Loaded summary for: int __buf_size_arg_constraint_concrete(const void *buf) Loaded summary for: int __test_case_note() PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-constraints-note-tags.cpp -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=debug.StdCLibraryFunctionsTester -analyzer-config alpha.unix.StdCLibraryFunctions:DisplayLoadedSummaries=true -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple i686-unknown-linux -analyzer-output=text -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_case_note_2(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-constraints-note-tags.cpp:63:11: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-constraints-note-tags.cpp:63:11: Error evaluating statement #0 0x0000ffff94e3acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff94e39100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff94e3b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9ddb5800 (linux-vdso.so.1+0x800) #4 0x0000ffff9cd39cd0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff9cd39cd0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9cd39cd0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9cd39cd0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9cd39cd0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9cd39cd0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9cd39cd0 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffff9cd39cd0 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffff9cd39cd0 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x0000ffff9cd39dac (anonymous namespace)::RangeConstraintManager::getSymVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2862:36 #14 0x0000ffff9cd80f48 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier::VisitSymbolData(clang::ento::SymbolData const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1259:54 #15 0x0000ffff9d199dd4 VisitNonLocSymbolVal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1365:0 #16 0x0000ffff9d199dd4 Visit /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def:67:0 #17 0x0000ffff9d199dd4 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1371:0 #18 0x0000ffff9cd74824 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #19 0x0000ffff9cd74824 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #20 0x0000ffff9cd73df8 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #21 0x0000ffff9cd73efc clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #22 0x0000ffff9cd7403c clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:105:17 #23 0x0000ffff9cd74754 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9cd74754 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9cd74754 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #26 0x0000ffff9ccef108 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9ccef108 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9ccef108 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:75 #29 0x0000ffff9ccef108 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffff9ccef45c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff9ccef45c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff9ccef45c clang::ento::ConstraintManager::assumeInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:121:54 #33 0x0000ffff9cf64d20 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1050:0 #34 0x0000ffff9cf64d20 __invoke_impl&, const llvm::APSInt&, const llvm::APSInt&> /usr/include/c++/12/bits/invoke.h:61:0 #35 0x0000ffff9cf64d20 __invoke_r&, const llvm::APSInt&, const llvm::APSInt&> /usr/include/c++/12/bits/invoke.h:114:0 #36 0x0000ffff9cf64d20 std::_Function_handler, clang::ento::CallEvent const&, (anonymous namespace)::StdLibraryFunctionsChecker::Summary const&, clang::ento::CheckerContext&) const::'lambda'(llvm::APSInt const&, llvm::APSInt const&)>::_M_invoke(std::_Any_data const&, llvm::APSInt const&, llvm::APSInt const&) /usr/include/c++/12/bits/std_function.h:290:0 #37 0x0000ffff9cf4d4a4 std::_Function_base::~_Function_base() /usr/include/c++/12/bits/std_function.h:243:11 #38 0x0000ffff9cf4d4a4 std::function::~function() /usr/include/c++/12/bits/std_function.h:334:0 #39 0x0000ffff9cf4d4a4 (anonymous namespace)::StdLibraryFunctionsChecker::RangeConstraint::apply(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&, (anonymous namespace)::StdLibraryFunctionsChecker::Summary const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1055:0 #40 0x0000ffff9cf640d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #41 0x0000ffff9cf640d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #42 0x0000ffff9cf640d0 (anonymous namespace)::StdLibraryFunctionsChecker::checkPostCall(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1379:0 #43 0x0000ffff9ccd89a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x0000ffff9ccd89a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff9ccd89a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #46 0x0000ffff9ccd89a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #47 0x0000ffff9ccd89a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #48 0x0000ffff9cd38c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #49 0x0000ffff9cd38c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #50 0x0000ffff9cd38c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #51 0x0000ffff9cd38c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #52 0x0000ffff9cd38c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #53 0x0000ffff9cd38c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #54 0x0000ffff9cd39514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #55 0x0000ffff9cd1b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #56 0x0000ffff9cd1b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #57 0x0000ffff9cd1c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #58 0x0000ffff9cd1c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #59 0x0000ffff9cd1c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #60 0x0000ffff9cd1cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #61 0x0000ffff9cd1cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #62 0x0000ffff9cd1cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #63 0x0000ffff9cd1cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #64 0x0000ffff9cd1cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #65 0x0000ffff9cfe6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #66 0x0000ffff9cfe6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #67 0x0000ffff9cfe6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #68 0x0000ffff9cfe6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #69 0x0000ffff9cfe6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #70 0x0000ffff9cfe7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #71 0x0000ffff9cfe7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #72 0x0000ffff9cfe7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #73 0x0000ffff9cfec130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #74 0x0000ffff9cfec130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #75 0x0000ffff9cfec130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #76 0x0000ffff9cfec130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #77 0x0000ffff9cfec130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #78 0x0000ffff9b442058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #79 0x0000ffff9b442058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #80 0x0000ffff9b442058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #81 0x0000ffff9b442058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #82 0x0000ffff9cb07450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #83 0x0000ffff9cabf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #84 0x0000ffff9cabf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #85 0x0000ffff9cabf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #86 0x0000ffff9cb4551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #87 0x0000aaaad8de59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #88 0x0000aaaad8de94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #89 0x0000aaaad8deaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #90 0x0000aaaad8de1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #91 0x0000ffff9409098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #92 0x0000ffff94090a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #93 0x0000aaaad8de20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions-arg-constraints-note-tags.cpp.script: line 1: 2540779 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-constraints-note-tags.cpp -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=debug.StdCLibraryFunctionsTester -analyzer-config alpha.unix.StdCLibraryFunctions:DisplayLoadedSummaries=true -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple i686-unknown-linux -analyzer-output=text -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/std-c-library-functions-arg-constraints.c (1137 of 18966) ******************** TEST 'Clang :: Analysis/std-c-library-functions-arg-constraints.c' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-constraints.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-checker=debug.StdCLibraryFunctionsTester -analyzer-checker=debug.ExprInspection -triple x86_64-unknown-linux-gnu -verify=report : 'RUN: at line 12'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-constraints.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-checker=debug.StdCLibraryFunctionsTester -analyzer-checker=debug.ExprInspection -triple x86_64-unknown-linux-gnu -analyzer-output=text -verify=bugpath -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-constraints.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-checker=debug.StdCLibraryFunctionsTester -analyzer-checker=debug.ExprInspection -triple x86_64-unknown-linux-gnu -verify=report 1. parser at end of file 2. While analyzing stack: #0 Calling test_buf_size_symbolic_and_offset_with_multiplication #0 0x0000ffffaedaacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaeda9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaedab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb7d2c800 (linux-vdso.so.1+0x800) #4 0x0000ffffb6ccc134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb6ccc134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb6ccc134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb6ccc134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffb6ccc134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffb6ccc134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffb6c7748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffb6c7748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffb6c7748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffb6ca2e5c llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #14 0x0000ffffb6ca2e5c clang::ento::ExprEngine::removeDeadOnEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:187:1 #15 0x0000ffffb6c7c4b8 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #16 0x0000ffffb6c7c4b8 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #17 0x0000ffffb6c7c4b8 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #18 0x0000ffffb6c7c4b8 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2951:0 #19 0x0000ffffb6c7c948 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #20 0x0000ffffb6c8c974 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #21 0x0000ffffb6c8cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #22 0x0000ffffb6c8cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #23 0x0000ffffb6c8cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #24 0x0000ffffb6c8cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #25 0x0000ffffb6c8cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #26 0x0000ffffb6f56bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb6f56bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb6f56bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #29 0x0000ffffb6f56bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #30 0x0000ffffb6f56bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #31 0x0000ffffb6f57b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #32 0x0000ffffb6f57b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x0000ffffb6f57b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #34 0x0000ffffb6f5c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x0000ffffb6f5c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x0000ffffb6f5c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x0000ffffb6f5c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x0000ffffb6f5c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x0000ffffb53b2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #40 0x0000ffffb53b2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x0000ffffb53b2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #42 0x0000ffffb53b2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x0000ffffb6a77450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #44 0x0000ffffb6a2f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #45 0x0000ffffb6a2f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #46 0x0000ffffb6a2f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #47 0x0000ffffb6ab551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #48 0x0000aaaae81d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x0000aaaae81d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x0000aaaae81daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x0000aaaae81d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x0000ffffae00098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #53 0x0000ffffae000a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #54 0x0000aaaae81d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions-arg-constraints.c.script: line 2: 2540800 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-constraints.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-checker=debug.StdCLibraryFunctionsTester -analyzer-checker=debug.ExprInspection -triple x86_64-unknown-linux-gnu -verify=report -- ******************** Testing: 0 FAIL: Clang :: Analysis/std-c-library-functions-arg-cstring-dependency.c (1138 of 18966) ******************** TEST 'Clang :: Analysis/std-c-library-functions-arg-cstring-dependency.c' FAILED ******************** Script: -- : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-cstring-dependency.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=unix.cstring.NullArg -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -triple x86_64-unknown-linux-gnu -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-cstring-dependency.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=unix.cstring.NullArg -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -triple x86_64-unknown-linux-gnu -verify 1. parser at end of file 2. While analyzing stack: #0 Calling strncasecmp_null_argument 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-cstring-dependency.c:19:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-cstring-dependency.c:19:10: Error evaluating statement #0 0x0000ffffb479acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb4799100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb479b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbd71e800 (linux-vdso.so.1+0x800) #4 0x0000ffffbca129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbca129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbca129e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbca129e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbca129e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbca129e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbca129e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbca129e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbc6c0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbc6c0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbc6c0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbc6c0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbc6c0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbc6c0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbc6c0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbc6c0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbc6d3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbc6d3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbc6d3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbc6d5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbc6d5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbc6d5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbc6d4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbc6d4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbc6d4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbc6e0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbc6e0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbc6e0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbc6ea414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbc6ea414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbc6ea414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbc64ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbc64ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbc64ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbc64ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffbcb44608 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbcb44608 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbcb44608 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffbcb44608 (anonymous namespace)::CStringChecker::assumeZero(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::QualType) (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:346:0 #43 0x0000ffffbcb446c8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #44 0x0000ffffbcb446c8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #45 0x0000ffffbcb446c8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffbcb446c8 (anonymous namespace)::CStringChecker::checkNonNull(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, (anonymous namespace)::AnyArgExpr, clang::ento::SVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:358:0 #47 0x0000ffffbc7141a8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #48 0x0000ffffbc7141a8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #49 0x0000ffffbc7141a8 (anonymous namespace)::CStringChecker::evalStrcmpCommon(clang::ento::CheckerContext&, clang::CallExpr const*, bool, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2103:47 #50 0x0000ffffbc71dd80 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #51 0x0000ffffbc71dd80 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2515:23 #52 0x0000ffffbc71dd80 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::CStringChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #53 0x0000ffffbc63938c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #54 0x0000ffffbc698bec llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #55 0x0000ffffbc698bec llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #56 0x0000ffffbc698bec clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #57 0x0000ffffbc698bec clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #58 0x0000ffffbc699514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #59 0x0000ffffbc67b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #60 0x0000ffffbc67b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #61 0x0000ffffbc67c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #62 0x0000ffffbc67c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #63 0x0000ffffbc67c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #64 0x0000ffffbc67cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x0000ffffbc67cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x0000ffffbc67cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #67 0x0000ffffbc67cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #68 0x0000ffffbc67cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #69 0x0000ffffbc946bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #70 0x0000ffffbc946bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #71 0x0000ffffbc946bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #72 0x0000ffffbc946bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #73 0x0000ffffbc946bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #74 0x0000ffffbc947b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #75 0x0000ffffbc947b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #76 0x0000ffffbc947b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #77 0x0000ffffbc94c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #78 0x0000ffffbc94c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #79 0x0000ffffbc94c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #80 0x0000ffffbc94c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #81 0x0000ffffbc94c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #82 0x0000ffffbada2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #83 0x0000ffffbada2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #84 0x0000ffffbada2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #85 0x0000ffffbada2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #86 0x0000ffffbc467450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #87 0x0000ffffbc41f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #88 0x0000ffffbc41f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #89 0x0000ffffbc41f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #90 0x0000ffffbc4a551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #91 0x0000aaaac5b359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #92 0x0000aaaac5b394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #93 0x0000aaaac5b3aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #94 0x0000aaaac5b31fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #95 0x0000ffffb39f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #96 0x0000ffffb39f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #97 0x0000aaaac5b320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions-arg-cstring-dependency.c.script: line 1: 2540809 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-cstring-dependency.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=unix.cstring.NullArg -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -triple x86_64-unknown-linux-gnu -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/std-c-library-functions-eof.c (1139 of 18966) ******************** TEST 'Clang :: Analysis/std-c-library-functions-eof.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-eof.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i686-unknown-linux -analyzer-checker=core,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-eof.c : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux -analyzer-checker=core,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-eof.c : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple armv7-a15-linux -analyzer-checker=core,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-eof.c : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple thumbv7-a15-linux -analyzer-checker=core,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-eof.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-eof.c 1. parser at end of file 2. While analyzing stack: #0 Calling test_getc 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-eof.c:17:15: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-eof.c:17:15: Error evaluating statement #0 0x0000ffff8112acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff81129100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8112b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8a0a5800 (linux-vdso.so.1+0x800) #4 0x0000ffff893a29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff893a29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff893a29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff893a29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff893a29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff893a29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff893a29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff893a29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff89050048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff89050048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff89050048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff89050048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff890520b8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff890520b8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff890520b8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff890520b8 (anonymous namespace)::RangeConstraintManager::assumeSymWithinInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3224:0 #20 0x0000ffff890641f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff890641f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff890641f8 clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:129:64 #23 0x0000ffff89064754 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff89064754 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff89064754 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #26 0x0000ffff88fdf108 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff88fdf108 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff88fdf108 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:75 #29 0x0000ffff88fdf108 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffff88fdf45c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff88fdf45c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff88fdf45c clang::ento::ConstraintManager::assumeInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:121:54 #33 0x0000ffff89254d20 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1050:0 #34 0x0000ffff89254d20 __invoke_impl&, const llvm::APSInt&, const llvm::APSInt&> /usr/include/c++/12/bits/invoke.h:61:0 #35 0x0000ffff89254d20 __invoke_r&, const llvm::APSInt&, const llvm::APSInt&> /usr/include/c++/12/bits/invoke.h:114:0 #36 0x0000ffff89254d20 std::_Function_handler, clang::ento::CallEvent const&, (anonymous namespace)::StdLibraryFunctionsChecker::Summary const&, clang::ento::CheckerContext&) const::'lambda'(llvm::APSInt const&, llvm::APSInt const&)>::_M_invoke(std::_Any_data const&, llvm::APSInt const&, llvm::APSInt const&) /usr/include/c++/12/bits/std_function.h:290:0 #37 0x0000ffff8923ced4 (anonymous namespace)::StdLibraryFunctionsChecker::RangeConstraint::applyOnOutOfRange(clang::ento::BasicValueFactory&, clang::QualType, std::function const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1022:0 #38 0x0000ffff8923d4a4 std::_Function_base::~_Function_base() /usr/include/c++/12/bits/std_function.h:243:11 #39 0x0000ffff8923d4a4 std::function::~function() /usr/include/c++/12/bits/std_function.h:334:0 #40 0x0000ffff8923d4a4 (anonymous namespace)::StdLibraryFunctionsChecker::RangeConstraint::apply(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&, (anonymous namespace)::StdLibraryFunctionsChecker::Summary const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1055:0 #41 0x0000ffff892540d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #42 0x0000ffff892540d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #43 0x0000ffff892540d0 (anonymous namespace)::StdLibraryFunctionsChecker::checkPostCall(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1379:0 #44 0x0000ffff88fc89a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff88fc89a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff88fc89a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffff88fc89a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffff88fc89a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffff89028c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffff89028c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffff89028c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffff89028c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffff89028c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffff89028c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffff89029514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffff8900b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffff8900b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffff8900c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffff8900c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffff8900c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffff8900cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffff8900cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffff8900cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffff8900cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffff8900cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #66 0x0000ffff892d6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffff892d6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffff892d6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffff892d6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffff892d6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffff892d7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #72 0x0000ffff892d7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffff892d7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffff892dc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffff892dc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffff892dc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffff892dc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffff892dc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffff87732058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #80 0x0000ffff87732058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffff87732058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #82 0x0000ffff87732058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffff88df7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffff88daf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffff88daf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffff88daf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffff88e3551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaab3e259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaab3e294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaab3e2aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaab3e21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff8038098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff80380a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaab3e220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions-eof.c.script: line 5: 2540831 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-eof.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/std-c-library-functions-inlined.c (1140 of 18966) ******************** TEST 'Clang :: Analysis/std-c-library-functions-inlined.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.unix.StdCLibraryFunctions -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-inlined.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i686-unknown-linux -analyzer-checker=alpha.unix.StdCLibraryFunctions -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-inlined.c : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux -analyzer-checker=alpha.unix.StdCLibraryFunctions -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-inlined.c : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple armv7-a15-linux -analyzer-checker=alpha.unix.StdCLibraryFunctions -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-inlined.c : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple thumbv7-a15-linux -analyzer-checker=alpha.unix.StdCLibraryFunctions -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-inlined.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.unix.StdCLibraryFunctions -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-inlined.c 1. parser at end of file 2. While analyzing stack: #0 Calling test_redefined_isdigit 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-inlined.c:15:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-inlined.c:15:10: Error evaluating statement #0 0x0000ffffadabacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffadab9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffadabb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb6a3b800 (linux-vdso.so.1+0x800) #4 0x0000ffffb59b9cd0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffb59b9cd0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb59b9cd0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb59b9cd0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb59b9cd0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb59b9cd0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb59b9cd0 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffffb59b9cd0 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffffb59b9cd0 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x0000ffffb59b9dac (anonymous namespace)::RangeConstraintManager::getSymVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2862:36 #14 0x0000ffffb5a00f48 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier::VisitSymbolData(clang::ento::SymbolData const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1259:54 #15 0x0000ffffb5e19dd4 VisitNonLocSymbolVal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1365:0 #16 0x0000ffffb5e19dd4 Visit /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def:67:0 #17 0x0000ffffb5e19dd4 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1371:0 #18 0x0000ffffb59f4824 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #19 0x0000ffffb59f4824 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #20 0x0000ffffb59f3df8 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #21 0x0000ffffb59f3efc clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #22 0x0000ffffb59f403c clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:105:17 #23 0x0000ffffb59f4754 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb59f4754 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb59f4754 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #26 0x0000ffffb596f108 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb596f108 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb596f108 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:75 #29 0x0000ffffb596f108 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffffb596f45c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffb596f45c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffb596f45c clang::ento::ConstraintManager::assumeInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:121:54 #33 0x0000ffffb5be4d20 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1050:0 #34 0x0000ffffb5be4d20 __invoke_impl&, const llvm::APSInt&, const llvm::APSInt&> /usr/include/c++/12/bits/invoke.h:61:0 #35 0x0000ffffb5be4d20 __invoke_r&, const llvm::APSInt&, const llvm::APSInt&> /usr/include/c++/12/bits/invoke.h:114:0 #36 0x0000ffffb5be4d20 std::_Function_handler, clang::ento::CallEvent const&, (anonymous namespace)::StdLibraryFunctionsChecker::Summary const&, clang::ento::CheckerContext&) const::'lambda'(llvm::APSInt const&, llvm::APSInt const&)>::_M_invoke(std::_Any_data const&, llvm::APSInt const&, llvm::APSInt const&) /usr/include/c++/12/bits/std_function.h:290:0 #37 0x0000ffffb5bcd4a4 std::_Function_base::~_Function_base() /usr/include/c++/12/bits/std_function.h:243:11 #38 0x0000ffffb5bcd4a4 std::function::~function() /usr/include/c++/12/bits/std_function.h:334:0 #39 0x0000ffffb5bcd4a4 (anonymous namespace)::StdLibraryFunctionsChecker::RangeConstraint::apply(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&, (anonymous namespace)::StdLibraryFunctionsChecker::Summary const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1055:0 #40 0x0000ffffb5be40d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #41 0x0000ffffb5be40d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #42 0x0000ffffb5be40d0 (anonymous namespace)::StdLibraryFunctionsChecker::checkPostCall(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1379:0 #43 0x0000ffffb59589a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x0000ffffb59589a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffb59589a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #46 0x0000ffffb59589a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #47 0x0000ffffb59589a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #48 0x0000ffffb59b8c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #49 0x0000ffffb59b8c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #50 0x0000ffffb59b8c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #51 0x0000ffffb59b8c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #52 0x0000ffffb59b8c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #53 0x0000ffffb59b8c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #54 0x0000ffffb59b9514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #55 0x0000ffffb599b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #56 0x0000ffffb599b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #57 0x0000ffffb599c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #58 0x0000ffffb599c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #59 0x0000ffffb599c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #60 0x0000ffffb599cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #61 0x0000ffffb599cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #62 0x0000ffffb599cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #63 0x0000ffffb599cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #64 0x0000ffffb599cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #65 0x0000ffffb5c66bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #66 0x0000ffffb5c66bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #67 0x0000ffffb5c66bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #68 0x0000ffffb5c66bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #69 0x0000ffffb5c66bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #70 0x0000ffffb5c67b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #71 0x0000ffffb5c67b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #72 0x0000ffffb5c67b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #73 0x0000ffffb5c6c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #74 0x0000ffffb5c6c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #75 0x0000ffffb5c6c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #76 0x0000ffffb5c6c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #77 0x0000ffffb5c6c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #78 0x0000ffffb40c2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #79 0x0000ffffb40c2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #80 0x0000ffffb40c2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #81 0x0000ffffb40c2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #82 0x0000ffffb5787450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #83 0x0000ffffb573f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #84 0x0000ffffb573f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #85 0x0000ffffb573f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #86 0x0000ffffb57c551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #87 0x0000aaaaea6659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #88 0x0000aaaaea6694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #89 0x0000aaaaea66aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #90 0x0000aaaaea661fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #91 0x0000ffffacd1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #92 0x0000ffffacd10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #93 0x0000aaaaea6620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions-inlined.c.script: line 5: 2540835 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.unix.StdCLibraryFunctions -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-inlined.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/std-c-library-functions-path-notes.c (1141 of 18966) ******************** TEST 'Clang :: Analysis/std-c-library-functions-path-notes.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-path-notes.c -analyzer-checker=core,alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-output=text -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-path-notes.c -analyzer-checker=core,alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-output=text 1. parser at end of file 2. While analyzing stack: #0 Calling test_fileno_arg_note 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-path-notes.c:78:14: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-path-notes.c:78:14: Error evaluating statement #0 0x0000ffff77c9acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff77c99100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff77c9b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff80c18800 (linux-vdso.so.1+0x800) #4 0x0000ffff7ff129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff7ff129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff7ff129e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff7ff129e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff7ff129e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff7ff129e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff7ff129e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff7ff129e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff7fbc0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff7fbc0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff7fbc0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff7fbc0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff7fbc0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff7fbc0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff7fbc0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff7fbc0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff7fbd3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff7fbd3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff7fbd3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff7fbd5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff7fbd5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff7fbd5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff7fbd4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff7fbd4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff7fbd4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff7fbe0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff7fbe0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff7fbe0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff7fbea414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff7fbea414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff7fbea414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff7fb4eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff7fb4eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff7fb4eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff7fb4eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff7fb4efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff7fb4efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff7fb4efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff7fd9ec28 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #43 0x0000ffff7fd9ec28 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #44 0x0000ffff7fd9ec28 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:60 #45 0x0000ffff7fd9ec28 (anonymous namespace)::StdLibraryFunctionsChecker::NotNullConstraint::apply(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&, (anonymous namespace)::StdLibraryFunctionsChecker::Summary const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1168:39 #46 0x0000ffff7fdc33c4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x0000ffff7fdc33c4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x0000ffff7fdc33c4 (anonymous namespace)::StdLibraryFunctionsChecker::checkPreCall(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1326:0 #49 0x0000ffff7fb389a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #50 0x0000ffff7fb389a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #51 0x0000ffff7fb389a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #52 0x0000ffff7fb389a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #53 0x0000ffff7fb389a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #54 0x0000ffff7fb98b70 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #55 0x0000ffff7fb98b70 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #56 0x0000ffff7fb98b70 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #57 0x0000ffff7fb98b70 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #58 0x0000ffff7fb98b70 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #59 0x0000ffff7fb98b70 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #60 0x0000ffff7fb98b70 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:683:44 #61 0x0000ffff7fb99514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #62 0x0000ffff7fb7b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #63 0x0000ffff7fb7b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #64 0x0000ffff7fb7c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #65 0x0000ffff7fb7c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #66 0x0000ffff7fb7c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #67 0x0000ffff7fb7cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffff7fb7cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffff7fb7cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #70 0x0000ffff7fb7cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #71 0x0000ffff7fb7cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #72 0x0000ffff7fe46bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #73 0x0000ffff7fe46bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #74 0x0000ffff7fe46bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #75 0x0000ffff7fe46bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #76 0x0000ffff7fe46bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #77 0x0000ffff7fe47b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #78 0x0000ffff7fe47b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #79 0x0000ffff7fe47b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #80 0x0000ffff7fe4c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #81 0x0000ffff7fe4c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #82 0x0000ffff7fe4c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #83 0x0000ffff7fe4c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #84 0x0000ffff7fe4c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #85 0x0000ffff7e2a2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #86 0x0000ffff7e2a2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #87 0x0000ffff7e2a2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #88 0x0000ffff7e2a2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #89 0x0000ffff7f967450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #90 0x0000ffff7f91f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #91 0x0000ffff7f91f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #92 0x0000ffff7f91f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #93 0x0000ffff7f9a551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #94 0x0000aaaab31b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #95 0x0000aaaab31b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #96 0x0000aaaab31baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #97 0x0000aaaab31b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #98 0x0000ffff76ef098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #99 0x0000ffff76ef0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #100 0x0000aaaab31b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions-path-notes.c.script: line 1: 2540847 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-path-notes.c -analyzer-checker=core,alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-output=text -- ******************** Testing: 0. FAIL: Clang :: Analysis/std-c-library-functions.c (1142 of 18966) ******************** TEST 'Clang :: Analysis/std-c-library-functions.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple i686-unknown-linux -verify : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple x86_64-unknown-linux -verify : 'RUN: at line 17'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple armv7-a15-linux -verify : 'RUN: at line 25'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple thumbv7-a15-linux -verify : 'RUN: at line 33'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:DisplayLoadedSummaries=true -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple i686-unknown-linux 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple i686-unknown-linux -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_getenv 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.c:238:23: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.c:238:23: Error evaluating statement #0 0x0000ffff8ef3acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8ef39100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8ef3b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff97ebc800 (linux-vdso.so.1+0x800) #4 0x0000ffff971b29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff971b29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff971b29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff971b29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff971b29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff971b29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff971b29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff971b29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff96e60048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff96e60048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff96e60048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff96e60048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff96e60f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff96e60f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff96e60f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff96e60f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff96e73b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff96e73b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff96e73b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff96e75060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff96e75060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff96e75060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff96e74530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff96e74530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff96e74530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff96e80b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff96e80b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff96e80b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff96e8a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff96e8a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff96e8a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff96deeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff96deeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff96deeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff96deeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff96deefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff96deefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff96deefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff9703ec28 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #43 0x0000ffff9703ec28 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #44 0x0000ffff9703ec28 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:60 #45 0x0000ffff9703ec28 (anonymous namespace)::StdLibraryFunctionsChecker::NotNullConstraint::apply(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&, (anonymous namespace)::StdLibraryFunctionsChecker::Summary const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1168:39 #46 0x0000ffff970640d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #47 0x0000ffff970640d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #48 0x0000ffff970640d0 (anonymous namespace)::StdLibraryFunctionsChecker::checkPostCall(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1379:0 #49 0x0000ffff96dd89a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #50 0x0000ffff96dd89a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #51 0x0000ffff96dd89a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #52 0x0000ffff96dd89a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #53 0x0000ffff96dd89a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #54 0x0000ffff96e38c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #55 0x0000ffff96e38c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #56 0x0000ffff96e38c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #57 0x0000ffff96e38c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #58 0x0000ffff96e38c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #59 0x0000ffff96e38c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #60 0x0000ffff96e39514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #61 0x0000ffff96e1b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #62 0x0000ffff96e1b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #63 0x0000ffff96e1c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #64 0x0000ffff96e1c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #65 0x0000ffff96e1c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #66 0x0000ffff96e1cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff96e1cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff96e1cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #69 0x0000ffff96e1cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #70 0x0000ffff96e1cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #71 0x0000ffff970e6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #72 0x0000ffff970e6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #73 0x0000ffff970e6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #74 0x0000ffff970e6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #75 0x0000ffff970e6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #76 0x0000ffff970e7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #77 0x0000ffff970e7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #78 0x0000ffff970e7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #79 0x0000ffff970ec130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #80 0x0000ffff970ec130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #81 0x0000ffff970ec130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #82 0x0000ffff970ec130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #83 0x0000ffff970ec130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #84 0x0000ffff95542058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #85 0x0000ffff95542058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #86 0x0000ffff95542058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #87 0x0000ffff95542058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #88 0x0000ffff96c07450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #89 0x0000ffff96bbf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #90 0x0000ffff96bbf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #91 0x0000ffff96bbf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #92 0x0000ffff96c4551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #93 0x0000aaaadf1559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #94 0x0000aaaadf1594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #95 0x0000aaaadf15aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #96 0x0000aaaadf151fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #97 0x0000ffff8e19098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #98 0x0000ffff8e190a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #99 0x0000aaaadf1520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions.c.script: line 5: 2540874 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple i686-unknown-linux -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/std-c-library-functions.cpp (1143 of 18966) ******************** TEST 'Clang :: Analysis/std-c-library-functions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux -analyzer-checker=alpha.unix.StdCLibraryFunctions,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux -analyzer-checker=alpha.unix.StdCLibraryFunctions,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.cpp:13:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.cpp:13:3: Error evaluating statement #0 0x0000ffff790dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff790d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff790db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8205e800 (linux-vdso.so.1+0x800) #4 0x0000ffff813529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff813529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff813529e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff813529e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff813529e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff813529e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff813529e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff813529e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff81000048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff81000048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff81000048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff81000048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff81000d10 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff81000d10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff81000d10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff81000d10 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffff81014cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff81014cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff81014cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff81014f90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff81014f90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff81014f90 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff81014530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff81014530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff81014530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff81020b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff81020b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff81020b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8102a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8102a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8102a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff80f8ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff80f8ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff80f8ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff80f8ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff81480ea4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff81480ea4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff81480ea4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff81480ea4 getArgumentValueString(clang::CallExpr const*, clang::ento::CheckerContext&) (.part.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:150:20 #43 0x0000ffff8109bd10 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #44 0x0000ffff8109bd10 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #45 0x0000ffff8109bd10 (anonymous namespace)::ExprInspectionChecker::analyzerEval(clang::CallExpr const*, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:215:0 #46 0x0000ffff810cf4b0 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #47 0x0000ffff810cf4b0 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::ExprInspectionChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:0 #48 0x0000ffff80f7938c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #49 0x0000ffff80fd8bec llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #50 0x0000ffff80fd8bec llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #51 0x0000ffff80fd8bec clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #52 0x0000ffff80fd8bec clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #53 0x0000ffff80fd9514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #54 0x0000ffff80fbb270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #55 0x0000ffff80fbb270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #56 0x0000ffff80fbc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #57 0x0000ffff80fbc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #58 0x0000ffff80fbc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #59 0x0000ffff80fbcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff80fbcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff80fbcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffff80fbcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffff80fbcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #64 0x0000ffff81286bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffff81286bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffff81286bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffff81286bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffff81286bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffff81287b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #70 0x0000ffff81287b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffff81287b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffff8128c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffff8128c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffff8128c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffff8128c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffff8128c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffff7f6e2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #78 0x0000ffff7f6e2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffff7f6e2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #80 0x0000ffff7f6e2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffff80da7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffff80d5f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffff80d5f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffff80d5f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffff80de551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaac82259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaac82294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaac822aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaac8221fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffff7833098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff78330a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaac82220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions.cpp.script: line 1: 2540879 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux -analyzer-checker=alpha.unix.StdCLibraryFunctions,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/std-c-library-functions-vs-stream-checker.c (1144 of 18966) ******************** TEST 'Clang :: Analysis/std-c-library-functions-vs-stream-checker.c' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-vs-stream-checker.c -analyzer-checker=core,alpha.unix.Stream -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple x86_64-unknown-linux -verify=stream : 'RUN: at line 10'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-vs-stream-checker.c -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:DisplayLoadedSummaries=true -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple x86_64-unknown-linux -verify=stdLib 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-vs-stream-checker.c : 'RUN: at line 20'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-vs-stream-checker.c -analyzer-checker=core,alpha.unix.Stream -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:DisplayLoadedSummaries=true -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple x86_64-unknown-linux -verify=both 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-vs-stream-checker.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-vs-stream-checker.c -analyzer-checker=core,alpha.unix.Stream -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple x86_64-unknown-linux -verify=stream 1. parser at end of file 2. While analyzing stack: #0 Calling test_fread_fwrite 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-vs-stream-checker.c:40:8: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-vs-stream-checker.c:40:8: Error evaluating statement #0 0x0000ffff8cf6acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8cf69100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8cf6b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff95eea800 (linux-vdso.so.1+0x800) #4 0x0000ffff951e29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff951e29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff951e29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff951e29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff951e29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff951e29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff951e29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff951e29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff94e90048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff94e90048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff94e90048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff94e90048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff94e90f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff94e90f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff94e90f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff94e90f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff94ea3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff94ea3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff94ea3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff94ea5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff94ea5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff94ea5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff94ea4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff94ea4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff94ea4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff94eb0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff94eb0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff94eb0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff94eba414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff94eba414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff94eba414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff94e1eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff94e1eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff94e1eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff94e1eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff95095dbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x0000ffff95095dbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x0000ffff95095dbc (anonymous namespace)::StreamChecker::evalFopen((anonymous namespace)::FnDescription const*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:545:0 #42 0x0000ffff95077bf8 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #43 0x0000ffff95077bf8 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:525:23 #44 0x0000ffff95077bf8 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::StreamChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #45 0x0000ffff94e0938c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #46 0x0000ffff94e68bec llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #47 0x0000ffff94e68bec llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #48 0x0000ffff94e68bec clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #49 0x0000ffff94e68bec clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #50 0x0000ffff94e69514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #51 0x0000ffff94e4b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #52 0x0000ffff94e4b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #53 0x0000ffff94e4c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #54 0x0000ffff94e4c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #55 0x0000ffff94e4c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #56 0x0000ffff94e4cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x0000ffff94e4cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x0000ffff94e4cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #59 0x0000ffff94e4cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #60 0x0000ffff94e4cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #61 0x0000ffff95116bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #62 0x0000ffff95116bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #63 0x0000ffff95116bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #64 0x0000ffff95116bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #65 0x0000ffff95116bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #66 0x0000ffff95117b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #67 0x0000ffff95117b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #68 0x0000ffff95117b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #69 0x0000ffff9511c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #70 0x0000ffff9511c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #71 0x0000ffff9511c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #72 0x0000ffff9511c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #73 0x0000ffff9511c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #74 0x0000ffff93572058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #75 0x0000ffff93572058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #76 0x0000ffff93572058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #77 0x0000ffff93572058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #78 0x0000ffff94c37450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #79 0x0000ffff94bef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #80 0x0000ffff94bef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #81 0x0000ffff94bef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #82 0x0000ffff94c7551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #83 0x0000aaaae12359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #84 0x0000aaaae12394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #85 0x0000aaaae123aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #86 0x0000aaaae1231fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #87 0x0000ffff8c1c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #88 0x0000ffff8c1c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #89 0x0000aaaae12320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions-vs-stream-checker.c.script: line 3: 2540872 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-vs-stream-checker.c -analyzer-checker=core,alpha.unix.Stream -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple x86_64-unknown-linux -verify=stream -- ******************** Testing: 0. FAIL: Clang :: Analysis/std-c-library-posix-crash.c (1145 of 18966) ******************** TEST 'Clang :: Analysis/std-c-library-posix-crash.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-posix-crash.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-posix-crash.c 1. parser at end of file 2. While analyzing stack: #0 Calling test 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-posix-crash.c:16:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-posix-crash.c:16:3: Error evaluating statement #0 0x0000ffff7e27acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7e279100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7e27b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff871fc800 (linux-vdso.so.1+0x800) #4 0x0000ffff864f29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff864f29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff864f29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff864f29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff864f29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff864f29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff864f29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff864f29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff861a0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff861a0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff861a0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff861a0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff861a20b8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff861a20b8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff861a20b8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff861a20b8 (anonymous namespace)::RangeConstraintManager::assumeSymWithinInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3224:0 #20 0x0000ffff861b41f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff861b41f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff861b41f8 clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:129:64 #23 0x0000ffff861b4754 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff861b4754 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff861b4754 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #26 0x0000ffff8612f108 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8612f108 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8612f108 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:75 #29 0x0000ffff8612f108 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffff8612f45c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff8612f45c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff8612f45c clang::ento::ConstraintManager::assumeInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:121:54 #33 0x0000ffff863a4d20 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1050:0 #34 0x0000ffff863a4d20 __invoke_impl&, const llvm::APSInt&, const llvm::APSInt&> /usr/include/c++/12/bits/invoke.h:61:0 #35 0x0000ffff863a4d20 __invoke_r&, const llvm::APSInt&, const llvm::APSInt&> /usr/include/c++/12/bits/invoke.h:114:0 #36 0x0000ffff863a4d20 std::_Function_handler, clang::ento::CallEvent const&, (anonymous namespace)::StdLibraryFunctionsChecker::Summary const&, clang::ento::CheckerContext&) const::'lambda'(llvm::APSInt const&, llvm::APSInt const&)>::_M_invoke(std::_Any_data const&, llvm::APSInt const&, llvm::APSInt const&) /usr/include/c++/12/bits/std_function.h:290:0 #37 0x0000ffff8638cfb0 (anonymous namespace)::StdLibraryFunctionsChecker::RangeConstraint::applyOnOutOfRange(clang::ento::BasicValueFactory&, clang::QualType, std::function const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1029:0 #38 0x0000ffff8638d4a4 std::_Function_base::~_Function_base() /usr/include/c++/12/bits/std_function.h:243:11 #39 0x0000ffff8638d4a4 std::function::~function() /usr/include/c++/12/bits/std_function.h:334:0 #40 0x0000ffff8638d4a4 (anonymous namespace)::StdLibraryFunctionsChecker::RangeConstraint::apply(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&, (anonymous namespace)::StdLibraryFunctionsChecker::Summary const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1055:0 #41 0x0000ffff863a33c4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #42 0x0000ffff863a33c4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #43 0x0000ffff863a33c4 (anonymous namespace)::StdLibraryFunctionsChecker::checkPreCall(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1326:0 #44 0x0000ffff861189a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff861189a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff861189a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffff861189a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffff861189a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffff86178b70 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #50 0x0000ffff86178b70 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #51 0x0000ffff86178b70 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #52 0x0000ffff86178b70 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #53 0x0000ffff86178b70 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #54 0x0000ffff86178b70 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #55 0x0000ffff86178b70 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:683:44 #56 0x0000ffff86179514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #57 0x0000ffff8615b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #58 0x0000ffff8615b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #59 0x0000ffff8615c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #60 0x0000ffff8615c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #61 0x0000ffff8615c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #62 0x0000ffff8615cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffff8615cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffff8615cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffff8615cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffff8615cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #67 0x0000ffff86426bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffff86426bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffff86426bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffff86426bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffff86426bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffff86427b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #73 0x0000ffff86427b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffff86427b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffff8642c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffff8642c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffff8642c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffff8642c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffff8642c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffff84882058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #81 0x0000ffff84882058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffff84882058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #83 0x0000ffff84882058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffff85f47450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffff85eff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffff85eff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffff85eff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffff85f8551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaad8cc59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaad8cc94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaad8ccaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaad8cc1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffff7d4d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffff7d4d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaad8cc20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-posix-crash.c.script: line 1: 2540886 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-posix-crash.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/stl-algorithm-modeling-aggressive-std-find-modeling.cpp (1146 of 18966) ******************** TEST 'Clang :: Analysis/stl-algorithm-modeling-aggressive-std-find-modeling.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stl-algorithm-modeling-aggressive-std-find-modeling.cpp -analyzer-checker=core,cplusplus,alpha.cplusplus.STLAlgorithmModeling,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config alpha.cplusplus.STLAlgorithmModeling:AggressiveStdFindModeling=true -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stl-algorithm-modeling-aggressive-std-find-modeling.cpp -analyzer-checker=core,cplusplus,alpha.cplusplus.STLAlgorithmModeling,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config alpha.cplusplus.STLAlgorithmModeling:AggressiveStdFindModeling=true -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_search_n4(std::vector, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stl-algorithm-modeling-aggressive-std-find-modeling.cpp:601:39: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stl-algorithm-modeling-aggressive-std-find-modeling.cpp:601:39: Error evaluating statement #0 0x0000ffff956facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff956f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff956fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9e679800 (linux-vdso.so.1+0x800) #4 0x0000ffff9d5f9cd0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff9d5f9cd0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9d5f9cd0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9d5f9cd0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9d5f9cd0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9d5f9cd0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9d5f9cd0 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffff9d5f9cd0 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffff9d5f9cd0 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x0000ffff9d5f9dac (anonymous namespace)::RangeConstraintManager::getSymVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2862:36 #14 0x0000ffff9d64d3d8 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #15 0x0000ffff9d64d3d8 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier::getConstOrVisit(clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1246:0 #16 0x0000ffff9d64cc14 VisitSymIntExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1270:0 #17 0x0000ffff9d64cc14 clang::ento::SymExprVisitor<(anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier, clang::ento::SVal>::Visit(clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:0 #18 0x0000ffff9da59dd4 VisitNonLocSymbolVal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1365:0 #19 0x0000ffff9da59dd4 Visit /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def:67:0 #20 0x0000ffff9da59dd4 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1371:0 #21 0x0000ffff9d634824 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #22 0x0000ffff9d634824 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #23 0x0000ffff9d633df8 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #24 0x0000ffff9d633efc clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #25 0x0000ffff9d634f3c clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:26:17 #26 0x0000ffff9d634530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9d634530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9d634530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9d640b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9d640b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9d640b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9d64a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9d64a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9d64a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9d5aea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9d5aea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9d5aea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9d5aea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff9d5aefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9d5aefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9d5aefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff9d582620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff9d582620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff9d582620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff9d735894 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #46 0x0000ffff9d735894 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #47 0x0000ffff9d735894 clang::ento::iterator::assumeNoOverflow(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, long) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/Iterator.cpp:291:0 #48 0x0000ffff9d6b1d18 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #49 0x0000ffff9d6b1d18 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff9d6b1d18 createContainerBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:850:0 #51 0x0000ffff9d6b1d18 handleBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:258:0 #52 0x0000ffff9d6b1d18 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:193:0 #53 0x0000ffff9d6b1d18 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::ContainerModeling>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #54 0x0000ffff9d5989a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #55 0x0000ffff9d5989a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x0000ffff9d5989a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #57 0x0000ffff9d5989a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #58 0x0000ffff9d5989a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #59 0x0000ffff9d5f8c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #60 0x0000ffff9d5f8c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #61 0x0000ffff9d5f8c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #62 0x0000ffff9d5f8c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #63 0x0000ffff9d5f8c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #64 0x0000ffff9d5f8c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #65 0x0000ffff9d5f9514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #66 0x0000ffff9d5db270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #67 0x0000ffff9d5db270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #68 0x0000ffff9d5dc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #69 0x0000ffff9d5dc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #70 0x0000ffff9d5dc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #71 0x0000ffff9d5dcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x0000ffff9d5dcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x0000ffff9d5dcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #74 0x0000ffff9d5dcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #75 0x0000ffff9d5dcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #76 0x0000ffff9d8a6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #77 0x0000ffff9d8a6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #78 0x0000ffff9d8a6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #79 0x0000ffff9d8a6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #80 0x0000ffff9d8a6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #81 0x0000ffff9d8a7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #82 0x0000ffff9d8a7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #83 0x0000ffff9d8a7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #84 0x0000ffff9d8ac130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #85 0x0000ffff9d8ac130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #86 0x0000ffff9d8ac130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #87 0x0000ffff9d8ac130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #88 0x0000ffff9d8ac130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #89 0x0000ffff9bd02058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #90 0x0000ffff9bd02058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #91 0x0000ffff9bd02058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #92 0x0000ffff9bd02058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #93 0x0000ffff9d3c7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #94 0x0000ffff9d37f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #95 0x0000ffff9d37f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #96 0x0000ffff9d37f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #97 0x0000ffff9d40551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #98 0x0000aaaae2bb59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #99 0x0000aaaae2bb94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #100 0x0000aaaae2bbaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #101 0x0000aaaae2bb1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #102 0x0000ffff9495098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #103 0x0000ffff94950a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #104 0x0000aaaae2bb20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stl-algorithm-modeling-aggressive-std-find-modeling.cpp.script: line 1: 2540908 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stl-algorithm-modeling-aggressive-std-find-modeling.cpp -analyzer-checker=core,cplusplus,alpha.cplusplus.STLAlgorithmModeling,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config alpha.cplusplus.STLAlgorithmModeling:AggressiveStdFindModeling=true -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/std-string.cpp (1147 of 18966) ******************** TEST 'Clang :: Analysis/std-string.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-string.cpp -verify -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-checker=cplusplus.StringChecker -analyzer-config eagerly-assume=false -analyzer-output=text -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-string.cpp -verify -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-checker=cplusplus.StringChecker -analyzer-config eagerly-assume=false -analyzer-output=text 1. parser at end of file 2. While analyzing stack: #0 Calling ctor_no_notetag_if_not_interesting(const char *, const char *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-string.cpp:81:15: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-string.cpp:81:15: Error evaluating statement #0 0x0000ffffac85acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffac859100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffac85b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb57dd800 (linux-vdso.so.1+0x800) #4 0x0000ffffb4ad29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb4ad29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb4ad29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb4ad29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb4ad29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb4ad29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb4ad29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb4ad29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb4780048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb4780048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb4780048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb4780048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb4780f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb4780f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb4780f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb4780f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb4793b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb4793b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb4793b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb4795060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb4795060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb4795060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb4794530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb4794530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb4794530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb47a0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb47a0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb47a0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb47aa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb47aa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb47aa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb470eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb470eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb470eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb470eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb4bfc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb4bfc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb4bfc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb4984a74 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb4984a74 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb4984a74 checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StringChecker.cpp:77:0 #45 0x0000ffffb4984a74 void clang::ento::check::PreCall::_checkCall<(anonymous namespace)::StringChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:168:0 #46 0x0000ffffb46f89a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x0000ffffb46f89a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x0000ffffb46f89a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #49 0x0000ffffb46f89a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #50 0x0000ffffb46f89a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #51 0x0000ffffb4735358 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #52 0x0000ffffb4735358 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #53 0x0000ffffb4735358 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #54 0x0000ffffb4735358 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #55 0x0000ffffb4735358 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #56 0x0000ffffb4735358 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #57 0x0000ffffb4735358 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #58 0x0000ffffb4735358 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #59 0x0000ffffb4735358 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:777:0 #60 0x0000ffffb473b22c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #61 0x0000ffffb473b22c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #62 0x0000ffffb473c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #63 0x0000ffffb473c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #64 0x0000ffffb473c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #65 0x0000ffffb473cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x0000ffffb473cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x0000ffffb473cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #68 0x0000ffffb473cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #69 0x0000ffffb473cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #70 0x0000ffffb4a06bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #71 0x0000ffffb4a06bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #72 0x0000ffffb4a06bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #73 0x0000ffffb4a06bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #74 0x0000ffffb4a06bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #75 0x0000ffffb4a07b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #76 0x0000ffffb4a07b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x0000ffffb4a07b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #78 0x0000ffffb4a0c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x0000ffffb4a0c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x0000ffffb4a0c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x0000ffffb4a0c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x0000ffffb4a0c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x0000ffffb2e62058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #84 0x0000ffffb2e62058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x0000ffffb2e62058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #86 0x0000ffffb2e62058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x0000ffffb4527450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #88 0x0000ffffb44df104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #89 0x0000ffffb44df104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #90 0x0000ffffb44df104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #91 0x0000ffffb456551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #92 0x0000aaaad64459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x0000aaaad64494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x0000aaaad644aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x0000aaaad6441fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x0000ffffabab098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #97 0x0000ffffabab0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #98 0x0000aaaad64420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-string.cpp.script: line 1: 2540900 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-string.cpp -verify -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-checker=cplusplus.StringChecker -analyzer-config eagerly-assume=false -analyzer-output=text -- ******************** Testing: 0. FAIL: Clang :: Analysis/stream-errno-note.c (1148 of 18966) ******************** TEST 'Clang :: Analysis/stream-errno-note.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-checker=alpha.unix.Stream -analyzer-checker=alpha.unix.Errno -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-output text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-errno-note.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-checker=alpha.unix.Stream -analyzer-checker=alpha.unix.Errno -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-output text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-errno-note.c 1. parser at end of file #0 0x0000ffff9f8bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9f8b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9f8bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa8835800 (linux-vdso.so.1+0x800) #4 0x0000ffffa78119c8 clang::ento::MemRegion::getKind() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:172:0 #5 0x0000ffffa78119c8 clang::ento::TypedValueRegion::classof(clang::ento::MemRegion const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:556:0 #6 0x0000ffffa78119c8 llvm::isa_impl::doit(clang::ento::MemRegion const&) /usr/include/llvm/Support/Casting.h:64:0 #7 0x0000ffffa78119c8 llvm::isa_impl_cl::doit(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:110:0 #8 0x0000ffffa78119c8 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:137:0 #9 0x0000ffffa78119c8 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:129:0 #10 0x0000ffffa78119c8 llvm::CastIsPossible::isPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:257:0 #11 0x0000ffffa78119c8 llvm::CastInfo::doCastIfPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:493:0 #12 0x0000ffffa78119c8 decltype(auto) llvm::dyn_cast(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:663:0 #13 0x0000ffffa78119c8 (anonymous namespace)::RegionStoreManager::bind((anonymous namespace)::RegionBindingsRef const&, clang::ento::Loc, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:2368:0 #14 0x0000ffffa7811edc asImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:258:62 #15 0x0000ffffa7811edc asStore /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:225:23 #16 0x0000ffffa7811edc (anonymous namespace)::RegionStoreManager::Bind(void const*, clang::ento::Loc, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:443:0 #17 0x0000ffffa77cbf08 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #18 0x0000ffffa77cbf08 clang::ento::ProgramState::bindLoc(clang::ento::Loc, clang::ento::SVal, clang::LocationContext const*, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:120:0 #19 0x0000ffffa78a8338 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #20 0x0000ffffa78a8338 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #21 0x0000ffffa78a8338 clang::ento::errno_modeling::setErrnoValue(llvm::IntrusiveRefCntPtr, clang::ento::CheckerContext&, unsigned long, clang::ento::errno_modeling::ErrnoCheckState) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:240:0 #22 0x0000ffffa78a9ef8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #23 0x0000ffffa78a9ef8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffffa78a9ef8 checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:177:0 #25 0x0000ffffa78a9ef8 void clang::ento::check::BeginFunction::_checkBeginFunction<(anonymous namespace)::ErrnoModeling>(void*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:244:0 #26 0x0000ffffa7757808 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #27 0x0000ffffa7757808 clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:441:0 #28 0x0000ffffa779cdf4 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #29 0x0000ffffa779cdf4 clang::ento::ExprEngine::processBeginOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::BlockEdge const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2884:1 #30 0x0000ffffa779cdf4 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:124:0 #31 0x0000ffffa7a66bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #32 0x0000ffffa7a66bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #33 0x0000ffffa7a66bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #34 0x0000ffffa7a66bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #35 0x0000ffffa7a66bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #36 0x0000ffffa7a67b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #37 0x0000ffffa7a67b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x0000ffffa7a67b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #39 0x0000ffffa7a6c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x0000ffffa7a6c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x0000ffffa7a6c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x0000ffffa7a6c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x0000ffffa7a6c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x0000ffffa5ec2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #45 0x0000ffffa5ec2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x0000ffffa5ec2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #47 0x0000ffffa5ec2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x0000ffffa7587450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #49 0x0000ffffa753f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #50 0x0000ffffa753f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #51 0x0000ffffa753f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #52 0x0000ffffa75c551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #53 0x0000aaaabcec59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x0000aaaabcec94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x0000aaaabcecaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x0000aaaabcec1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x0000ffff9eb1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #58 0x0000ffff9eb10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #59 0x0000aaaabcec20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stream-errno-note.c.script: line 1: 2540936 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-checker=alpha.unix.Stream -analyzer-checker=alpha.unix.Errno -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-output text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-errno-note.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/stl-algorithm-modeling.cpp (1149 of 18966) ******************** TEST 'Clang :: Analysis/stl-algorithm-modeling.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stl-algorithm-modeling.cpp -analyzer-checker=core,cplusplus,alpha.cplusplus.STLAlgorithmModeling,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stl-algorithm-modeling.cpp -analyzer-checker=core,cplusplus,alpha.cplusplus.STLAlgorithmModeling,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_search_n4(std::vector, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stl-algorithm-modeling.cpp:549:39: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stl-algorithm-modeling.cpp:549:39: Error evaluating statement #0 0x0000ffff8695acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff86959100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8695b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8f8d6800 (linux-vdso.so.1+0x800) #4 0x0000ffff8e859cd0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff8e859cd0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8e859cd0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8e859cd0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8e859cd0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8e859cd0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8e859cd0 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffff8e859cd0 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffff8e859cd0 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x0000ffff8e859dac (anonymous namespace)::RangeConstraintManager::getSymVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2862:36 #14 0x0000ffff8e8ad3d8 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #15 0x0000ffff8e8ad3d8 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier::getConstOrVisit(clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1246:0 #16 0x0000ffff8e8acc14 VisitSymIntExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1270:0 #17 0x0000ffff8e8acc14 clang::ento::SymExprVisitor<(anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier, clang::ento::SVal>::Visit(clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:0 #18 0x0000ffff8ecb9dd4 VisitNonLocSymbolVal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1365:0 #19 0x0000ffff8ecb9dd4 Visit /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def:67:0 #20 0x0000ffff8ecb9dd4 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1371:0 #21 0x0000ffff8e894824 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #22 0x0000ffff8e894824 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #23 0x0000ffff8e893df8 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #24 0x0000ffff8e893efc clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #25 0x0000ffff8e894f3c clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:26:17 #26 0x0000ffff8e894530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8e894530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8e894530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8e8a0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8e8a0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8e8a0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8e8aa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8e8aa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8e8aa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8e80ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8e80ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8e80ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8e80ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8e80efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8e80efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8e80efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff8e7e2620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff8e7e2620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff8e7e2620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8e995894 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #46 0x0000ffff8e995894 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #47 0x0000ffff8e995894 clang::ento::iterator::assumeNoOverflow(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, long) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/Iterator.cpp:291:0 #48 0x0000ffff8e911d18 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #49 0x0000ffff8e911d18 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8e911d18 createContainerBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:850:0 #51 0x0000ffff8e911d18 handleBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:258:0 #52 0x0000ffff8e911d18 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:193:0 #53 0x0000ffff8e911d18 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::ContainerModeling>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #54 0x0000ffff8e7f89a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #55 0x0000ffff8e7f89a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x0000ffff8e7f89a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #57 0x0000ffff8e7f89a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #58 0x0000ffff8e7f89a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #59 0x0000ffff8e858c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #60 0x0000ffff8e858c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #61 0x0000ffff8e858c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #62 0x0000ffff8e858c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #63 0x0000ffff8e858c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #64 0x0000ffff8e858c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #65 0x0000ffff8e859514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #66 0x0000ffff8e83b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #67 0x0000ffff8e83b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #68 0x0000ffff8e83c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #69 0x0000ffff8e83c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #70 0x0000ffff8e83c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #71 0x0000ffff8e83cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x0000ffff8e83cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x0000ffff8e83cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #74 0x0000ffff8e83cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #75 0x0000ffff8e83cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #76 0x0000ffff8eb06bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #77 0x0000ffff8eb06bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #78 0x0000ffff8eb06bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #79 0x0000ffff8eb06bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #80 0x0000ffff8eb06bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #81 0x0000ffff8eb07b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #82 0x0000ffff8eb07b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #83 0x0000ffff8eb07b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #84 0x0000ffff8eb0c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #85 0x0000ffff8eb0c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #86 0x0000ffff8eb0c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #87 0x0000ffff8eb0c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #88 0x0000ffff8eb0c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #89 0x0000ffff8cf62058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #90 0x0000ffff8cf62058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #91 0x0000ffff8cf62058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #92 0x0000ffff8cf62058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #93 0x0000ffff8e627450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #94 0x0000ffff8e5df104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #95 0x0000ffff8e5df104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #96 0x0000ffff8e5df104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #97 0x0000ffff8e66551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #98 0x0000aaaade0859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #99 0x0000aaaade0894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #100 0x0000aaaade08aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #101 0x0000aaaade081fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #102 0x0000ffff85bb098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #103 0x0000ffff85bb0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #104 0x0000aaaade0820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stl-algorithm-modeling.cpp.script: line 1: 2540926 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stl-algorithm-modeling.cpp -analyzer-checker=core,cplusplus,alpha.cplusplus.STLAlgorithmModeling,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/stream-errno.c (1150 of 18966) ******************** TEST 'Clang :: Analysis/stream-errno.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream,alpha.unix.Errno,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-errno.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream,alpha.unix.Errno,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-errno.c 1. parser at end of file #0 0x0000ffffb35cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb35c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb35cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbc54c800 (linux-vdso.so.1+0x800) #4 0x0000ffffbb5219c8 clang::ento::MemRegion::getKind() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:172:0 #5 0x0000ffffbb5219c8 clang::ento::TypedValueRegion::classof(clang::ento::MemRegion const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:556:0 #6 0x0000ffffbb5219c8 llvm::isa_impl::doit(clang::ento::MemRegion const&) /usr/include/llvm/Support/Casting.h:64:0 #7 0x0000ffffbb5219c8 llvm::isa_impl_cl::doit(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:110:0 #8 0x0000ffffbb5219c8 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:137:0 #9 0x0000ffffbb5219c8 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:129:0 #10 0x0000ffffbb5219c8 llvm::CastIsPossible::isPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:257:0 #11 0x0000ffffbb5219c8 llvm::CastInfo::doCastIfPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:493:0 #12 0x0000ffffbb5219c8 decltype(auto) llvm::dyn_cast(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:663:0 #13 0x0000ffffbb5219c8 (anonymous namespace)::RegionStoreManager::bind((anonymous namespace)::RegionBindingsRef const&, clang::ento::Loc, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:2368:0 #14 0x0000ffffbb521edc asImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:258:62 #15 0x0000ffffbb521edc asStore /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:225:23 #16 0x0000ffffbb521edc (anonymous namespace)::RegionStoreManager::Bind(void const*, clang::ento::Loc, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:443:0 #17 0x0000ffffbb4dbf08 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #18 0x0000ffffbb4dbf08 clang::ento::ProgramState::bindLoc(clang::ento::Loc, clang::ento::SVal, clang::LocationContext const*, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:120:0 #19 0x0000ffffbb5b8338 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #20 0x0000ffffbb5b8338 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #21 0x0000ffffbb5b8338 clang::ento::errno_modeling::setErrnoValue(llvm::IntrusiveRefCntPtr, clang::ento::CheckerContext&, unsigned long, clang::ento::errno_modeling::ErrnoCheckState) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:240:0 #22 0x0000ffffbb5b9ef8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #23 0x0000ffffbb5b9ef8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffffbb5b9ef8 checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:177:0 #25 0x0000ffffbb5b9ef8 void clang::ento::check::BeginFunction::_checkBeginFunction<(anonymous namespace)::ErrnoModeling>(void*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:244:0 #26 0x0000ffffbb467808 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #27 0x0000ffffbb467808 clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:441:0 #28 0x0000ffffbb4acdf4 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #29 0x0000ffffbb4acdf4 clang::ento::ExprEngine::processBeginOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::BlockEdge const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2884:1 #30 0x0000ffffbb4acdf4 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:124:0 #31 0x0000ffffbb776bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #32 0x0000ffffbb776bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #33 0x0000ffffbb776bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #34 0x0000ffffbb776bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #35 0x0000ffffbb776bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #36 0x0000ffffbb777b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #37 0x0000ffffbb777b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x0000ffffbb777b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #39 0x0000ffffbb77c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x0000ffffbb77c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x0000ffffbb77c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x0000ffffbb77c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x0000ffffbb77c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x0000ffffb9bd2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #45 0x0000ffffb9bd2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x0000ffffb9bd2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #47 0x0000ffffb9bd2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x0000ffffbb297450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #49 0x0000ffffbb24f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #50 0x0000ffffbb24f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #51 0x0000ffffbb24f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #52 0x0000ffffbb2d551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #53 0x0000aaaadb4359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x0000aaaadb4394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x0000aaaadb43aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x0000aaaadb431fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x0000ffffb282098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #58 0x0000ffffb2820a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #59 0x0000aaaadb4320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stream-errno.c.script: line 1: 2540960 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream,alpha.unix.Errno,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-errno.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/stream-noopen.c (1151 of 18966) ******************** TEST 'Clang :: Analysis/stream-noopen.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-noopen.c -analyzer-checker=core -analyzer-checker=alpha.unix.Errno -analyzer-checker=alpha.unix.Stream -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-checker=debug.ExprInspection : 'RUN: at line 10'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-noopen.c -analyzer-checker=core -analyzer-checker=alpha.unix.Errno -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-checker=debug.ExprInspection -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-noopen.c -analyzer-checker=core -analyzer-checker=alpha.unix.Errno -analyzer-checker=alpha.unix.Stream -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-checker=debug.ExprInspection 1. parser at end of file #0 0x0000ffff7999acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff79999100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7999b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff82914800 (linux-vdso.so.1+0x800) #4 0x0000ffff818f19c8 clang::ento::MemRegion::getKind() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:172:0 #5 0x0000ffff818f19c8 clang::ento::TypedValueRegion::classof(clang::ento::MemRegion const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:556:0 #6 0x0000ffff818f19c8 llvm::isa_impl::doit(clang::ento::MemRegion const&) /usr/include/llvm/Support/Casting.h:64:0 #7 0x0000ffff818f19c8 llvm::isa_impl_cl::doit(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:110:0 #8 0x0000ffff818f19c8 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:137:0 #9 0x0000ffff818f19c8 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:129:0 #10 0x0000ffff818f19c8 llvm::CastIsPossible::isPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:257:0 #11 0x0000ffff818f19c8 llvm::CastInfo::doCastIfPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:493:0 #12 0x0000ffff818f19c8 decltype(auto) llvm::dyn_cast(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:663:0 #13 0x0000ffff818f19c8 (anonymous namespace)::RegionStoreManager::bind((anonymous namespace)::RegionBindingsRef const&, clang::ento::Loc, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:2368:0 #14 0x0000ffff818f1edc asImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:258:62 #15 0x0000ffff818f1edc asStore /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:225:23 #16 0x0000ffff818f1edc (anonymous namespace)::RegionStoreManager::Bind(void const*, clang::ento::Loc, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:443:0 #17 0x0000ffff818abf08 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #18 0x0000ffff818abf08 clang::ento::ProgramState::bindLoc(clang::ento::Loc, clang::ento::SVal, clang::LocationContext const*, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:120:0 #19 0x0000ffff81988338 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #20 0x0000ffff81988338 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #21 0x0000ffff81988338 clang::ento::errno_modeling::setErrnoValue(llvm::IntrusiveRefCntPtr, clang::ento::CheckerContext&, unsigned long, clang::ento::errno_modeling::ErrnoCheckState) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:240:0 #22 0x0000ffff81989cec llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #23 0x0000ffff81989cec llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffff81989cec checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:149:0 #25 0x0000ffff81989cec void clang::ento::check::BeginFunction::_checkBeginFunction<(anonymous namespace)::ErrnoModeling>(void*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:244:0 #26 0x0000ffff81837808 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #27 0x0000ffff81837808 clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:441:0 #28 0x0000ffff8187cdf4 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #29 0x0000ffff8187cdf4 clang::ento::ExprEngine::processBeginOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::BlockEdge const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2884:1 #30 0x0000ffff8187cdf4 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:124:0 #31 0x0000ffff81b46bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #32 0x0000ffff81b46bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #33 0x0000ffff81b46bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #34 0x0000ffff81b46bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #35 0x0000ffff81b46bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #36 0x0000ffff81b47b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #37 0x0000ffff81b47b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x0000ffff81b47b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #39 0x0000ffff81b4c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x0000ffff81b4c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x0000ffff81b4c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x0000ffff81b4c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x0000ffff81b4c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x0000ffff7ffa2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #45 0x0000ffff7ffa2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x0000ffff7ffa2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #47 0x0000ffff7ffa2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x0000ffff81667450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #49 0x0000ffff8161f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #50 0x0000ffff8161f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #51 0x0000ffff8161f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #52 0x0000ffff816a551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #53 0x0000aaaabe7d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x0000aaaabe7d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x0000aaaabe7daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x0000aaaabe7d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x0000ffff78bf098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #58 0x0000ffff78bf0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #59 0x0000aaaabe7d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stream-noopen.c.script: line 2: 2540962 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-noopen.c -analyzer-checker=core -analyzer-checker=alpha.unix.Errno -analyzer-checker=alpha.unix.Stream -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-checker=debug.ExprInspection -- ******************** Testing: 0. FAIL: Clang :: Analysis/stream-error.c (1152 of 18966) ******************** TEST 'Clang :: Analysis/stream-error.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-error.c -analyzer-checker=core -analyzer-checker=alpha.unix.Stream -analyzer-checker=debug.StreamTester -analyzer-checker=debug.ExprInspection -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-error.c -analyzer-checker=core -analyzer-checker=alpha.unix.Stream -analyzer-checker=debug.StreamTester -analyzer-checker=debug.ExprInspection 1. parser at end of file 2. While analyzing stack: #0 Calling error_indeterminate_feof2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-error.c:259:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-error.c:259:13: Error evaluating statement #0 0x0000ffffaa14acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaa149100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaa14b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb30c1800 (linux-vdso.so.1+0x800) #4 0x0000ffffb23c29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb23c29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb23c29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb23c29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb23c29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb23c29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb23c29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb23c29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb2070048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb2070048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb2070048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb2070048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb2070f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb2070f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb2070f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb2070f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb2083b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb2083b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb2083b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb2085060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb2085060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb2085060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb2084530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb2084530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb2084530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb2090b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb2090b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb2090b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb209a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb209a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb209a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb1ffeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb1ffeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb1ffeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb1ffeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb2275dbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x0000ffffb2275dbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x0000ffffb2275dbc (anonymous namespace)::StreamChecker::evalFopen((anonymous namespace)::FnDescription const*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:545:0 #42 0x0000ffffb2257bf8 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #43 0x0000ffffb2257bf8 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:525:23 #44 0x0000ffffb2257bf8 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::StreamChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #45 0x0000ffffb1fe938c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #46 0x0000ffffb2048bec llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #47 0x0000ffffb2048bec llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #48 0x0000ffffb2048bec clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #49 0x0000ffffb2048bec clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #50 0x0000ffffb2049514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #51 0x0000ffffb202b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #52 0x0000ffffb202b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #53 0x0000ffffb202c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #54 0x0000ffffb202c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #55 0x0000ffffb202c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #56 0x0000ffffb202cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x0000ffffb202cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x0000ffffb202cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #59 0x0000ffffb202cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #60 0x0000ffffb202cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #61 0x0000ffffb22f6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #62 0x0000ffffb22f6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #63 0x0000ffffb22f6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #64 0x0000ffffb22f6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #65 0x0000ffffb22f6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #66 0x0000ffffb22f7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #67 0x0000ffffb22f7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #68 0x0000ffffb22f7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #69 0x0000ffffb22fc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #70 0x0000ffffb22fc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #71 0x0000ffffb22fc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #72 0x0000ffffb22fc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #73 0x0000ffffb22fc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #74 0x0000ffffb0752058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #75 0x0000ffffb0752058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #76 0x0000ffffb0752058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #77 0x0000ffffb0752058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #78 0x0000ffffb1e17450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #79 0x0000ffffb1dcf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #80 0x0000ffffb1dcf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #81 0x0000ffffb1dcf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #82 0x0000ffffb1e5551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #83 0x0000aaaae13b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #84 0x0000aaaae13b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #85 0x0000aaaae13baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #86 0x0000aaaae13b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #87 0x0000ffffa93a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #88 0x0000ffffa93a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #89 0x0000aaaae13b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stream-error.c.script: line 1: 2540965 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-error.c -analyzer-checker=core -analyzer-checker=alpha.unix.Stream -analyzer-checker=debug.StreamTester -analyzer-checker=debug.ExprInspection -- ******************** Testing: 0. FAIL: Clang :: Analysis/stream-note.c (1153 of 18966) ******************** TEST 'Clang :: Analysis/stream-note.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream -analyzer-output text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-note.c : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream,alpha.unix.StdCLibraryFunctions -analyzer-output text -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -verify=expected,stdargs /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-note.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream -analyzer-output text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-note.c 1. parser at end of file 2. While analyzing stack: #0 Calling check_eof_notes_feof_or_no_error 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-note.c:147:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-note.c:147:7: Error evaluating statement #0 0x0000ffff7be3acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7be39100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7be3b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff84db1800 (linux-vdso.so.1+0x800) #4 0x0000ffff840b29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff840b29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff840b29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff840b29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff840b29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff840b29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff840b29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff840b29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff83d60048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff83d60048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff83d60048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff83d60048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff83d60f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff83d60f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff83d60f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff83d60f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff83d73b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff83d73b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff83d73b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff83d75060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff83d75060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff83d75060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff83d74530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff83d74530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff83d74530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff83d80b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff83d80b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff83d80b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff83d8a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff83d8a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff83d8a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff83ceeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff83ceeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff83ceeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff83ceeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff83f65dbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x0000ffff83f65dbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x0000ffff83f65dbc (anonymous namespace)::StreamChecker::evalFopen((anonymous namespace)::FnDescription const*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:545:0 #42 0x0000ffff83f47bf8 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #43 0x0000ffff83f47bf8 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:525:23 #44 0x0000ffff83f47bf8 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::StreamChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #45 0x0000ffff83cd938c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #46 0x0000ffff83d38bec llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #47 0x0000ffff83d38bec llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #48 0x0000ffff83d38bec clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #49 0x0000ffff83d38bec clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #50 0x0000ffff83d39514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #51 0x0000ffff83d1b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #52 0x0000ffff83d1b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #53 0x0000ffff83d1c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #54 0x0000ffff83d1c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #55 0x0000ffff83d1c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #56 0x0000ffff83d1cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x0000ffff83d1cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x0000ffff83d1cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #59 0x0000ffff83d1cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #60 0x0000ffff83d1cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #61 0x0000ffff83fe6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #62 0x0000ffff83fe6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #63 0x0000ffff83fe6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #64 0x0000ffff83fe6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #65 0x0000ffff83fe6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #66 0x0000ffff83fe7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #67 0x0000ffff83fe7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #68 0x0000ffff83fe7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #69 0x0000ffff83fec130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #70 0x0000ffff83fec130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #71 0x0000ffff83fec130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #72 0x0000ffff83fec130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #73 0x0000ffff83fec130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #74 0x0000ffff82442058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #75 0x0000ffff82442058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #76 0x0000ffff82442058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #77 0x0000ffff82442058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #78 0x0000ffff83b07450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #79 0x0000ffff83abf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #80 0x0000ffff83abf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #81 0x0000ffff83abf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #82 0x0000ffff83b4551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #83 0x0000aaaad72c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #84 0x0000aaaad72c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #85 0x0000aaaad72caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #86 0x0000aaaad72c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #87 0x0000ffff7b09098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #88 0x0000ffff7b090a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #89 0x0000aaaad72c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stream-note.c.script: line 2: 2540970 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream -analyzer-output text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-note.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/stream-stdlibraryfunctionargs.c (1154 of 18966) ******************** TEST 'Clang :: Analysis/stream-stdlibraryfunctionargs.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -verify=stream,any /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-stdlibraryfunctionargs.c : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream,debug.ExprInspection -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -verify=stream,any /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-stdlibraryfunctionargs.c : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -verify=stdfunc,any /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-stdlibraryfunctionargs.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -verify=stream,any /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-stdlibraryfunctionargs.c 1. parser at end of file 2. While analyzing stack: #0 Calling test_fileno 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-stdlibraryfunctionargs.c:152:14: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-stdlibraryfunctionargs.c:152:14: Error evaluating statement #0 0x0000ffffae10acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffae109100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffae10b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb7087800 (linux-vdso.so.1+0x800) #4 0x0000ffffb63829e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb63829e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb63829e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb63829e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb63829e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb63829e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb63829e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb63829e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb6030048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb6030048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb6030048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb6030048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb6030f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb6030f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb6030f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb6030f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb6043b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb6043b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb6043b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb6045060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb6045060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb6045060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb6044530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb6044530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb6044530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb6050b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb6050b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb6050b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb605a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb605a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb605a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb5fbeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb5fbeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb5fbeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb5fbeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb6235dbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x0000ffffb6235dbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x0000ffffb6235dbc (anonymous namespace)::StreamChecker::evalFopen((anonymous namespace)::FnDescription const*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:545:0 #42 0x0000ffffb6217bf8 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #43 0x0000ffffb6217bf8 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:525:23 #44 0x0000ffffb6217bf8 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::StreamChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #45 0x0000ffffb5fa938c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #46 0x0000ffffb6008bec llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #47 0x0000ffffb6008bec llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #48 0x0000ffffb6008bec clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #49 0x0000ffffb6008bec clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #50 0x0000ffffb6009514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #51 0x0000ffffb5feb270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #52 0x0000ffffb5feb270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #53 0x0000ffffb5fec2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #54 0x0000ffffb5fec5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #55 0x0000ffffb5fec7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #56 0x0000ffffb5fecb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x0000ffffb5fecb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x0000ffffb5fecb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #59 0x0000ffffb5fecb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #60 0x0000ffffb5fecb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #61 0x0000ffffb62b6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #62 0x0000ffffb62b6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #63 0x0000ffffb62b6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #64 0x0000ffffb62b6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #65 0x0000ffffb62b6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #66 0x0000ffffb62b7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #67 0x0000ffffb62b7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #68 0x0000ffffb62b7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #69 0x0000ffffb62bc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #70 0x0000ffffb62bc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #71 0x0000ffffb62bc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #72 0x0000ffffb62bc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #73 0x0000ffffb62bc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #74 0x0000ffffb4712058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #75 0x0000ffffb4712058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #76 0x0000ffffb4712058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #77 0x0000ffffb4712058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #78 0x0000ffffb5dd7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #79 0x0000ffffb5d8f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #80 0x0000ffffb5d8f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #81 0x0000ffffb5d8f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #82 0x0000ffffb5e1551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #83 0x0000aaaae19859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #84 0x0000aaaae19894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #85 0x0000aaaae198aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #86 0x0000aaaae1981fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #87 0x0000ffffad36098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #88 0x0000ffffad360a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #89 0x0000aaaae19820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stream-stdlibraryfunctionargs.c.script: line 3: 2541002 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -verify=stream,any /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-stdlibraryfunctionargs.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/stream.c (1155 of 18966) ******************** TEST 'Clang :: Analysis/stream.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream.c 1. parser at end of file 2. While analyzing stack: #0 Calling check_leak_noreturn_2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream.c:260:14: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream.c:260:14: Error evaluating statement #0 0x0000ffff7e8cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7e8c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7e8cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff87840800 (linux-vdso.so.1+0x800) #4 0x0000ffff86b429e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff86b429e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff86b429e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff86b429e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff86b429e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff86b429e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff86b429e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff86b429e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff867f0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff867f0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff867f0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff867f0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff867f0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff867f0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff867f0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff867f0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff86803b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff86803b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff86803b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff86805060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff86805060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff86805060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff86804530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff86804530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff86804530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff86810b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff86810b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff86810b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8681a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8681a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8681a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8677eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8677eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8677eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8677eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff869f5dbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x0000ffff869f5dbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x0000ffff869f5dbc (anonymous namespace)::StreamChecker::evalFopen((anonymous namespace)::FnDescription const*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:545:0 #42 0x0000ffff869d7bf8 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #43 0x0000ffff869d7bf8 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:525:23 #44 0x0000ffff869d7bf8 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::StreamChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #45 0x0000ffff8676938c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #46 0x0000ffff867c8bec llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #47 0x0000ffff867c8bec llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #48 0x0000ffff867c8bec clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #49 0x0000ffff867c8bec clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #50 0x0000ffff867c9514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #51 0x0000ffff867ab270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #52 0x0000ffff867ab270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #53 0x0000ffff867ac2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #54 0x0000ffff867ac5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #55 0x0000ffff867ac7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #56 0x0000ffff867acb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x0000ffff867acb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x0000ffff867acb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #59 0x0000ffff867acb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #60 0x0000ffff867acb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #61 0x0000ffff86a76bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #62 0x0000ffff86a76bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #63 0x0000ffff86a76bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #64 0x0000ffff86a76bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #65 0x0000ffff86a76bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #66 0x0000ffff86a77b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #67 0x0000ffff86a77b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #68 0x0000ffff86a77b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #69 0x0000ffff86a7c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #70 0x0000ffff86a7c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #71 0x0000ffff86a7c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #72 0x0000ffff86a7c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #73 0x0000ffff86a7c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #74 0x0000ffff84ed2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #75 0x0000ffff84ed2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #76 0x0000ffff84ed2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #77 0x0000ffff84ed2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #78 0x0000ffff86597450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #79 0x0000ffff8654f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #80 0x0000ffff8654f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #81 0x0000ffff8654f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #82 0x0000ffff865d551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #83 0x0000aaaacdf459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #84 0x0000aaaacdf494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #85 0x0000aaaacdf4aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #86 0x0000aaaacdf41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #87 0x0000ffff7db2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #88 0x0000ffff7db20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #89 0x0000aaaacdf420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stream.c.script: line 1: 2541001 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/stream.cpp (1156 of 18966) ******************** TEST 'Clang :: Analysis/stream.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling f2() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream.cpp:21:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream.cpp:21:13: Error evaluating statement #0 0x0000ffffa0c0acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa0c09100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa0c0b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa9b80800 (linux-vdso.so.1+0x800) #4 0x0000ffffa8e829e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa8e829e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa8e829e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa8e829e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa8e829e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa8e829e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa8e829e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa8e829e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa8b30048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa8b30048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa8b30048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa8b30048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa8b30f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa8b30f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa8b30f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa8b30f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa8b43b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa8b43b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa8b43b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa8b45060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa8b45060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa8b45060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa8b44530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa8b44530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa8b44530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa8b50b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa8b50b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa8b50b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa8b5a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa8b5a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa8b5a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa8abeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa8abeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa8abeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa8abeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa8d35dbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x0000ffffa8d35dbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x0000ffffa8d35dbc (anonymous namespace)::StreamChecker::evalFopen((anonymous namespace)::FnDescription const*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:545:0 #42 0x0000ffffa8d17bf8 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #43 0x0000ffffa8d17bf8 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:525:23 #44 0x0000ffffa8d17bf8 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::StreamChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #45 0x0000ffffa8aa938c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #46 0x0000ffffa8b08bec llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #47 0x0000ffffa8b08bec llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #48 0x0000ffffa8b08bec clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #49 0x0000ffffa8b08bec clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #50 0x0000ffffa8b09514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #51 0x0000ffffa8aeb270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #52 0x0000ffffa8aeb270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #53 0x0000ffffa8aec2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #54 0x0000ffffa8aec5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #55 0x0000ffffa8aec7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #56 0x0000ffffa8aecb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x0000ffffa8aecb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x0000ffffa8aecb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #59 0x0000ffffa8aecb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #60 0x0000ffffa8aecb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #61 0x0000ffffa8db6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #62 0x0000ffffa8db6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #63 0x0000ffffa8db6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #64 0x0000ffffa8db6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #65 0x0000ffffa8db6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #66 0x0000ffffa8db7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #67 0x0000ffffa8db7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #68 0x0000ffffa8db7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #69 0x0000ffffa8dbc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #70 0x0000ffffa8dbc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #71 0x0000ffffa8dbc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #72 0x0000ffffa8dbc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #73 0x0000ffffa8dbc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #74 0x0000ffffa7212058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #75 0x0000ffffa7212058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #76 0x0000ffffa7212058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #77 0x0000ffffa7212058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #78 0x0000ffffa88d7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #79 0x0000ffffa888f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #80 0x0000ffffa888f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #81 0x0000ffffa888f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #82 0x0000ffffa891551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #83 0x0000aaaac5a659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #84 0x0000aaaac5a694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #85 0x0000aaaac5a6aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #86 0x0000aaaac5a61fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #87 0x0000ffff9fe6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #88 0x0000ffff9fe60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #89 0x0000aaaac5a620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stream.cpp.script: line 1: 2541000 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/string-with-signedness.c (1160 of 18966) ******************** TEST 'Clang :: Analysis/string-with-signedness.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-incompatible-library-redeclaration -analyzer-checker=core,unix.cstring,alpha.unix.cstring -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string-with-signedness.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-incompatible-library-redeclaration -analyzer-checker=core,unix.cstring,alpha.unix.cstring -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string-with-signedness.c 1. parser at end of file 2. While analyzing stack: #0 Calling testUnsignedStrcpy 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string-with-signedness.c:9:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string-with-signedness.c:9:3: Error evaluating statement #0 0x0000ffffa78eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa78e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa78eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb086a800 (linux-vdso.so.1+0x800) #4 0x0000ffffaf854b58 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaf854b58 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaf854b58 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaf854b58 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaf854b58 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaf854b58 clang::ento::ProgramStatePartialTrait>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffaf854b58 get<(anonymous namespace)::CStringLength> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffffaf854b58 getCStringLengthForRegion /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:853:0 #12 0x0000ffffaf854b58 (anonymous namespace)::CStringChecker::getCStringLength(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr&, clang::Expr const*, clang::ento::SVal, bool) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:930:0 #13 0x0000ffffaf8624a4 (anonymous namespace)::CStringChecker::evalStrcpyCommon(clang::ento::CheckerContext&, clang::CallExpr const*, bool, bool, (anonymous namespace)::ConcatFnKind, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:1719:39 #14 0x0000ffffaf86dd80 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #15 0x0000ffffaf86dd80 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2515:23 #16 0x0000ffffaf86dd80 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::CStringChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #17 0x0000ffffaf78938c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #18 0x0000ffffaf7e8bec llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #19 0x0000ffffaf7e8bec llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #20 0x0000ffffaf7e8bec clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #21 0x0000ffffaf7e8bec clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #22 0x0000ffffaf7e9514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #23 0x0000ffffaf7cb270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #24 0x0000ffffaf7cb270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #25 0x0000ffffaf7cc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #26 0x0000ffffaf7cc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #27 0x0000ffffaf7cc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #28 0x0000ffffaf7ccb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x0000ffffaf7ccb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x0000ffffaf7ccb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #31 0x0000ffffaf7ccb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #32 0x0000ffffaf7ccb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #33 0x0000ffffafa96bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #34 0x0000ffffafa96bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #35 0x0000ffffafa96bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #36 0x0000ffffafa96bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #37 0x0000ffffafa96bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #38 0x0000ffffafa97b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #39 0x0000ffffafa97b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #40 0x0000ffffafa97b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #41 0x0000ffffafa9c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x0000ffffafa9c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x0000ffffafa9c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #44 0x0000ffffafa9c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #45 0x0000ffffafa9c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #46 0x0000ffffadef2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #47 0x0000ffffadef2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #48 0x0000ffffadef2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #49 0x0000ffffadef2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #50 0x0000ffffaf5b7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #51 0x0000ffffaf56f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #52 0x0000ffffaf56f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #53 0x0000ffffaf56f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #54 0x0000ffffaf5f551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #55 0x0000aaaae7bc59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #56 0x0000aaaae7bc94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #57 0x0000aaaae7bcaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #58 0x0000aaaae7bc1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #59 0x0000ffffa6b4098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #60 0x0000ffffa6b40a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #61 0x0000aaaae7bc20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/string-with-signedness.c.script: line 1: 2541026 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-incompatible-library-redeclaration -analyzer-checker=core,unix.cstring,alpha.unix.cstring -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string-with-signedness.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/string.c (1161 of 18966) ******************** TEST 'Clang :: Analysis/string.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string.c -Wno-null-dereference -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=unix.Malloc -analyzer-checker=alpha.unix.cstring -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string.c -Wno-null-dereference -DUSE_BUILTINS -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=unix.Malloc -analyzer-checker=alpha.unix.cstring -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false : 'RUN: at line 17'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string.c -Wno-null-dereference -DVARIANT -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=unix.Malloc -analyzer-checker=alpha.unix.cstring -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false : 'RUN: at line 25'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string.c -Wno-null-dereference -DUSE_BUILTINS -DVARIANT -analyzer-checker=core -analyzer-checker=alpha.security.taint -analyzer-checker=unix.cstring -analyzer-checker=unix.Malloc -analyzer-checker=alpha.unix.cstring -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false : 'RUN: at line 35'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string.c -Wno-null-dereference -DSUPPRESS_OUT_OF_BOUND -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=unix.Malloc -analyzer-checker=alpha.unix.cstring.BufferOverlap -analyzer-checker=alpha.unix.cstring.NotNullTerminated -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string.c -Wno-null-dereference -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=unix.Malloc -analyzer-checker=alpha.unix.cstring -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false 1. parser at end of file 2. While analyzing stack: #0 Calling test_memset_chk 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string.c:1653:3: Error evaluating statement #0 0x0000ffff99cdacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff99cd9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff99cdb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa2c5e800 (linux-vdso.so.1+0x800) #4 0x0000ffffa2039fbc llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa2039fbc llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa2039fbc llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa2039fbc llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa2039fbc llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa2039fbc clang::ento::ProgramStatePartialTrait>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa2039fbc get<(anonymous namespace)::CStringLength> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa2039fbc (anonymous namespace)::CStringChecker::checkLiveSymbols(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) const (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2605:0 #12 0x0000ffffa1c4ff00 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #13 0x0000ffffa1c4ff00 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #14 0x0000ffffa1c4ff00 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x0000ffffa1c4ff00 void clang::ento::check::LiveSymbols::_checkLiveSymbols<(anonymous namespace)::CStringChecker>(void*, llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:306:49 #16 0x0000ffffa1b5b360 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x0000ffffa1b5b360 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x0000ffffa1b5b360 clang::ento::CheckerFn, clang::ento::SymbolReaper&)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #19 0x0000ffffa1b5b360 clang::ento::CheckerManager::runCheckersForLiveSymbols(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:547:0 #20 0x0000ffffa1ba72c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa1ba72c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa1ba72c0 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1066:48 #23 0x0000ffffa1bbc264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #24 0x0000ffffa1bbc264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #25 0x0000ffffa1bbc264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #26 0x0000ffffa1bbc264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #27 0x0000ffffa1bbc264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #28 0x0000ffffa1bbc264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #29 0x0000ffffa1bbc264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #30 0x0000ffffa1bbc264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #31 0x0000ffffa1bbc264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #32 0x0000ffffa1bbc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #33 0x0000ffffa1bbc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #34 0x0000ffffa1bbcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x0000ffffa1bbcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x0000ffffa1bbcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #37 0x0000ffffa1bbcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #38 0x0000ffffa1bbcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #39 0x0000ffffa1e86bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa1e86bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa1e86bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #42 0x0000ffffa1e86bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #43 0x0000ffffa1e86bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #44 0x0000ffffa1e87b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #45 0x0000ffffa1e87b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #46 0x0000ffffa1e87b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #47 0x0000ffffa1e8c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #48 0x0000ffffa1e8c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #49 0x0000ffffa1e8c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #50 0x0000ffffa1e8c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #51 0x0000ffffa1e8c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #52 0x0000ffffa02e2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #53 0x0000ffffa02e2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #54 0x0000ffffa02e2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #55 0x0000ffffa02e2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #56 0x0000ffffa19a7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #57 0x0000ffffa195f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #58 0x0000ffffa195f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #59 0x0000ffffa195f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #60 0x0000ffffa19e551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #61 0x0000aaaad77259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #62 0x0000aaaad77294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #63 0x0000aaaad772aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #64 0x0000aaaad7721fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #65 0x0000ffff98f3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #66 0x0000ffff98f30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #67 0x0000aaaad77220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/string.c.script: line 5: 2541033 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string.c -Wno-null-dereference -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=unix.Malloc -analyzer-checker=alpha.unix.cstring -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -- ******************** Testing: 0. FAIL: Clang :: Analysis/structured_bindings.cpp (1162 of 18966) ******************** TEST 'Clang :: Analysis/structured_bindings.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/structured_bindings.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/structured_bindings.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling bar() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/structured_bindings.cpp:24:18: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/structured_bindings.cpp:24:18: Error evaluating statement #0 0x0000ffff7e8dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7e8d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7e8db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8785f800 (linux-vdso.so.1+0x800) #4 0x0000ffff867a7804 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff867a7804 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff867a7804 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff867a7804 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff867a7804 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff867a7804 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff867a7804 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff867a7804 clang::ento::ExprEngine::getObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:607:55 #12 0x0000ffff867d8680 clang::ento::ExprEngine::finishArgumentConstruction(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:640:59 #13 0x0000ffff867d8824 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #14 0x0000ffff867d8824 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x0000ffff867d8824 clang::ento::ExprEngine::finishArgumentConstruction(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:657:72 #16 0x0000ffff867b5534 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:832:0 #17 0x0000ffff867bb22c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #18 0x0000ffff867bb22c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #19 0x0000ffff867bc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #20 0x0000ffff867bc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #21 0x0000ffff867bc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #22 0x0000ffff867bcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #23 0x0000ffff867bcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #24 0x0000ffff867bcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #25 0x0000ffff867bcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #26 0x0000ffff867bcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #27 0x0000ffff86a86bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x0000ffff86a86bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x0000ffff86a86bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #30 0x0000ffff86a86bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #31 0x0000ffff86a86bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #32 0x0000ffff86a87b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #33 0x0000ffff86a87b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x0000ffff86a87b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #35 0x0000ffff86a8c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff86a8c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff86a8c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x0000ffff86a8c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x0000ffff86a8c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x0000ffff84ee2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #41 0x0000ffff84ee2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x0000ffff84ee2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #43 0x0000ffff84ee2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x0000ffff865a7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #45 0x0000ffff8655f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #46 0x0000ffff8655f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #47 0x0000ffff8655f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #48 0x0000ffff865e551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #49 0x0000aaaad61c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x0000aaaad61c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x0000aaaad61caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x0000aaaad61c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x0000ffff7db3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #54 0x0000ffff7db30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #55 0x0000aaaad61c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/structured_bindings.cpp.script: line 1: 2541044 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/structured_bindings.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/string.cpp (1163 of 18966) ******************** TEST 'Clang :: Analysis/string.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string.cpp 1. parser at end of file #0 0x0000ffff951cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff951c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff951cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9e149800 (linux-vdso.so.1+0x800) #4 0x0000ffff9d4429e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9d4429e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9d4429e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9d4429e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9d4429e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9d4429e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9d4429e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9d4429e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9d0f0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9d0f0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9d0f0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9d0f0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9d0f0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9d0f0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9d0f0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9d0f0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9d103b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9d103b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9d103b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9d105060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9d105060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9d105060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9d104530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9d104530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9d104530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9d110b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9d110b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9d110b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9d11a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9d11a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9d11a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9d07eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9d07eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9d07eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9d07eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9d07efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9d07efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9d07efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff9d052620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff9d052620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff9d052620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff9d08ef2c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff9d08ef2c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff9d08ef2c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff9d0ace78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff9d0ace78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff9d0ace78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff9d376bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff9d376bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff9d376bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff9d376bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff9d376bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff9d377b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff9d377b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff9d377b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff9d37c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff9d37c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff9d37c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff9d37c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff9d37c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff9b7d2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff9b7d2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff9b7d2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff9b7d2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff9ce97450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff9ce4f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff9ce4f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff9ce4f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff9ced551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaada2c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaada2c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaada2caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaada2c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff9442098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff94420a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaada2c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/string.cpp.script: line 1: 2541039 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/svalbuilder-rearrange-comparisons.cpp (1164 of 18966) ******************** TEST 'Clang :: Analysis/svalbuilder-rearrange-comparisons.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection,core.builtin -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config support-symbolic-integer-casts=false -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-rearrange-comparisons.cpp : 'RUN: at line 8'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection,core.builtin -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config support-symbolic-integer-casts=true -DSUPPORT_SYMBOLIC_INTEGER_CASTS -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-rearrange-comparisons.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection,core.builtin -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config support-symbolic-integer-casts=false -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-rearrange-comparisons.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling fu() at line 1023 #1 Calling unsigned_concrete_int_no_crash() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-rearrange-comparisons.cpp:1018:3 : Error evaluating statement #0 0x0000ffff9a65acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9a659100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9a65b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa35db800 (linux-vdso.so.1+0x800) #4 0x0000ffffa257c134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa257c134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa257c134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa257c134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffa257c134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffa257c134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffa252748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffa252748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffa252748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffa253c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffa253c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffa253c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffa253c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffa253c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffa253c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffa253c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffa253c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffa253c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffa253c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #23 0x0000ffffa253c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffa253c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffa253cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffa253cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffa253cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffa253cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffa253cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #30 0x0000ffffa2806bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffa2806bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffa2806bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffa2806bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffa2806bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffa2807b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #36 0x0000ffffa2807b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffa2807b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffa280c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffa280c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffa280c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffa280c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffa280c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffa0c62058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #44 0x0000ffffa0c62058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffa0c62058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #46 0x0000ffffa0c62058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffa2327450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffa22df104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffa22df104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffa22df104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffa236551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaadae459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaadae494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaadae4aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaadae41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff998b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff998b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaadae420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/svalbuilder-rearrange-comparisons.cpp.script: line 2: 2541086 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection,core.builtin -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config support-symbolic-integer-casts=false -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-rearrange-comparisons.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/svalbuilder-float-cast.c (1165 of 18966) ******************** TEST 'Clang :: Analysis/svalbuilder-float-cast.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker debug.ExprInspection -Wno-deprecated-non-prototype -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-float-cast.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker debug.ExprInspection -Wno-deprecated-non-prototype -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-float-cast.c -analyzer-config support-symbolic-integer-casts=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker debug.ExprInspection -Wno-deprecated-non-prototype -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-float-cast.c 1. parser at end of file 2. While analyzing stack: #0 Calling SymbolCast_of_float_type_aux at line 28 #1 Calling SymbolCast_of_float_type 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-float-cast.c:20:3: Error evaluating statement #0 0x0000ffffa2a4acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa2a49100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa2a4b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffab9cb800 (linux-vdso.so.1+0x800) #4 0x0000ffffaaa3bc2c llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaaa3bc2c llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaaa3bc2c llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaaa3bc2c llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaaa3bc2c llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaaa3bc2c clang::ento::ProgramStatePartialTrait>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffaaa3bc2c get<(anonymous namespace)::DenotedSymbols> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffaaa3bc2c (anonymous namespace)::ExprInspectionChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:406:0 #12 0x0000ffffaa8fcbd4 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffffaa9173b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffffaa9173b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffffaa9173b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffffaa9173b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffffaa9173b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffffaa9173b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffffaa9173b8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffffaa92c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffffaa92c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffffaa92c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffffaa92c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffffaa92c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffffaa92c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffffaa92c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffffaa92c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffffaa92c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffffaa92c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #30 0x0000ffffaa92c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #31 0x0000ffffaa92cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffffaa92cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffffaa92cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffffaa92cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffffaa92cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffffaabf6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffaabf6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffaabf6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffffaabf6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffffaabf6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffffaabf7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffffaabf7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffffaabf7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffffaabfc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffffaabfc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffffaabfc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffffaabfc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffffaabfc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffffa9052058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffffa9052058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffffa9052058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffffa9052058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffffaa717450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffffaa6cf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffffaa6cf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffffaa6cf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffffaa75551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaabd7d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaabd7d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaabd7daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaabd7d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffffa1ca098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffffa1ca0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaabd7d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/svalbuilder-float-cast.c.script: line 2: 2541082 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker debug.ExprInspection -Wno-deprecated-non-prototype -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-float-cast.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/svalbuilder-casts.cpp (1166 of 18966) ******************** TEST 'Clang :: Analysis/svalbuilder-casts.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-casts.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config support-symbolic-integer-casts=true -analyzer-config eagerly-assume=false -triple x86_64-unknown-linux-gnu -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-casts.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config support-symbolic-integer-casts=true -analyzer-config eagerly-assume=false -triple x86_64-unknown-linux-gnu -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test1(int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-casts.cpp:32:3 : Error evaluating branch #0 0x0000ffff81a1acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff81a19100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff81a1b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8a991800 (linux-vdso.so.1+0x800) #4 0x0000ffff89c929e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff89c929e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff89c929e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff89c929e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff89c929e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff89c929e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff89c929e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff89c929e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff89940048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff89940048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff89940048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff89940048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff89940f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff89940f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff89940f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff89940f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff89953b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff89953b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff89953b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff89955060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff89955060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff89955060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff89954530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff89954530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff89954530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff89960b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff89960b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff89960b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8996a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8996a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8996a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff898cea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff898cea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff898cea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff898cea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff89dbc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff89dbc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff89dbc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff898e4c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff898e4c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff898e4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff898e4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff898e4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff898e4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff898e4c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff898e4c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff898e4c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff898e4c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff898e5200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff898fcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff898fcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff898fcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff898fcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff898fcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff89bc6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff89bc6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff89bc6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff89bc6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff89bc6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff89bc7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff89bc7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff89bc7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff89bcc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff89bcc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff89bcc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff89bcc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff89bcc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff88022058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff88022058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff88022058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff88022058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff896e7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8969f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8969f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8969f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8972551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae97d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae97d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae97daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae97d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff80c7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff80c70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae97d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/svalbuilder-casts.cpp.script: line 1: 2541073 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-casts.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config support-symbolic-integer-casts=true -analyzer-config eagerly-assume=false -triple x86_64-unknown-linux-gnu -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/svalbuilder-logic.c (1167 of 18966) ******************** TEST 'Clang :: Analysis/svalbuilder-logic.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -Wno-pointer-to-int-cast -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-logic.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -Wno-pointer-to-int-cast -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-logic.c 1. parser at end of file 2. While analyzing stack: #0 Calling pr15863 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-logic.c:15:9: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-logic.c:15:9: Error evaluating statement #0 0x0000ffff802cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff802c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff802cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff89249800 (linux-vdso.so.1+0x800) #4 0x0000ffff885429e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff885429e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff885429e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff885429e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff885429e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff885429e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff885429e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff885429e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff881f0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff881f0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff881f0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff881f0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff881f0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff881f0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff881f0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff881f0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff88203b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff88203b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff88203b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff88205060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff88205060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff88205060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff88204530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff88204530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff88204530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff88210b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff88210b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff88210b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8821a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8821a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8821a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8817ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8817ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8817ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8817ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8866c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8866c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8866c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff88191ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff88191ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff88191ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff881ac07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff881ac07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff881ac07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff881ac07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff881ac07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff881ac2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffff881ac5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffff881ac7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffff881acb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff881acb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff881acb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff881acb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff881acb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff88476bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff88476bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff88476bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff88476bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff88476bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff88477b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff88477b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff88477b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8847c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8847c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8847c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8847c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8847c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff868d2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff868d2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff868d2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff868d2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff87f97450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff87f4f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff87f4f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff87f4f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff87fd551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae01259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae01294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae012aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae0121fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7f52098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7f520a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae01220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/svalbuilder-logic.c.script: line 1: 2541084 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -Wno-pointer-to-int-cast -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-logic.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/svalbuilder-simplify-compound-svals.cpp (1168 of 18966) ******************** TEST 'Clang :: Analysis/svalbuilder-simplify-compound-svals.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-compound-svals.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-compound-svals.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify 1. parser at end of file 2. While analyzing stack: #0 Calling recurring_symbol(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-compound-svals.cpp:72:7: Error evaluating branch #0 0x0000ffffa9d9acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa9d99100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa9d9b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb2d13800 (linux-vdso.so.1+0x800) #4 0x0000ffffb1cc0444 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb1cc0444 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb1cc0444 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb1cc0444 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb1cc0444 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb1cc0444 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb1cc0444 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb1cc0444 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2507:0 #12 0x0000ffffb1cc0444 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2494:0 #13 0x0000ffffb1cc0444 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2487:0 #14 0x0000ffffb1cc0444 trackDisequality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2155:0 #15 0x0000ffffb1cc0444 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2241:0 #16 0x0000ffffb1cc0444 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #17 0x0000ffffb1cc0444 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #18 0x0000ffffb1cc0444 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:0 #19 0x0000ffffb1cc0444 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:0 #20 0x0000ffffb1cc0444 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #21 0x0000ffffb1cc0444 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #22 0x0000ffffb1cc0d10 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #23 0x0000ffffb1cc0d10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #24 0x0000ffffb1cc0d10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffb1cc0d10 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #26 0x0000ffffb1cd4cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb1cd4cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb1cd4cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #29 0x0000ffffb1cd4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffb1cd4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffb1cd4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #32 0x0000ffffb1ce0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #33 0x0000ffffb1ce0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #34 0x0000ffffb1ce0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #35 0x0000ffffb1cea414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #36 0x0000ffffb1cea414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #37 0x0000ffffb1cea414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #38 0x0000ffffb1c4ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #39 0x0000ffffb1c4ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #40 0x0000ffffb1c4ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #41 0x0000ffffb1c4ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #42 0x0000ffffb213c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #43 0x0000ffffb213c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #44 0x0000ffffb213c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #45 0x0000ffffb1c64c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #46 0x0000ffffb1c64c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #47 0x0000ffffb1c64c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #48 0x0000ffffb1c64c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #49 0x0000ffffb1c64c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #50 0x0000ffffb1c64c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #51 0x0000ffffb1c64c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #52 0x0000ffffb1c64c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #53 0x0000ffffb1c64c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #54 0x0000ffffb1c64c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #55 0x0000ffffb1c65200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #56 0x0000ffffb1c7cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x0000ffffb1c7cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x0000ffffb1c7cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #59 0x0000ffffb1c7cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #60 0x0000ffffb1c7cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #61 0x0000ffffb1f46bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #62 0x0000ffffb1f46bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #63 0x0000ffffb1f46bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #64 0x0000ffffb1f46bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #65 0x0000ffffb1f46bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #66 0x0000ffffb1f47b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #67 0x0000ffffb1f47b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #68 0x0000ffffb1f47b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #69 0x0000ffffb1f4c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #70 0x0000ffffb1f4c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #71 0x0000ffffb1f4c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #72 0x0000ffffb1f4c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #73 0x0000ffffb1f4c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #74 0x0000ffffb03a2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #75 0x0000ffffb03a2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #76 0x0000ffffb03a2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #77 0x0000ffffb03a2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #78 0x0000ffffb1a67450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #79 0x0000ffffb1a1f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #80 0x0000ffffb1a1f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #81 0x0000ffffb1a1f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #82 0x0000ffffb1aa551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #83 0x0000aaaae3f559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #84 0x0000aaaae3f594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #85 0x0000aaaae3f5aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #86 0x0000aaaae3f51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #87 0x0000ffffa8ff098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #88 0x0000ffffa8ff0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #89 0x0000aaaae3f520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/svalbuilder-simplify-compound-svals.cpp.script: line 1: 2541105 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-compound-svals.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/svalbuilder-simplify-no-crash.c (1169 of 18966) ******************** TEST 'Clang :: Analysis/svalbuilder-simplify-no-crash.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-no-crash.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-no-crash.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify 1. parser at end of file 2. While analyzing stack: #0 Calling crashing 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-no-crash.c:10:10: Error evaluating branch #0 0x0000ffffaef2acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaef29100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaef2b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb7ea4800 (linux-vdso.so.1+0x800) #4 0x0000ffffb71a29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb71a29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb71a29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb71a29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb71a29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb71a29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb71a29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb71a29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb6e50048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb6e50048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb6e50048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb6e50048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb6e50d10 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb6e50d10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb6e50d10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb6e50d10 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffffb6e64cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb6e64cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb6e64cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffb6e64530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb6e64530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb6e64530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #26 0x0000ffffb6e70b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #27 0x0000ffffb6e70b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #28 0x0000ffffb6e70b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #29 0x0000ffffb6e7a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x0000ffffb6e7a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffffb6e7a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #32 0x0000ffffb6ddea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffffb6ddea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffffb6ddea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #35 0x0000ffffb6ddea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #36 0x0000ffffb72cc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffb72cc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffb72cc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #39 0x0000ffffb6df4c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #40 0x0000ffffb6df4c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #41 0x0000ffffb6df4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #42 0x0000ffffb6df4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #43 0x0000ffffb6df4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #44 0x0000ffffb6df4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #45 0x0000ffffb6df4c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #46 0x0000ffffb6df4c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #47 0x0000ffffb6df4c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #48 0x0000ffffb6df4c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #49 0x0000ffffb6df5200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #50 0x0000ffffb6e0cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #51 0x0000ffffb6e0cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #52 0x0000ffffb6e0cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #53 0x0000ffffb6e0cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #54 0x0000ffffb6e0cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #55 0x0000ffffb70d6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #56 0x0000ffffb70d6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #57 0x0000ffffb70d6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #58 0x0000ffffb70d6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #59 0x0000ffffb70d6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #60 0x0000ffffb70d7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #61 0x0000ffffb70d7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x0000ffffb70d7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #63 0x0000ffffb70dc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x0000ffffb70dc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x0000ffffb70dc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x0000ffffb70dc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x0000ffffb70dc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x0000ffffb5532058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #69 0x0000ffffb5532058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x0000ffffb5532058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #71 0x0000ffffb5532058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x0000ffffb6bf7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #73 0x0000ffffb6baf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #74 0x0000ffffb6baf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #75 0x0000ffffb6baf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #76 0x0000ffffb6c3551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #77 0x0000aaaac1e659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000aaaac1e694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000aaaac1e6aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000aaaac1e61fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x0000ffffae18098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #82 0x0000ffffae180a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #83 0x0000aaaac1e620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/svalbuilder-simplify-no-crash.c.script: line 1: 2541122 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-no-crash.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/svalbuilder-simplify-in-evalbinop.cpp (1170 of 18966) ******************** TEST 'Clang :: Analysis/svalbuilder-simplify-in-evalbinop.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-in-evalbinop.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-in-evalbinop.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_evalBinOp_simplifies_rhs(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-in-evalbinop.cpp:24:7: Error evaluating branch #0 0x0000ffff8818acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff88189100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8818b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff91104800 (linux-vdso.so.1+0x800) #4 0x0000ffff904029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff904029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff904029e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff904029e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff904029e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff904029e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff904029e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff904029e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff900b0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff900b0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff900b0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff900b0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff900b0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff900b0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff900b0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff900b0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff900c3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff900c3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff900c3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff900c5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff900c5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff900c5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff900c4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff900c4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff900c4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff900d0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff900d0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff900d0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff900da414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff900da414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff900da414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9003eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9003eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9003eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9003eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9052c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9052c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9052c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff90054c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff90054c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff90054c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff90054c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff90054c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff90054c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff90054c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff90054c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff90054c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff90054c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff90055200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff9006cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9006cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9006cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9006cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9006cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff90336bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff90336bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff90336bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff90336bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff90336bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff90337b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff90337b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff90337b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9033c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9033c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9033c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9033c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9033c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff8e792058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff8e792058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff8e792058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff8e792058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff8fe57450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8fe0f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8fe0f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8fe0f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8fe9551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae06959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae06994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae069aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae0691fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff873e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff873e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae06920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/svalbuilder-simplify-in-evalbinop.cpp.script: line 1: 2541114 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-in-evalbinop.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/svalbuilder-simplify-intsym.cpp (1171 of 18966) ******************** TEST 'Clang :: Analysis/svalbuilder-simplify-intsym.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-intsym.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-intsym.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_SValBuilder_simplifies_IntSym(int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-intsym.cpp:15:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-intsym.cpp:15:7: Error evaluating statement #0 0x0000ffff8200acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff82009100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8200b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8af8e800 (linux-vdso.so.1+0x800) #4 0x0000ffff8a2829e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8a2829e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8a2829e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8a2829e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8a2829e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8a2829e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8a2829e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8a2829e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff89f30048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff89f30048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff89f30048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff89f30048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff89f30f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff89f30f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff89f30f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff89f30f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff89f44cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff89f44cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff89f44cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff89f44f90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff89f44f90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff89f44f90 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff89f44530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff89f44530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff89f44530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff89f50b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff89f50b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff89f50b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff89f5a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff89f5a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff89f5a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff89ebeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff89ebeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff89ebeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff89ebeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff89fdf1d8 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:9 #40 0x0000ffff89fdf1d8 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:21 #41 0x0000ffff89fdf1d8 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:44 #42 0x0000ffff89fdf1d8 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:25 #43 0x0000ffff89fdf1d8 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:44 #44 0x0000ffff89fdf1d8 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp:99:11 #45 0x0000ffff89fdf1d8 void clang::ento::check::PreStmt::_checkStmt<(anonymous namespace)::DivZeroChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:85:45 #46 0x0000ffff89ea74f8 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffff89ea74f8 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #48 0x0000ffff89edf188 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #49 0x0000ffff89edf188 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #50 0x0000ffff89edf188 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #51 0x0000ffff89edf188 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #52 0x0000ffff89edf188 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #53 0x0000ffff89edf188 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #54 0x0000ffff89edf188 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:50:0 #55 0x0000ffff89eebfa8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #56 0x0000ffff89eec2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #57 0x0000ffff89eec5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #58 0x0000ffff89eec7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #59 0x0000ffff89eecb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff89eecb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff89eecb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffff89eecb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffff89eecb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #64 0x0000ffff8a1b6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffff8a1b6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffff8a1b6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffff8a1b6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffff8a1b6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffff8a1b7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #70 0x0000ffff8a1b7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffff8a1b7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffff8a1bc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffff8a1bc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffff8a1bc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffff8a1bc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffff8a1bc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffff88612058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #78 0x0000ffff88612058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffff88612058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #80 0x0000ffff88612058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffff89cd7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffff89c8f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffff89c8f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffff89c8f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffff89d1551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaac7c659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaac7c694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaac7c6aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaac7c61fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffff8126098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff81260a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaac7c620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/svalbuilder-simplify-intsym.cpp.script: line 1: 2541115 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-intsym.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/symbol-reaper-lambda.cpp (1172 of 18966) ******************** TEST 'Clang :: Analysis/symbol-reaper-lambda.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-reaper-lambda.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-reaper-lambda.cpp 1. parser at end of file #0 0x0000ffff833facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff833f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff833fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8c37e800 (linux-vdso.so.1+0x800) #4 0x0000ffff8b2cc024 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff8b2cc024 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8b2cc024 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8b2cc024 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8b2cc024 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8b2cc024 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8b2cc024 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8b2cc024 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2911:0 #12 0x0000ffff8b2cc948 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #13 0x0000ffff8b2dc974 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #14 0x0000ffff8b2dcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff8b2dcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff8b2dcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff8b2dcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff8b2dcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffff8b5a6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff8b5a6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff8b5a6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff8b5a6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff8b5a6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff8b5a7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffff8b5a7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff8b5a7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff8b5ac130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff8b5ac130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff8b5ac130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff8b5ac130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff8b5ac130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff89a02058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffff89a02058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff89a02058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffff89a02058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff8b0c7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff8b07f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff8b07f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff8b07f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff8b10551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaaddb159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaaddb194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaaddb1aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaaddb11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff8265098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff82650a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaaddb120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-reaper-lambda.cpp.script: line 1: 2541154 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-reaper-lambda.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/switch-case.c (1173 of 18966) ******************** TEST 'Clang :: Analysis/switch-case.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/switch-case.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/switch-case.c 1. parser at end of file 2. While analyzing stack: #0 Calling testExhaustiveSwitch 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/switch-case.c:225:5: Error evaluating statement #0 0x0000ffff8bb5acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8bb59100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8bb5b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff94ad5800 (linux-vdso.so.1+0x800) #4 0x0000ffff93a7c134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff93a7c134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff93a7c134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff93a7c134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff93a7c134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff93a7c134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff93a2748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff93a2748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff93a2748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff93a3c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff93a3c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff93a3c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff93a3c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff93a3c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff93a3c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff93a3c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff93a3c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff93a3c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff93a3c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #23 0x0000ffff93a3c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff93a3c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff93a3cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff93a3cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff93a3cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff93a3cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff93a3cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #30 0x0000ffff93d06bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff93d06bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff93d06bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff93d06bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff93d06bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff93d07b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #36 0x0000ffff93d07b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff93d07b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff93d0c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff93d0c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff93d0c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff93d0c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff93d0c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff92162058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #44 0x0000ffff92162058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff92162058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #46 0x0000ffff92162058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff93827450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff937df104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff937df104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff937df104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff9386551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaadc2859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaadc2894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaadc28aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaadc281fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff8adb098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff8adb0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaadc2820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/switch-case.c.script: line 1: 2541139 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/switch-case.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/symbol-reaper.c (1174 of 18966) ******************** TEST 'Clang :: Analysis/symbol-reaper.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -Wno-pointer-to-int-cast -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-reaper.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -Wno-pointer-to-int-cast -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-reaper.c 1. parser at end of file 2. While analyzing stack: #0 Calling test_double_dereference_of_implicit_value 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-reaper.c:148:3: Error evaluating statement #0 0x0000ffffa36eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa36e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa36eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffac669800 (linux-vdso.so.1+0x800) #4 0x0000ffffab6dba00 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffab6dba00 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffab6dba00 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffab6dba00 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffab6dba00 llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:38 #9 0x0000ffffab6dba00 clang::ento::ProgramStatePartialTrait>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:204:35 #10 0x0000ffffab6dba00 get<(anonymous namespace)::MarkedSymbols> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffab6dba00 (anonymous namespace)::ExprInspectionChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:394:0 #12 0x0000ffffab59cbd4 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffffab5b73b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffffab5b73b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffffab5b73b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffffab5b73b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffffab5b73b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffffab5b73b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffffab5b73b8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffffab5cc264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffffab5cc264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffffab5cc264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffffab5cc264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffffab5cc264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffffab5cc264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffffab5cc264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffffab5cc264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffffab5cc264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffffab5cc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #30 0x0000ffffab5cc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #31 0x0000ffffab5ccb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffffab5ccb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffffab5ccb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffffab5ccb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffffab5ccb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffffab896bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffab896bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffab896bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffffab896bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffffab896bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffffab897b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffffab897b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffffab897b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffffab89c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffffab89c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffffab89c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffffab89c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffffab89c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffffa9cf2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffffa9cf2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffffa9cf2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffffa9cf2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffffab3b7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffffab36f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffffab36f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffffab36f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffffab3f551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaad3d559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaad3d594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaad3d5aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaad3d51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffffa294098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffffa2940a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaad3d520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-reaper.c.script: line 1: 2541160 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -Wno-pointer-to-int-cast -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-reaper.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/symbol-escape.cpp (1175 of 18966) ******************** TEST 'Clang :: Analysis/symbol-escape.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDeleteLeaks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-escape.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDeleteLeaks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-escape.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling indirect_escape_in_bitwise_op() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-escape.cpp:23:12: Error evaluating New Allocator Call #0 0x0000ffffaa86acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaa869100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaa86b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb37e0800 (linux-vdso.so.1+0x800) #4 0x0000ffffb2ae29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb2ae29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb2ae29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb2ae29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb2ae29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb2ae29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb2ae29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb2ae29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb2790048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb2790048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb2790048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb2790048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb2790f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb2790f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb2790f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb2790f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb27a3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb27a3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb27a3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb27a5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb27a5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb27a5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb27a4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb27a4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb27a4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb27b0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb27b0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb27b0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb27ba414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb27ba414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb27ba414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb271eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb271eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb271eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb271eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb271efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb271efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb271efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb2748f68 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffb2748f68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffb2748f68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffb2748f68 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffb2748f68 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffb274937c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffb274937c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffb274937c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffb274937c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffb274937c clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffffb274c5fc clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffffb274c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #54 0x0000ffffb274c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffffb274cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffffb274cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffffb274cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffffb274cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffffb274cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #60 0x0000ffffb2a16bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffffb2a16bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffffb2a16bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffffb2a16bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffffb2a16bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffffb2a17b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #66 0x0000ffffb2a17b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffffb2a17b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffffb2a1c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffffb2a1c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffffb2a1c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffffb2a1c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffffb2a1c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffffb0e72058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #74 0x0000ffffb0e72058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffffb0e72058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #76 0x0000ffffb0e72058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffffb2537450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffffb24ef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffffb24ef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffffb24ef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffffb257551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaab50e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaab50e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaab50eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaab50e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffffa9ac098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffffa9ac0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaab50e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-escape.cpp.script: line 1: 2541145 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDeleteLeaks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-escape.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/symbol-simplification-assertion.c (1176 of 18966) ******************** TEST 'Clang :: Analysis/symbol-simplification-assertion.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-assertion.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=true -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-assertion.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=true -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-assertion.c:18:3 : Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-assertion.c:18:3 : Error evaluating statement #0 0x0000ffffb1aaacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb1aa9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb1aab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbaa24800 (linux-vdso.so.1+0x800) #4 0x0000ffffb99d0444 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb99d0444 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb99d0444 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb99d0444 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb99d0444 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb99d0444 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb99d0444 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb99d0444 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2507:0 #12 0x0000ffffb99d0444 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2494:0 #13 0x0000ffffb99d0444 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2487:0 #14 0x0000ffffb99d0444 trackDisequality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2155:0 #15 0x0000ffffb99d0444 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2241:0 #16 0x0000ffffb99d0444 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #17 0x0000ffffb99d0444 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #18 0x0000ffffb99d0444 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:0 #19 0x0000ffffb99d0444 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:0 #20 0x0000ffffb99d0444 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #21 0x0000ffffb99d0444 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #22 0x0000ffffb99d0d10 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #23 0x0000ffffb99d0d10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #24 0x0000ffffb99d0d10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffb99d0d10 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #26 0x0000ffffb99e4cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb99e4cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb99e4cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #29 0x0000ffffb99e4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffb99e4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffb99e4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #32 0x0000ffffb99f0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #33 0x0000ffffb99f0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #34 0x0000ffffb99f0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #35 0x0000ffffb99fa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #36 0x0000ffffb99fa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #37 0x0000ffffb99fa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #38 0x0000ffffb995ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #39 0x0000ffffb995ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #40 0x0000ffffb995ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #41 0x0000ffffb995ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #42 0x0000ffffb9e4c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #43 0x0000ffffb9e4c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #44 0x0000ffffb9e4c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #45 0x0000ffffb9971ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #46 0x0000ffffb9971ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #47 0x0000ffffb9971ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #48 0x0000ffffb998c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #49 0x0000ffffb998c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #50 0x0000ffffb998c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #51 0x0000ffffb998c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #52 0x0000ffffb998c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #53 0x0000ffffb998c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #54 0x0000ffffb998c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #55 0x0000ffffb998c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #56 0x0000ffffb998cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x0000ffffb998cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x0000ffffb998cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #59 0x0000ffffb998cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #60 0x0000ffffb998cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #61 0x0000ffffb9c56bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #62 0x0000ffffb9c56bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #63 0x0000ffffb9c56bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #64 0x0000ffffb9c56bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #65 0x0000ffffb9c56bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #66 0x0000ffffb9c57b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #67 0x0000ffffb9c57b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #68 0x0000ffffb9c57b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #69 0x0000ffffb9c5c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #70 0x0000ffffb9c5c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #71 0x0000ffffb9c5c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #72 0x0000ffffb9c5c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #73 0x0000ffffb9c5c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #74 0x0000ffffb80b2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #75 0x0000ffffb80b2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #76 0x0000ffffb80b2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #77 0x0000ffffb80b2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #78 0x0000ffffb9777450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #79 0x0000ffffb972f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #80 0x0000ffffb972f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #81 0x0000ffffb972f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #82 0x0000ffffb97b551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #83 0x0000aaaac3ce59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #84 0x0000aaaac3ce94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #85 0x0000aaaac3ceaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #86 0x0000aaaac3ce1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #87 0x0000ffffb0d0098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #88 0x0000ffffb0d00a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #89 0x0000aaaac3ce20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-simplification-assertion.c.script: line 1: 2541189 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-assertion.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=true -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/symbol-reaper.cpp (1177 of 18966) ******************** TEST 'Clang :: Analysis/symbol-reaper.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-reaper.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-reaper.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_dead_region_with_live_subregion_in_environment::test_B(B) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-reaper.cpp:48:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-reaper.cpp:48:7: Error evaluating statement #0 0x0000ffff941eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff941e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff941eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9d163800 (linux-vdso.so.1+0x800) #4 0x0000ffff9c4629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9c4629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9c4629e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9c4629e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9c4629e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9c4629e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9c4629e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9c4629e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9c110048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9c110048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9c110048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9c110048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9c110f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9c110f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9c110f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9c110f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9c123b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9c123b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9c123b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9c125060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9c125060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9c125060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9c124530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9c124530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9c124530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9c130b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9c130b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9c130b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9c13a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9c13a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9c13a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9c09ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9c09ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9c09ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9c09ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff9c58c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9c58c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9c58c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9c0b1ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff9c0b1ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff9c0b1ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff9c0cc07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff9c0cc07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff9c0cc07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff9c0cc07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff9c0cc07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff9c0cc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffff9c0cc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffff9c0cc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffff9c0ccb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9c0ccb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9c0ccb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9c0ccb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9c0ccb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff9c396bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9c396bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9c396bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9c396bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9c396bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff9c397b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff9c397b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff9c397b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9c39c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9c39c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9c39c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9c39c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9c39c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff9a7f2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff9a7f2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff9a7f2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff9a7f2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff9beb7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9be6f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9be6f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9be6f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9bef551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaccf359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaccf394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaccf3aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaccf31fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9344098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff93440a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaccf320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-reaper.cpp.script: line 1: 2541178 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-reaper.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/symbol-simplification-disequality-info.cpp (1178 of 18966) ******************** TEST 'Clang :: Analysis/symbol-simplification-disequality-info.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-disequality-info.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-disequality-info.cpp -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-disequality-info.cpp:15:12: error: CHECK: expected string not found in input // CHECK: "disequality_info": [ ^ :1:1: note: scanning from here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ :3:367: note: possible intended match here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-disequality-info.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-disequality-info.cpp -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. check:15'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: Stack dump: check:15'0 ~~~~~~~~~~~~ 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-disequality-info.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:15'1 ? possible intended match 4: 1. parser at end of file check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: 2. While analyzing stack: check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #0 Calling test(int, int, int, int) check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-disequality-info.cpp:12:7: Error evaluating statement check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-disequality-info.cpp:12:7: Error evaluating statement check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0. FAIL: Clang :: Analysis/symbol-simplification-bo-div.c (1179 of 18966) ******************** TEST 'Clang :: Analysis/symbol-simplification-bo-div.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-bo-div.c -triple x86_64-pc-linux-gnu -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-bo-div.c -triple x86_64-pc-linux-gnu -verify 1. parser at end of file 2. While analyzing stack: #0 Calling c 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-bo-div.c:11:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-bo-div.c:11:13: Error evaluating statement #0 0x0000ffffa75dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa75d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa75db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb0559800 (linux-vdso.so.1+0x800) #4 0x0000ffffaf8529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaf8529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaf8529e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaf8529e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaf8529e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaf8529e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffaf8529e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffaf8529e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffaf500048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffaf500048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffaf500048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffaf500048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffaf500f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffaf500f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffaf500f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffaf500f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffaf514cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffaf514cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffaf514cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffaf514f90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffaf514f90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffaf514f90 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffaf514530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffaf514530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffaf514530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffaf520b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffaf520b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffaf520b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffaf52a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffaf52a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffaf52a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffaf48eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffaf48eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffaf48eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffaf48eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffaf5af1d8 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:9 #40 0x0000ffffaf5af1d8 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:21 #41 0x0000ffffaf5af1d8 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:44 #42 0x0000ffffaf5af1d8 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:25 #43 0x0000ffffaf5af1d8 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:44 #44 0x0000ffffaf5af1d8 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp:99:11 #45 0x0000ffffaf5af1d8 void clang::ento::check::PreStmt::_checkStmt<(anonymous namespace)::DivZeroChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:85:45 #46 0x0000ffffaf4774f8 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffaf4774f8 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #48 0x0000ffffaf4af188 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #49 0x0000ffffaf4af188 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #50 0x0000ffffaf4af188 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #51 0x0000ffffaf4af188 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #52 0x0000ffffaf4af188 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #53 0x0000ffffaf4af188 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #54 0x0000ffffaf4af188 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:50:0 #55 0x0000ffffaf4bbfa8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #56 0x0000ffffaf4bc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #57 0x0000ffffaf4bc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #58 0x0000ffffaf4bc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #59 0x0000ffffaf4bcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffaf4bcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffaf4bcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffffaf4bcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffffaf4bcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #64 0x0000ffffaf786bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffffaf786bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffffaf786bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffffaf786bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffffaf786bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffffaf787b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #70 0x0000ffffaf787b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffffaf787b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffffaf78c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffffaf78c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffffaf78c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffffaf78c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffffaf78c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffffadbe2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #78 0x0000ffffadbe2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffffadbe2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #80 0x0000ffffadbe2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffffaf2a7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffffaf25f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffffaf25f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffffaf25f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffffaf2e551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaae47559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaae47594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaae475aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaae4751fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffffa683098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffffa6830a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaae47520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-simplification-bo-div.c.script: line 1: 2541190 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-bo-div.c -triple x86_64-pc-linux-gnu -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/symbol-simplification-fixpoint-iteration-unreachable-code.cpp (1183 of 18966) ******************** TEST 'Clang :: Analysis/symbol-simplification-fixpoint-iteration-unreachable-code.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-iteration-unreachable-code.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-iteration-unreachable-code.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_true_range_contradiction(int, unsigned int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-iteration-unreachable-code.cpp:47:9: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-iteration-unreachable-code.cpp:47:9: Error evaluating statement #0 0x0000ffff8170acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff81709100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8170b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8a684800 (linux-vdso.so.1+0x800) #4 0x0000ffff899829e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff899829e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff899829e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff899829e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff899829e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff899829e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff899829e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff899829e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff89630048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff89630048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff89630048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff89630048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff89630d10 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff89630d10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff89630d10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff89630d10 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffff89644cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff89644cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff89644cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff89644530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff89644530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff89644530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #26 0x0000ffff89650b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #27 0x0000ffff89650b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #28 0x0000ffff89650b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #29 0x0000ffff8965a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x0000ffff8965a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff8965a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #32 0x0000ffff895bea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffff895bea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffff895bea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #35 0x0000ffff895bea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #36 0x0000ffff89aac8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff89aac8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff89aac8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #39 0x0000ffff895d1ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #40 0x0000ffff895d1ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #41 0x0000ffff895d1ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #42 0x0000ffff895ec07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #43 0x0000ffff895ec07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #44 0x0000ffff895ec07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #45 0x0000ffff895ec07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #46 0x0000ffff895ec07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #47 0x0000ffff895ec2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #48 0x0000ffff895ec5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #49 0x0000ffff895ec7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #50 0x0000ffff895ecb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #51 0x0000ffff895ecb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #52 0x0000ffff895ecb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #53 0x0000ffff895ecb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #54 0x0000ffff895ecb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #55 0x0000ffff898b6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #56 0x0000ffff898b6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #57 0x0000ffff898b6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #58 0x0000ffff898b6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #59 0x0000ffff898b6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #60 0x0000ffff898b7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #61 0x0000ffff898b7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x0000ffff898b7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #63 0x0000ffff898bc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x0000ffff898bc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x0000ffff898bc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x0000ffff898bc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x0000ffff898bc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x0000ffff87d12058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #69 0x0000ffff87d12058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x0000ffff87d12058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #71 0x0000ffff87d12058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x0000ffff893d7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #73 0x0000ffff8938f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #74 0x0000ffff8938f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #75 0x0000ffff8938f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #76 0x0000ffff8941551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #77 0x0000aaaadadd59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000aaaadadd94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000aaaadaddaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000aaaadadd1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x0000ffff8096098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #82 0x0000ffff80960a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #83 0x0000aaaadadd20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-simplification-fixpoint-iteration-unreachable-code.cpp.script: line 1: 2541220 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-iteration-unreachable-code.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/symbol-simplification-fixpoint-one-iteration.cpp (1184 of 18966) ******************** TEST 'Clang :: Analysis/symbol-simplification-fixpoint-one-iteration.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-one-iteration.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-one-iteration.cpp -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-one-iteration.cpp:15:12: error: CHECK: expected string not found in input // CHECK: "constraints": [ ^ :1:1: note: scanning from here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ :3:251: note: possible intended match here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-one-iteration.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-one-iteration.cpp -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. check:15'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: Stack dump: check:15'0 ~~~~~~~~~~~~ 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-one-iteration.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:15'1 ? possible intended match 4: 1. parser at end of file check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: 2. While analyzing stack: check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #0 Calling test(int, int, int) check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-one-iteration.cpp:12:7: Error evaluating statement check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-one-iteration.cpp:12:7: Error evaluating statement check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0. FAIL: Clang :: Analysis/symbol-simplification-fixpoint-two-iterations.cpp (1185 of 18966) ******************** TEST 'Clang :: Analysis/symbol-simplification-fixpoint-two-iterations.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-two-iterations.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-two-iterations.cpp -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-two-iterations.cpp:17:12: error: CHECK: expected string not found in input // CHECK: "constraints": [ ^ :1:1: note: scanning from here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ :3:251: note: possible intended match here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-two-iterations.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-two-iterations.cpp -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. check:17'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: Stack dump: check:17'0 ~~~~~~~~~~~~ 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-two-iterations.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:17'1 ? possible intended match 4: 1. parser at end of file check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: 2. While analyzing stack: check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #0 Calling test(int, int, int, int) check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-two-iterations.cpp:12:7: Error evaluating statement check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-two-iterations.cpp:12:7: Error evaluating statement check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0. FAIL: Clang :: Analysis/symbol-simplification-nonloc-loc.cpp (1186 of 18966) ******************** TEST 'Clang :: Analysis/symbol-simplification-nonloc-loc.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-nonloc-loc.cpp -triple x86_64-pc-linux-gnu -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-nonloc-loc.cpp -triple x86_64-pc-linux-gnu -verify 1. parser at end of file 2. While analyzing stack: #0 Calling loc_OP_nonloc(int *, class (lambda at /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-nonloc-loc.cpp:57:20)) at line 57 #1 Calling instantiate_tests_for_loc_OP_nonloc(int *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-nonloc-loc.cpp:29:7: Error evaluating branch #0 0x0000ffff7ce4acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7ce49100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7ce4b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff85dc1800 (linux-vdso.so.1+0x800) #4 0x0000ffff850c29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff850c29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff850c29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff850c29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff850c29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff850c29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff850c29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff850c29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff84d70048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff84d70048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff84d70048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff84d70048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff84d70f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff84d70f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff84d70f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff84d70f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff84d83b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff84d83b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff84d83b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff84d85060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff84d85060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff84d85060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff84d84530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff84d84530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff84d84530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff84d90b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff84d90b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff84d90b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff84d9a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff84d9a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff84d9a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff84cfeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff84cfeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff84cfeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff84cfeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff851ec8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff851ec8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff851ec8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff84d14c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff84d14c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff84d14c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff84d14c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff84d14c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff84d14c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff84d14c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff84d14c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff84d14c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff84d14c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff84d15200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff84d2cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff84d2cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff84d2cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff84d2cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff84d2cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff84ff6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff84ff6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff84ff6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff84ff6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff84ff6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff84ff7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff84ff7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff84ff7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff84ffc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff84ffc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff84ffc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff84ffc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff84ffc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff83452058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff83452058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff83452058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff83452058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff84b17450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff84acf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff84acf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff84acf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff84b5551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac71759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac71794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac717aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac7171fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7c0a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7c0a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac71720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-simplification-nonloc-loc.cpp.script: line 1: 2541237 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-nonloc-loc.cpp -triple x86_64-pc-linux-gnu -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/symbol-simplification-symplify-results-in-dead-symbol.cpp (1187 of 18966) ******************** TEST 'Clang :: Analysis/symbol-simplification-symplify-results-in-dead-symbol.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-symplify-results-in-dead-symbol.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-symplify-results-in-dead-symbol.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling f(unsigned int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-symplify-results-in-dead-symbol.cpp:8:3 : Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-symplify-results-in-dead-symbol.cpp:8:3 : Error evaluating statement #0 0x0000ffff9792acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff97929100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9792b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa08a9800 (linux-vdso.so.1+0x800) #4 0x0000ffff9f849bdc retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff9f849bdc retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9f849bdc retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9f849bdc IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9f849bdc ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9f849bdc MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9f849bdc get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9f849bdc (anonymous namespace)::EquivalenceClass::mergeImpl(clang::ento::RangeSet::Factory&, llvm::IntrusiveRefCntPtr, llvm::ImmutableSet>, (anonymous namespace)::EquivalenceClass, llvm::ImmutableSet>) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2361:0 #12 0x0000ffff9f84bb0c llvm::IntrusiveRefCntPtrInfo>>::release(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:351:0 #13 0x0000ffff9f84bb0c llvm::IntrusiveRefCntPtr>>::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffff9f84bb0c llvm::IntrusiveRefCntPtr>>::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff9f84bb0c llvm::ImmutableSet>::~ImmutableSet() /usr/include/llvm/ADT/ImmutableSet.h:957:0 #16 0x0000ffff9f84bb0c (anonymous namespace)::EquivalenceClass::merge(clang::ento::RangeSet::Factory&, llvm::IntrusiveRefCntPtr, (anonymous namespace)::EquivalenceClass) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2340:0 #17 0x0000ffff9f850680 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #18 0x0000ffff9f850680 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9f850680 merge /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2309:0 #20 0x0000ffff9f850680 trackEquality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2160:0 #21 0x0000ffff9f850680 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2238:0 #22 0x0000ffff9f850680 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #23 0x0000ffff9f850680 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #24 0x0000ffff9f850680 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:0 #25 0x0000ffff9f850680 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:0 #26 0x0000ffff9f850680 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #27 0x0000ffff9f850680 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #28 0x0000ffff9f850d10 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #29 0x0000ffff9f850d10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffff9f850d10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff9f850d10 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #32 0x0000ffff9f864cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffff9f864cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffff9f864cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #35 0x0000ffff9f864530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9f864530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9f864530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #38 0x0000ffff9f870b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #39 0x0000ffff9f870b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #40 0x0000ffff9f870b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #41 0x0000ffff9f87a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #42 0x0000ffff9f87a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #43 0x0000ffff9f87a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #44 0x0000ffff9f7dea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #45 0x0000ffff9f7dea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #46 0x0000ffff9f7dea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #47 0x0000ffff9f7dea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #48 0x0000ffff9fccc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #49 0x0000ffff9fccc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #50 0x0000ffff9fccc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #51 0x0000ffff9f7f1ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #52 0x0000ffff9f7f1ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #53 0x0000ffff9f7f1ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #54 0x0000ffff9f80c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #55 0x0000ffff9f80c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #56 0x0000ffff9f80c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #57 0x0000ffff9f80c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #58 0x0000ffff9f80c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #59 0x0000ffff9f80c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #60 0x0000ffff9f80c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #61 0x0000ffff9f80c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #62 0x0000ffff9f80cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffff9f80cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffff9f80cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffff9f80cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffff9f80cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #67 0x0000ffff9fad6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffff9fad6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffff9fad6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffff9fad6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffff9fad6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffff9fad7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #73 0x0000ffff9fad7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffff9fad7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffff9fadc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffff9fadc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffff9fadc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffff9fadc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffff9fadc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffff9df32058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #81 0x0000ffff9df32058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffff9df32058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #83 0x0000ffff9df32058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffff9f5f7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffff9f5af104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffff9f5af104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffff9f5af104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffff9f63551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaab6fa59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaab6fa94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaab6faaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaab6fa1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffff96b8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffff96b80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaab6fa20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-simplification-symplify-results-in-dead-symbol.cpp.script: line 1: 2541262 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-symplify-results-in-dead-symbol.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/symbol-simplification-reassume.cpp (1188 of 18966) ******************** TEST 'Clang :: Analysis/symbol-simplification-reassume.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-reassume.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-reassume.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_reassume_inclusive_range(int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-reassume.cpp:30:20: Error evaluating statement #0 0x0000ffffb161acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb1619100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb161b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffba59c800 (linux-vdso.so.1+0x800) #4 0x0000ffffb953c134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb953c134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb953c134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb953c134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffb953c134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffb953c134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffb94e748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffb94e748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffb94e748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffb94fc264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffb94fc264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffb94fc264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffb94fc264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffb94fc264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffb94fc264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffb94fc264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffb94fc264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffb94fc264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffb94fc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #23 0x0000ffffb94fc6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffb94fc9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffb94fcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffb94fcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffb94fcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffb94fcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffb94fcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #30 0x0000ffffb97c6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffb97c6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffb97c6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffb97c6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffb97c6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffb97c7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #36 0x0000ffffb97c7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffb97c7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffb97cc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffb97cc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffb97cc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffb97cc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffb97cc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffb7c22058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #44 0x0000ffffb7c22058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffb7c22058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #46 0x0000ffffb7c22058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffb92e7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffb929f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffb929f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffb929f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffb932551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaae33359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaae33394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaae333aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaae3331fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffffb087098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffffb0870a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaae33320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-simplification-reassume.cpp.script: line 1: 2541260 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-reassume.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/taint-dumps.c (1190 of 18966) ******************** TEST 'Clang :: Analysis/taint-dumps.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.taint -analyzer-checker=debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-dumps.c 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-dumps.c -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-dumps.c:8:11: error: CHECK: expected string not found in input // CHECK: Tainted symbols: ^ :1:1: note: scanning from here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ :6:18: note: possible intended match here #0 Calling test_taint_dumps ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-dumps.c -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. check:8'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: Stack dump: check:8'0 ~~~~~~~~~~~~ 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.taint -analyzer-checker=debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-dumps.c check:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4: 1. parser at end of file check:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: 2. While analyzing stack: check:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #0 Calling test_taint_dumps check:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:8'1 ? possible intended match 7: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-dumps.c:11:11: Error evaluating statement check:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-dumps.c:11:11: Error evaluating statement check:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9: #0 0x0000ffff940eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) check:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10: #1 0x0000ffff940e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) check:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11: #2 0x0000ffff940eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) check:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0. FAIL: Clang :: Analysis/taint-diagnostic-visitor.c (1191 of 18966) ******************** TEST 'Clang :: Analysis/taint-diagnostic-visitor.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=alpha.security.taint,core,alpha.security.ArrayBoundV2 -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-diagnostic-visitor.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=alpha.security.taint,core,alpha.security.ArrayBoundV2 -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-diagnostic-visitor.c 1. parser at end of file 2. While analyzing stack: #0 Calling multipleTaintedArgs 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-diagnostic-visitor.c:110:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-diagnostic-visitor.c:110:3: Error evaluating statement #0 0x0000ffffa0e9acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa0e99100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa0e9b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa9e1e800 (linux-vdso.so.1+0x800) #4 0x0000ffffa9108f68 llvm::ImutAVLTree>>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa9108f68 llvm::IntrusiveRefCntPtrInfo>>>>::retain(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa9108f68 llvm::IntrusiveRefCntPtr>>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa9108f68 llvm::IntrusiveRefCntPtr>>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa9108f68 llvm::ImmutableMap>, llvm::ImutKeyValueInfo>>>::ImmutableMap(llvm::ImutAVLTree>>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa9108f68 clang::ento::ProgramStatePartialTrait>, llvm::ImutKeyValueInfo>>>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa9108f68 get<(anonymous namespace)::TaintArgsOnPostVisit> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa9108f68 (anonymous namespace)::GenericTaintChecker::checkPostCall(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp:842:0 #12 0x0000ffffa8d389a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffffa8d389a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffffa8d389a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #15 0x0000ffffa8d389a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #16 0x0000ffffa8d389a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #17 0x0000ffffa8d98c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #18 0x0000ffffa8d98c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #19 0x0000ffffa8d98c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #20 0x0000ffffa8d98c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #21 0x0000ffffa8d98c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #22 0x0000ffffa8d98c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #23 0x0000ffffa8d99514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #24 0x0000ffffa8d7b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #25 0x0000ffffa8d7b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #26 0x0000ffffa8d7c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #27 0x0000ffffa8d7c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #28 0x0000ffffa8d7c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #29 0x0000ffffa8d7cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #30 0x0000ffffa8d7cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #31 0x0000ffffa8d7cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #32 0x0000ffffa8d7cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #33 0x0000ffffa8d7cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #34 0x0000ffffa9046bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x0000ffffa9046bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x0000ffffa9046bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #37 0x0000ffffa9046bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #38 0x0000ffffa9046bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #39 0x0000ffffa9047b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #40 0x0000ffffa9047b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x0000ffffa9047b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #42 0x0000ffffa904c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x0000ffffa904c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x0000ffffa904c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x0000ffffa904c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x0000ffffa904c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x0000ffffa74a2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #48 0x0000ffffa74a2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #49 0x0000ffffa74a2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #50 0x0000ffffa74a2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #51 0x0000ffffa8b67450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #52 0x0000ffffa8b1f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #53 0x0000ffffa8b1f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #54 0x0000ffffa8b1f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #55 0x0000ffffa8ba551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #56 0x0000aaaab12259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #57 0x0000aaaab12294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #58 0x0000aaaab122aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #59 0x0000aaaab1221fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #60 0x0000ffffa00f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #61 0x0000ffffa00f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #62 0x0000aaaab12220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/taint-diagnostic-visitor.c.script: line 1: 2541270 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=alpha.security.taint,core,alpha.security.ArrayBoundV2 -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-diagnostic-visitor.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/taint-generic.cpp (1193 of 18966) ******************** TEST 'Clang :: Analysis/taint-generic.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.taint,core,alpha.security.ArrayBoundV2 -analyzer-config alpha.security.taint.TaintPropagation:Config=/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/taint-generic-config.yaml -Wno-format-security -verify -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.taint,core,alpha.security.ArrayBoundV2 -analyzer-config alpha.security.taint.TaintPropagation:Config=/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/taint-generic-config.yaml -Wno-format-security -verify -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.cpp 1. parser at end of file #0 0x0000ffff78f3acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff78f39100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff78f3b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff81ebd800 (linux-vdso.so.1+0x800) #4 0x0000ffff80e0c024 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff80e0c024 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff80e0c024 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff80e0c024 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff80e0c024 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff80e0c024 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff80e0c024 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff80e0c024 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2911:0 #12 0x0000ffff80e0c948 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #13 0x0000ffff80e1c974 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #14 0x0000ffff80e1cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff80e1cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff80e1cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff80e1cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff80e1cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffff810e6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff810e6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff810e6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff810e6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff810e6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff810e7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffff810e7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff810e7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff810ec130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff810ec130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff810ec130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff810ec130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff810ec130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff7f542058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffff7f542058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff7f542058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffff7f542058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff80c07450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff80bbf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff80bbf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff80bbf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff80c4551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaac15a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaac15a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaac15aaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaac15a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff7819098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff78190a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaac15a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/taint-generic.cpp.script: line 1: 2541303 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.taint,core,alpha.security.ArrayBoundV2 -analyzer-config alpha.security.taint.TaintPropagation:Config=/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/taint-generic-config.yaml -Wno-format-security -verify -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/taint-tester.cpp (1194 of 18966) ******************** TEST 'Clang :: Analysis/taint-tester.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.taint,debug.TaintTest /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-tester.cpp -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.taint,debug.TaintTest /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-tester.cpp -verify 1. parser at end of file #0 0x0000ffff7a50acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7a509100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7a50b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff83489800 (linux-vdso.so.1+0x800) #4 0x0000ffff823dc024 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff823dc024 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff823dc024 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff823dc024 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff823dc024 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff823dc024 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff823dc024 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff823dc024 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2911:0 #12 0x0000ffff823dc948 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #13 0x0000ffff823ec974 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #14 0x0000ffff823ecb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff823ecb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff823ecb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff823ecb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff823ecb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffff826b6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff826b6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff826b6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff826b6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff826b6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff826b7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffff826b7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff826b7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff826bc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff826bc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff826bc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff826bc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff826bc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff80b12058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffff80b12058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff80b12058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffff80b12058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff821d7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff8218f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff8218f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff8218f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff8221551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaaba4c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaaba4c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaaba4caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaaba4c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff7976098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff79760a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaaba4c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/taint-tester.cpp.script: line 1: 2541310 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.taint,debug.TaintTest /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-tester.cpp -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/taint-generic.c (1195 of 18966) ******************** TEST 'Clang :: Analysis/taint-generic.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-format-security -Wno-pointer-to-int-cast -Wno-incompatible-library-redeclaration -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.c -analyzer-checker=alpha.security.taint -analyzer-checker=core -analyzer-checker=alpha.security.ArrayBoundV2 -analyzer-checker=debug.ExprInspection -analyzer-config alpha.security.taint.TaintPropagation:Config=/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/taint-generic-config.yaml : 'RUN: at line 10'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-format-security -Wno-pointer-to-int-cast -Wno-incompatible-library-redeclaration -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.c -DFILE_IS_STRUCT -analyzer-checker=alpha.security.taint -analyzer-checker=core -analyzer-checker=alpha.security.ArrayBoundV2 -analyzer-checker=debug.ExprInspection -analyzer-config alpha.security.taint.TaintPropagation:Config=/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/taint-generic-config.yaml : 'RUN: at line 20'; not /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-pointer-to-int-cast -Wno-incompatible-library-redeclaration -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.c -analyzer-checker=alpha.security.taint -analyzer-checker=debug.ExprInspection -analyzer-config alpha.security.taint.TaintPropagation:Config=justguessit 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.c -check-prefix=CHECK-INVALID-FILE : 'RUN: at line 33'; not /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-incompatible-library-redeclaration -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.c -analyzer-checker=alpha.security.taint -analyzer-checker=debug.ExprInspection -analyzer-config alpha.security.taint.TaintPropagation:Config=/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/taint-generic-config-ill-formed.yaml 2>&1 | /usr/bin/FileCheck -DMSG='Invalid argument' /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.c -check-prefix=CHECK-ILL-FORMED : 'RUN: at line 45'; not /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-incompatible-library-redeclaration -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.c -analyzer-checker=alpha.security.taint -analyzer-checker=debug.ExprInspection -analyzer-config alpha.security.taint.TaintPropagation:Config=/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/taint-generic-config-invalid-arg.yaml 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.c -check-prefix=CHECK-INVALID-ARG -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-format-security -Wno-pointer-to-int-cast -Wno-incompatible-library-redeclaration -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.c -analyzer-checker=alpha.security.taint -analyzer-checker=core -analyzer-checker=alpha.security.ArrayBoundV2 -analyzer-checker=debug.ExprInspection -analyzer-config alpha.security.taint.TaintPropagation:Config=/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/taint-generic-config.yaml 1. parser at end of file 2. While analyzing stack: #0 Calling testProctitle2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.c:1102:15: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.c:1102:15: Error evaluating statement #0 0x0000ffff8f8aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8f8a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8f8ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff98824800 (linux-vdso.so.1+0x800) #4 0x0000ffff97b18f68 llvm::ImutAVLTree>>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff97b18f68 llvm::IntrusiveRefCntPtrInfo>>>>::retain(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff97b18f68 llvm::IntrusiveRefCntPtr>>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff97b18f68 llvm::IntrusiveRefCntPtr>>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff97b18f68 llvm::ImmutableMap>, llvm::ImutKeyValueInfo>>>::ImmutableMap(llvm::ImutAVLTree>>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff97b18f68 clang::ento::ProgramStatePartialTrait>, llvm::ImutKeyValueInfo>>>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff97b18f68 get<(anonymous namespace)::TaintArgsOnPostVisit> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff97b18f68 (anonymous namespace)::GenericTaintChecker::checkPostCall(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp:842:0 #12 0x0000ffff977489a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffff977489a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffff977489a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #15 0x0000ffff977489a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #16 0x0000ffff977489a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #17 0x0000ffff977a8c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #18 0x0000ffff977a8c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #19 0x0000ffff977a8c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #20 0x0000ffff977a8c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #21 0x0000ffff977a8c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #22 0x0000ffff977a8c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #23 0x0000ffff977a9514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #24 0x0000ffff9778b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #25 0x0000ffff9778b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #26 0x0000ffff9778c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #27 0x0000ffff9778c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #28 0x0000ffff9778c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #29 0x0000ffff9778cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #30 0x0000ffff9778cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #31 0x0000ffff9778cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #32 0x0000ffff9778cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #33 0x0000ffff9778cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #34 0x0000ffff97a56bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x0000ffff97a56bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x0000ffff97a56bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #37 0x0000ffff97a56bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #38 0x0000ffff97a56bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #39 0x0000ffff97a57b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #40 0x0000ffff97a57b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x0000ffff97a57b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #42 0x0000ffff97a5c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x0000ffff97a5c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x0000ffff97a5c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x0000ffff97a5c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x0000ffff97a5c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x0000ffff95eb2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #48 0x0000ffff95eb2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #49 0x0000ffff95eb2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #50 0x0000ffff95eb2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #51 0x0000ffff97577450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #52 0x0000ffff9752f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #53 0x0000ffff9752f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #54 0x0000ffff9752f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #55 0x0000ffff975b551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #56 0x0000aaaac5d359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #57 0x0000aaaac5d394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #58 0x0000aaaac5d3aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #59 0x0000aaaac5d31fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #60 0x0000ffff8eb0098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #61 0x0000ffff8eb00a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #62 0x0000aaaac5d320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/taint-generic.c.script: line 5: 2541294 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-format-security -Wno-pointer-to-int-cast -Wno-incompatible-library-redeclaration -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.c -analyzer-checker=alpha.security.taint -analyzer-checker=core -analyzer-checker=alpha.security.ArrayBoundV2 -analyzer-checker=debug.ExprInspection -analyzer-config alpha.security.taint.TaintPropagation:Config=/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/taint-generic-config.yaml -- ******************** Testing: 0. FAIL: Clang :: Analysis/taint-tester.c (1196 of 18966) ******************** TEST 'Clang :: Analysis/taint-tester.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-int-to-pointer-cast -analyzer-checker=alpha.security.taint,debug.TaintTest /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-tester.c -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-int-to-pointer-cast -analyzer-checker=alpha.security.taint,debug.TaintTest /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-tester.c -verify 1. parser at end of file 2. While analyzing stack: #0 Calling noCrashTest 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-tester.c:196:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-tester.c:196:7: Error evaluating statement #0 0x0000ffff84baacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff84ba9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff84bab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8db20800 (linux-vdso.so.1+0x800) #4 0x0000ffff8ce229e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8ce229e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8ce229e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8ce229e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8ce229e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8ce229e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8ce229e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8ce229e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8cad0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8cad0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8cad0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8cad0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8cad0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8cad0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8cad0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8cad0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8cae3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8cae3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8cae3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8cae5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8cae5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8cae5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8cae4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8cae4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8cae4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8caf0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8caf0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8caf0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8cafa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8cafa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8cafa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8ca5ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8ca5ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8ca5ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8ca5ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8cf4c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8cf4c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8cf4c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8ca71ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff8ca71ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff8ca71ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff8ca8c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff8ca8c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff8ca8c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff8ca8c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff8ca8c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff8ca8c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffff8ca8c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffff8ca8c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffff8ca8cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8ca8cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8ca8cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8ca8cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8ca8cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff8cd56bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8cd56bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8cd56bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8cd56bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8cd56bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff8cd57b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff8cd57b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff8cd57b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8cd5c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8cd5c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8cd5c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8cd5c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8cd5c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff8b1b2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff8b1b2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff8b1b2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff8b1b2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff8c877450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8c82f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8c82f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8c82f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8c8b551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac0c159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac0c194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac0c1aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac0c11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff83e0098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff83e00a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac0c120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/taint-tester.c.script: line 1: 2541304 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-int-to-pointer-cast -analyzer-checker=alpha.security.taint,debug.TaintTest /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-tester.c -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/temp-obj-dtors-option.cpp (1197 of 18966) ******************** TEST 'Clang :: Analysis/temp-obj-dtors-option.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-temp-dtor-inlining=false -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temp-obj-dtors-option.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-temp-dtor-inlining=true -DINLINE -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temp-obj-dtors-option.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-temp-dtor-inlining=false -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temp-obj-dtors-option.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temp-obj-dtors-option.cpp:15:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temp-obj-dtors-option.cpp:15:3: Error evaluating statement #0 0x0000ffff85faacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff85fa9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff85fab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8ef20800 (linux-vdso.so.1+0x800) #4 0x0000ffff8de7da74 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff8de7da74 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8de7da74 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8de7da74 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8de7da74 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8de7da74 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8de7da74 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8de7da74 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffff8de7de64 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #13 0x0000ffff8de7de64 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffff8de7de64 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff8de7de64 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffff8de7de64 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffff8de7e37c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #18 0x0000ffff8de7e37c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #19 0x0000ffff8de7e37c clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:486:0 #20 0x0000ffff8de85dd0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #21 0x0000ffff8de85dd0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #22 0x0000ffff8de85dd0 clang::ento::ExprEngine::handleConstructionContext(clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::ento::NodeBuilderContext const*, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions&, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:753:0 #23 0x0000ffff8de85dd0 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:665:0 #24 0x0000ffff8de8b22c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #25 0x0000ffff8de8b22c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #26 0x0000ffff8de8c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #27 0x0000ffff8de8c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #28 0x0000ffff8de8c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #29 0x0000ffff8de8cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #30 0x0000ffff8de8cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #31 0x0000ffff8de8cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #32 0x0000ffff8de8cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #33 0x0000ffff8de8cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #34 0x0000ffff8e156bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x0000ffff8e156bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x0000ffff8e156bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #37 0x0000ffff8e156bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #38 0x0000ffff8e156bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #39 0x0000ffff8e157b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #40 0x0000ffff8e157b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x0000ffff8e157b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #42 0x0000ffff8e15c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x0000ffff8e15c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x0000ffff8e15c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x0000ffff8e15c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x0000ffff8e15c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x0000ffff8c5b2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #48 0x0000ffff8c5b2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #49 0x0000ffff8c5b2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #50 0x0000ffff8c5b2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #51 0x0000ffff8dc77450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #52 0x0000ffff8dc2f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #53 0x0000ffff8dc2f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #54 0x0000ffff8dc2f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #55 0x0000ffff8dcb551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #56 0x0000aaaac2cb59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #57 0x0000aaaac2cb94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #58 0x0000aaaac2cbaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #59 0x0000aaaac2cb1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #60 0x0000ffff8520098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #61 0x0000ffff85200a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #62 0x0000aaaac2cb20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/temp-obj-dtors-option.cpp.script: line 2: 2541344 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-temp-dtor-inlining=false -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temp-obj-dtors-option.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/templates.cpp (1198 of 18966) ******************** TEST 'Clang :: Analysis/templates.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -fblocks -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/templates.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -fblocks -analyzer-config c++-template-inlining=false -DNO_INLINE -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/templates.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -fblocks -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/templates.cpp 1. parser at end of file #0 0x0000ffff9f4aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9f4a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9f4ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa8425800 (linux-vdso.so.1+0x800) #4 0x0000ffffa737c024 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa737c024 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa737c024 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa737c024 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa737c024 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa737c024 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa737c024 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa737c024 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2911:0 #12 0x0000ffffa737c948 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #13 0x0000ffffa738c974 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #14 0x0000ffffa738cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffa738cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffa738cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffa738cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffa738cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffffa7656bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffa7656bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffa7656bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffa7656bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffa7656bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffa7657b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffffa7657b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffa7657b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffa765c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffa765c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffa765c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffa765c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffa765c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffffa5ab2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffffa5ab2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffffa5ab2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffffa5ab2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffa7177450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffa712f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffa712f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffa712f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffa71b551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaabdf359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaabdf394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaabdf3aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaabdf31fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff9e70098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff9e700a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaabdf320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/templates.cpp.script: line 2: 2541352 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -fblocks -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/templates.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/template-param-objects.cpp (1199 of 18966) ******************** TEST 'Clang :: Analysis/template-param-objects.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -std=c++20 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/template-param-objects.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -std=c++20 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/template-param-objects.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling stable_addresses() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/template-param-objects.cpp:29:23: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/template-param-objects.cpp:29:23: Error evaluating statement #0 0x0000ffff9b38acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9b389100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9b38b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa4300800 (linux-vdso.so.1+0x800) #4 0x0000ffffa3257804 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa3257804 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa3257804 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa3257804 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa3257804 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa3257804 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa3257804 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffffa3257804 clang::ento::ExprEngine::getObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:607:55 #12 0x0000ffffa3288680 clang::ento::ExprEngine::finishArgumentConstruction(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:640:59 #13 0x0000ffffa3288824 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #14 0x0000ffffa3288824 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x0000ffffa3288824 clang::ento::ExprEngine::finishArgumentConstruction(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:657:72 #16 0x0000ffffa3265534 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:832:0 #17 0x0000ffffa326b22c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #18 0x0000ffffa326b22c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #19 0x0000ffffa326c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #20 0x0000ffffa326c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #21 0x0000ffffa326c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #22 0x0000ffffa326cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #23 0x0000ffffa326cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #24 0x0000ffffa326cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #25 0x0000ffffa326cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #26 0x0000ffffa326cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #27 0x0000ffffa3536bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x0000ffffa3536bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x0000ffffa3536bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #30 0x0000ffffa3536bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #31 0x0000ffffa3536bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #32 0x0000ffffa3537b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #33 0x0000ffffa3537b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x0000ffffa3537b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #35 0x0000ffffa353c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffa353c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffa353c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x0000ffffa353c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x0000ffffa353c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x0000ffffa1992058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #41 0x0000ffffa1992058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x0000ffffa1992058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #43 0x0000ffffa1992058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x0000ffffa3057450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #45 0x0000ffffa300f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #46 0x0000ffffa300f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #47 0x0000ffffa300f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #48 0x0000ffffa309551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #49 0x0000aaaac48f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x0000aaaac48f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x0000aaaac48faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x0000aaaac48f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x0000ffff9a5e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #54 0x0000ffff9a5e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #55 0x0000aaaac48f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/template-param-objects.cpp.script: line 1: 2541341 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -std=c++20 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/template-param-objects.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/temporaries-callback-order.cpp (1201 of 18966) ******************** TEST 'Clang :: Analysis/temporaries-callback-order.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:Bind=true -analyzer-config debug.AnalysisOrder:RegionChanges=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries-callback-order.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries-callback-order.cpp -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries-callback-order.cpp:30:15: error: CHECK-NOT: excluded string found in input // CHECK-NOT: Bind ^ :6:317: note: found here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:Bind=true -analyzer-config debug.AnalysisOrder:RegionChanges=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries-callback-order.cpp ^~~~ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries-callback-order.cpp:31:15: error: CHECK-NOT: excluded string found in input // CHECK-NOT: RegionChanges ^ :6:364: note: found here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:Bind=true -analyzer-config debug.AnalysisOrder:RegionChanges=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries-callback-order.cpp ^~~~~~~~~~~~~ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries-callback-order.cpp -dump-input=help explains the following input dump. Input was: <<<<<< 1: Bind 2: RegionChanges 3: RegionChanges 4: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. 5: Stack dump: 6: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:Bind=true -analyzer-config debug.AnalysisOrder:RegionChanges=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries-callback-order.cpp not:30 !~~~ error: no match expected not:31 !~~~~~~~~~~~~ error: no match expected 7: 1. parser at end of file 8: 2. While analyzing stack: 9: #0 Calling Sub::Sub() at line 12 10: #1 Calling testTemporaries() 11: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries-callback-order.cpp:6:8: Error evaluating statement . . . >>>>>> -- ******************** Testing: 0. FAIL: Clang :: Analysis/temporaries.mm (1202 of 18966) ******************** TEST 'Clang :: Analysis/temporaries.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker core,cplusplus -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker core,cplusplus -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries.mm 1. parser at end of file 2. While analyzing stack: #0 Calling testNilReceiverCleanup() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries.mm:28:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries.mm:28:13: Error evaluating statement #0 0x0000ffff8478acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff84789100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8478b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8d70b800 (linux-vdso.so.1+0x800) #4 0x0000ffff8c65da74 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff8c65da74 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8c65da74 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8c65da74 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8c65da74 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8c65da74 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8c65da74 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8c65da74 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffff8c65de64 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #13 0x0000ffff8c65de64 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffff8c65de64 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff8c65de64 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffff8c65de64 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffff8c65e298 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #18 0x0000ffff8c65e298 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #19 0x0000ffff8c65e298 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x0000ffff8c65e298 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:507:0 #21 0x0000ffff8c65e4d8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #22 0x0000ffff8c65e4d8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #23 0x0000ffff8c65e4d8 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:459:0 #24 0x0000ffff8c665dd0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #25 0x0000ffff8c665dd0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #26 0x0000ffff8c665dd0 clang::ento::ExprEngine::handleConstructionContext(clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::ento::NodeBuilderContext const*, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions&, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:753:0 #27 0x0000ffff8c665dd0 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:665:0 #28 0x0000ffff8c66b22c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #29 0x0000ffff8c66b22c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #30 0x0000ffff8c66c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #31 0x0000ffff8c66c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #32 0x0000ffff8c66c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #33 0x0000ffff8c66cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #34 0x0000ffff8c66cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #35 0x0000ffff8c66cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #36 0x0000ffff8c66cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #37 0x0000ffff8c66cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #38 0x0000ffff8c936bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #39 0x0000ffff8c936bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #40 0x0000ffff8c936bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #41 0x0000ffff8c936bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #42 0x0000ffff8c936bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #43 0x0000ffff8c937b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #44 0x0000ffff8c937b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #45 0x0000ffff8c937b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #46 0x0000ffff8c93c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #47 0x0000ffff8c93c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #48 0x0000ffff8c93c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #49 0x0000ffff8c93c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #50 0x0000ffff8c93c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #51 0x0000ffff8ad92058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #52 0x0000ffff8ad92058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #53 0x0000ffff8ad92058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #54 0x0000ffff8ad92058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #55 0x0000ffff8c457450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #56 0x0000ffff8c40f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #57 0x0000ffff8c40f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #58 0x0000ffff8c40f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #59 0x0000ffff8c49551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #60 0x0000aaaaac8659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #61 0x0000aaaaac8694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #62 0x0000aaaaac86aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #63 0x0000aaaaac861fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #64 0x0000ffff839e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #65 0x0000ffff839e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #66 0x0000aaaaac8620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/temporaries.mm.script: line 1: 2541385 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker core,cplusplus -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries.mm -- ******************** Testing: 0. FAIL: Clang :: Analysis/temporaries.cpp (1203 of 18966) ******************** TEST 'Clang :: Analysis/temporaries.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,cplusplus -analyzer-checker debug.ExprInspection -Wno-non-pod-varargs -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries.cpp -std=c++03 -analyzer-config cfg-temporary-dtors=false : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,cplusplus -analyzer-checker debug.ExprInspection -Wno-non-pod-varargs -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries.cpp -std=c++11 -analyzer-config cfg-temporary-dtors=false : 'RUN: at line 11'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,cplusplus -analyzer-checker debug.ExprInspection -Wno-non-pod-varargs -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries.cpp -std=c++11 -analyzer-config cfg-temporary-dtors=true -DTEMPORARY_DTORS : 'RUN: at line 17'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,cplusplus -analyzer-checker debug.ExprInspection -Wno-non-pod-varargs -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries.cpp -std=c++17 -analyzer-config cfg-temporary-dtors=true -DTEMPORARY_DTORS -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,cplusplus -analyzer-checker debug.ExprInspection -Wno-non-pod-varargs -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries.cpp -std=c++03 -analyzer-config cfg-temporary-dtors=false 1. parser at end of file 2. While analyzing stack: #0 Calling return_from_top_frame::bar3(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries.cpp:1223:10: Error evaluating branch #0 0x0000ffff8712acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff87129100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8712b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff900ae800 (linux-vdso.so.1+0x800) #4 0x0000ffff8f3a29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8f3a29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8f3a29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8f3a29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8f3a29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8f3a29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8f3a29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8f3a29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8f050048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8f050048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8f050048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8f050048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8f050f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8f050f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8f050f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8f050f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8f063b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8f063b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8f063b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8f065060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8f065060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8f065060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8f064530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8f064530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8f064530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8f070b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8f070b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8f070b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8f07a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8f07a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8f07a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8efdeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8efdeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8efdeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8efdeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8f4cc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8f4cc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8f4cc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8eff4c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff8eff4c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff8eff4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff8eff4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff8eff4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff8eff4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff8eff4c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff8eff4c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff8eff4c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff8eff4c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff8eff5200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff8f00cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8f00cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8f00cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8f00cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8f00cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff8f2d6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8f2d6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8f2d6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8f2d6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8f2d6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff8f2d7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff8f2d7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff8f2d7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8f2dc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8f2dc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8f2dc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8f2dc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8f2dc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff8d732058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff8d732058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff8d732058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff8d732058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff8edf7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8edaf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8edaf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8edaf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8ee3551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaabfac59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaabfac94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaabfacaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaabfac1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8638098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff86380a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaabfac20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/temporaries.cpp.script: line 4: 2541383 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,cplusplus -analyzer-checker debug.ExprInspection -Wno-non-pod-varargs -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries.cpp -std=c++03 -analyzer-config cfg-temporary-dtors=false -- ******************** Testing: 0. FAIL: Clang :: Analysis/test-include-cpp.cpp (1204 of 18966) ******************** TEST 'Clang :: Analysis/test-include-cpp.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-include-cpp.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-include-cpp.cpp 1. parser at end of file #0 0x0000ffffb2cdacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb2cd9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb2cdb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbbc50800 (linux-vdso.so.1+0x800) #4 0x0000ffffbaf529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbaf529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbaf529e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbaf529e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbaf529e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbaf529e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbaf529e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbaf529e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbac00048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbac00048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbac00048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbac00048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbac00f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbac00f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbac00f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbac00f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbac13b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbac13b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbac13b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbac15060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbac15060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbac15060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbac14530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbac14530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbac14530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbac20b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbac20b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbac20b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbac2a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbac2a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbac2a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbab8eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbab8eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbab8eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbab8eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbab8efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbab8efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbab8efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffbab62620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffbab62620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffbab62620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffbab9ef2c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffbab9ef2c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffbab9ef2c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffbabbce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffbabbce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffbabbce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffbae86bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffbae86bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffbae86bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffbae86bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffbae86bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffbae87b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffbae87b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffbae87b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffbae8c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffbae8c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffbae8c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffbae8c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffbae8c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffb92e2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffb92e2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffb92e2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffb92e2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffba9a7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffba95f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffba95f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffba95f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffba9e551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaacfe359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaacfe394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaacfe3aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaacfe31fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffb1f3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffb1f30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaacfe320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/test-include-cpp.cpp.script: line 1: 2541397 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-include-cpp.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/test-after-div-zero.c (1205 of 18966) ******************** TEST 'Clang :: Analysis/test-after-div-zero.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c99 -Dbool=_Bool -analyzer-checker=core,alpha.core.TestAfterDivZero -analyzer-output=text -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-after-div-zero.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -analyzer-checker=core,alpha.core.TestAfterDivZero -analyzer-output=text -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-after-div-zero.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c99 -Dbool=_Bool -analyzer-checker=core,alpha.core.TestAfterDivZero -analyzer-output=text -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-after-div-zero.c 1. parser at end of file 2. While analyzing stack: #0 Calling ok_inline 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-after-div-zero.c:201:9: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-after-div-zero.c:201:9: Error evaluating statement #0 0x0000ffff9cd2acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9cd29100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9cd2b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa5ca9800 (linux-vdso.so.1+0x800) #4 0x0000ffffa4fa29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa4fa29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa4fa29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa4fa29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa4fa29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa4fa29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa4fa29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa4fa29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa4c50048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa4c50048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa4c50048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa4c50048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa4c50f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa4c50f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa4c50f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa4c50f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa4c64cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa4c64cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa4c64cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffa4c64f90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa4c64f90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa4c64f90 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffa4c64530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa4c64530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa4c64530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa4c70b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa4c70b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa4c70b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa4c7a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa4c7a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa4c7a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa4bdeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa4bdeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa4bdeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa4bdeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa4bdefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa4bdefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa4bdefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa4e68ae8 llvm::IntrusiveRefCntPtr::operator bool() const /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:201:43 #43 0x0000ffffa4e68ae8 isZero /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/TestAfterDivZeroChecker.cpp:142:45 #44 0x0000ffffa4e68ae8 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/TestAfterDivZeroChecker.cpp:205:16 #45 0x0000ffffa4e68ae8 void clang::ento::check::PreStmt::_checkStmt<(anonymous namespace)::TestAfterDivZeroChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:85:45 #46 0x0000ffffa4bc74f8 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffa4bc74f8 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #48 0x0000ffffa4bff188 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #49 0x0000ffffa4bff188 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #50 0x0000ffffa4bff188 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #51 0x0000ffffa4bff188 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #52 0x0000ffffa4bff188 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #53 0x0000ffffa4bff188 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #54 0x0000ffffa4bff188 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:50:0 #55 0x0000ffffa4c0bfa8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #56 0x0000ffffa4c0c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #57 0x0000ffffa4c0c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #58 0x0000ffffa4c0c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #59 0x0000ffffa4c0cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa4c0cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa4c0cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffffa4c0cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffffa4c0cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #64 0x0000ffffa4ed6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffffa4ed6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffffa4ed6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffffa4ed6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffffa4ed6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffffa4ed7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #70 0x0000ffffa4ed7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffffa4ed7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffffa4edc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffffa4edc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffffa4edc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffffa4edc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffffa4edc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffffa3332058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #78 0x0000ffffa3332058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffffa3332058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #80 0x0000ffffa3332058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffffa49f7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffffa49af104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffffa49af104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffffa49af104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffffa4a3551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaaba2b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaaba2b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaaba2baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaaba2b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffff9bf8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff9bf80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaaba2b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/test-after-div-zero.c.script: line 2: 2541393 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c99 -Dbool=_Bool -analyzer-checker=core,alpha.core.TestAfterDivZero -analyzer-output=text -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-after-div-zero.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/test-variably-modified-types.c (1208 of 18966) ******************** TEST 'Clang :: Analysis/test-variably-modified-types.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyze-function=testVariablyModifiedTypes -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-variably-modified-types.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyze-function=testVariablyModifiedTypes -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-variably-modified-types.c 1. parser at end of file 2. While analyzing stack: #0 Calling getArraySize at line 11 #1 Calling testVariablyModifiedTypes 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-variably-modified-types.c:5:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-variably-modified-types.c:5:7: Error evaluating statement #0 0x0000ffff7ad2acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7ad29100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7ad2b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff83ca6800 (linux-vdso.so.1+0x800) #4 0x0000ffff82fa29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff82fa29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff82fa29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff82fa29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff82fa29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff82fa29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff82fa29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff82fa29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff82c50048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff82c50048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff82c50048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff82c50048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff82c50f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff82c50f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff82c50f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff82c50f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff82c63b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff82c63b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff82c63b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff82c65060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff82c65060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff82c65060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff82c64530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff82c64530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff82c64530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff82c70b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff82c70b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff82c70b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff82c7a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff82c7a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff82c7a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff82bdea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff82bdea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff82bdea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff82bdea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff830cc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff830cc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff830cc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff82bf1ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff82bf1ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff82bf1ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff82c0c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff82c0c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff82c0c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff82c0c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff82c0c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff82c0c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffff82c0c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffff82c0c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffff82c0cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff82c0cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff82c0cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff82c0cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff82c0cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff82ed6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff82ed6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff82ed6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff82ed6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff82ed6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff82ed7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff82ed7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff82ed7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff82edc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff82edc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff82edc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff82edc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff82edc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff81332058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff81332058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff81332058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff81332058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff829f7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff829af104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff829af104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff829af104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff82a3551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaabd6b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaabd6b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaabd6baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaabd6b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff79f8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff79f80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaabd6b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/test-variably-modified-types.c.script: line 1: 2541430 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyze-function=testVariablyModifiedTypes -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-variably-modified-types.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/test-separate-retaincount.cpp (1209 of 18966) ******************** TEST 'Clang :: Analysis/test-separate-retaincount.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -verify=no-retain-count /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-separate-retaincount.cpp -analyzer-checker=core,osx -analyzer-disable-checker osx.cocoa.RetainCount : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -verify=no-os-object /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-separate-retaincount.cpp -analyzer-checker=core,osx -analyzer-disable-checker osx.OSObjectRetainCount -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -verify=no-retain-count /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-separate-retaincount.cpp -analyzer-checker=core,osx -analyzer-disable-checker osx.cocoa.RetainCount 1. parser at end of file 2. While analyzing stack: #0 Calling osobject_overrelease() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-separate-retaincount.cpp:27:17: Error evaluating New Allocator Call #0 0x0000ffff996dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff996d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff996db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa2659800 (linux-vdso.so.1+0x800) #4 0x0000ffffa19529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa19529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa19529e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa19529e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa19529e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa19529e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa19529e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa19529e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa1600048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa1600048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa1600048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa1600048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa1600f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa1600f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa1600f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa1600f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa1613b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa1613b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa1613b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa1615060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa1615060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa1615060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa1614530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa1614530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa1614530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa1620b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa1620b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa1620b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa162a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa162a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa162a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa158eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa158eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa158eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa158eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa158efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa158efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa158efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa15b8f68 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffa15b8f68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffa15b8f68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffa15b8f68 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffa15b8f68 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffa15b937c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffa15b937c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffa15b937c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffa15b937c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffa15b937c clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffffa15bc5fc clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffffa15bc6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #54 0x0000ffffa15bc9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffffa15bcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffffa15bcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffffa15bcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffffa15bcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffffa15bcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #60 0x0000ffffa1886bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffffa1886bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffffa1886bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffffa1886bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffffa1886bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffffa1887b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #66 0x0000ffffa1887b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffffa1887b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffffa188c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffffa188c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffffa188c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffffa188c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffffa188c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffff9fce2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #74 0x0000ffff9fce2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffff9fce2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #76 0x0000ffff9fce2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffffa13a7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffffa135f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffffa135f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffffa135f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffffa13e551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaabffb59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaabffb94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaabffbaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaabffb1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffff9893098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffff98930a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaabffb20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/test-separate-retaincount.cpp.script: line 2: 2541428 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -verify=no-retain-count /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-separate-retaincount.cpp -analyzer-checker=core,osx -analyzer-disable-checker osx.cocoa.RetainCount -- ******************** Testing: 0. FAIL: Clang :: Analysis/test-objc-non-nil-return-value-checker.m (1211 of 18966) ******************** TEST 'Clang :: Analysis/test-objc-non-nil-return-value-checker.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.NonNilReturnValue,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-objc-non-nil-return-value-checker.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.NonNilReturnValue,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-objc-non-nil-return-value-checker.m 1. parser at end of file 2. While analyzing stack: #0 Calling assumeThatNSArrayObjectAtIndexedSubscriptIsNeverNull 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-objc-non-nil-return-value-checker.m:49:23: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-objc-non-nil-return-value-checker.m:49:23: Error evaluating statement #0 0x0000ffffa62aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa62a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa62ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaf225800 (linux-vdso.so.1+0x800) #4 0x0000ffffae5229e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffae5229e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffae5229e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffae5229e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffae5229e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffae5229e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffae5229e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffae5229e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffae1d0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffae1d0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffae1d0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffae1d0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffae1d0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffae1d0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffae1d0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffae1d0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffae1e3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffae1e3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffae1e3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffae1e5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffae1e5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffae1e5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffae1e4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffae1e4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffae1e4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffae1f0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffae1f0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffae1f0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffae1fa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffae1fa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffae1fa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffae15eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffae15eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffae15eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffae15eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffae64c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffae64c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffae64c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffae1c0afc std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffffae1c0afc std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffffae1c0afc std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffffae1c0afc std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffffae1c0afc std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffffae1c0afc clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #48 0x0000ffffae18ae08 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #49 0x0000ffffae18ae08 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #50 0x0000ffffae18c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffffae18c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffffae18c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffffae18cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffae18cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffae18cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffae18cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffae18cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffae456bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffae456bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffae456bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffae456bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffae456bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffae457b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffae457b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffae457b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffae45c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffae45c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffae45c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffae45c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffae45c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffac8b2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffac8b2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffac8b2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffac8b2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffadf77450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffadf2f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffadf2f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffadf2f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffadfb551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac6d959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac6d994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac6d9aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac6d91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa550098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa5500a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac6d920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/test-objc-non-nil-return-value-checker.m.script: line 1: 2541427 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.NonNilReturnValue,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-objc-non-nil-return-value-checker.m -- ******************** Testing: 0. FAIL: Clang :: Analysis/this-pointer.cpp (1212 of 18966) ******************** TEST 'Clang :: Analysis/this-pointer.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config widen-loops=true -analyzer-disable-retry-exhausted -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/this-pointer.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config widen-loops=true -analyzer-disable-retry-exhausted -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/this-pointer.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling this_pointer_after_loop_widen::E::E() at line 84 #1 Calling this_pointer_after_loop_widen::test_chained_method_call() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/this-pointer.cpp:72:13: Error evaluating statement #0 0x0000ffffaed4acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaed49100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaed4b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb7cc4800 (linux-vdso.so.1+0x800) #4 0x0000ffffb6c17188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb6c17188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb6c17188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb6c17188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb6c17188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb6c17188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb6c17188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb6c17188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffffb6c2c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffb6c2c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffb6c2c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffb6c2c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffb6c2c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffb6c2c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffb6c2c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffb6c2c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffb6c2c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffffb6c2c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #22 0x0000ffffb6c2c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffffb6c2c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffffb6c2cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffb6c2cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffb6c2cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffb6c2cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffb6c2cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #29 0x0000ffffb6ef6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffb6ef6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffb6ef6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffb6ef6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffb6ef6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffb6ef7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #35 0x0000ffffb6ef7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffb6ef7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffb6efc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffb6efc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffb6efc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffb6efc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffb6efc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffb5352058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #43 0x0000ffffb5352058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffb5352058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #45 0x0000ffffb5352058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffb6a17450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffb69cf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffb69cf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffb69cf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffb6a5551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaad98e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaad98e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaad98eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaad98e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffffadfa098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffffadfa0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaad98e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/this-pointer.cpp.script: line 1: 2541436 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config widen-loops=true -analyzer-disable-retry-exhausted -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/this-pointer.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/track-control-dependency-conditions.cpp (1214 of 18966) ******************** TEST 'Clang :: Analysis/track-control-dependency-conditions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/track-control-dependency-conditions.cpp -std=c++17 -verify=expected,tracking -analyzer-config track-conditions=true -analyzer-output=text -analyzer-checker=core : 'RUN: at line 7'; not /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/track-control-dependency-conditions.cpp -analyzer-checker=core -analyzer-config track-conditions=false -analyzer-config track-conditions-debug=true 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/track-control-dependency-conditions.cpp -check-prefix=CHECK-INVALID-DEBUG : 'RUN: at line 17'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/track-control-dependency-conditions.cpp -std=c++17 -verify=expected,tracking,debug -analyzer-config track-conditions=true -analyzer-config track-conditions-debug=true -analyzer-output=text -analyzer-checker=core : 'RUN: at line 24'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/track-control-dependency-conditions.cpp -std=c++17 -verify -analyzer-output=text -analyzer-config track-conditions=false -analyzer-checker=core -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/track-control-dependency-conditions.cpp -std=c++17 -verify=expected,tracking -analyzer-config track-conditions=true -analyzer-output=text -analyzer-checker=core 1. parser at end of file 2. While analyzing stack: #0 Calling cxx17_ifinit__operator_call_in_condition_point::f(int *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/track-control-dependency-conditions.cpp:1025:7: Error evaluating statement #0 0x0000ffff7edaacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7eda9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7edab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff87d27800 (linux-vdso.so.1+0x800) #4 0x0000ffff86c77188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff86c77188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff86c77188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff86c77188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff86c77188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff86c77188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff86c77188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff86c77188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff86c8c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff86c8c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff86c8c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff86c8c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff86c8c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff86c8c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff86c8c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff86c8c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff86c8c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffff86c8c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #22 0x0000ffff86c8c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #23 0x0000ffff86c8cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #24 0x0000ffff86c8cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #25 0x0000ffff86c8cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #26 0x0000ffff86c8cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #27 0x0000ffff86c8cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #28 0x0000ffff86f56bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #29 0x0000ffff86f56bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #30 0x0000ffff86f56bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #31 0x0000ffff86f56bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #32 0x0000ffff86f56bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #33 0x0000ffff86f57b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #34 0x0000ffff86f57b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x0000ffff86f57b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #36 0x0000ffff86f5c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x0000ffff86f5c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x0000ffff86f5c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x0000ffff86f5c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x0000ffff86f5c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x0000ffff853b2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #42 0x0000ffff853b2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x0000ffff853b2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #44 0x0000ffff853b2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x0000ffff86a77450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #46 0x0000ffff86a2f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #47 0x0000ffff86a2f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #48 0x0000ffff86a2f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #49 0x0000ffff86ab551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #50 0x0000aaaab37e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x0000aaaab37e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x0000aaaab37eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x0000aaaab37e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x0000ffff7e00098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #55 0x0000ffff7e000a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #56 0x0000aaaab37e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/track-control-dependency-conditions.cpp.script: line 4: 2541450 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/track-control-dependency-conditions.cpp -std=c++17 -verify=expected,tracking -analyzer-config track-conditions=true -analyzer-output=text -analyzer-checker=core -- ******************** Testing: 0. FAIL: Clang :: Analysis/track-control-dependency-conditions.m (1215 of 18966) ******************** TEST 'Clang :: Analysis/track-control-dependency-conditions.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,nullability -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/track-control-dependency-conditions.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,nullability -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/track-control-dependency-conditions.m 1. parser at end of file #0 0x0000ffff9721acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff97219100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9721b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa0199800 (linux-vdso.so.1+0x800) #4 0x0000ffff9f4929e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9f4929e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9f4929e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9f4929e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9f4929e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9f4929e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9f4929e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9f4929e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9f140048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9f140048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9f140048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9f140048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9f140f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9f140f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9f140f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9f140f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9f153b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9f153b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9f153b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9f155060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9f155060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9f155060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9f154530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9f154530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9f154530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9f160b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9f160b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9f160b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9f16a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9f16a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9f16a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9f0ceaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9f0ceaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9f0ceaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9f0ceaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9f0cefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9f0cefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9f0cefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff9f0a2620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff9f0a2620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff9f0a2620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff9f0def78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff9f0def78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff9f0def78 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff9f0fce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff9f0fce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff9f0fce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff9f3c6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff9f3c6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff9f3c6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff9f3c6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff9f3c6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff9f3c7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff9f3c7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff9f3c7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff9f3cc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff9f3cc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff9f3cc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff9f3cc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff9f3cc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff9d822058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff9d822058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff9d822058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff9d822058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff9eee7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff9ee9f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff9ee9f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff9ee9f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff9ef2551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaabfb959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaabfb994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaabfb9aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaabfb91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff9647098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff96470a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaabfb920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/track-control-dependency-conditions.m.script: line 1: 2541457 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,nullability -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/track-control-dependency-conditions.m -- ******************** Testing: 0. FAIL: Clang :: Analysis/traversal-path-unification.c (1218 of 18966) ******************** TEST 'Clang :: Analysis/traversal-path-unification.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.DumpTraversal /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/traversal-path-unification.c | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/traversal-path-unification.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.DumpTraversal -DUSE_EXPR /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/traversal-path-unification.c | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/traversal-path-unification.c -- Exit Code: 2 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.DumpTraversal /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/traversal-path-unification.c 1. parser at end of file 2. While analyzing stack: #0 Calling testRemoveDeadBindings 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/traversal-path-unification.c:17:7 : Error evaluating branch #0 0x0000ffff9959acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff99599100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9959b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa2510800 (linux-vdso.so.1+0x800) #4 0x0000ffffa18129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa18129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa18129e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa18129e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa18129e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa18129e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa18129e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa18129e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa14c0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa14c0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa14c0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa14c0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa14c0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa14c0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa14c0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa14c0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa14d4cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa14d4cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa14d4cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffa14d4f90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa14d4f90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa14d4f90 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffa14d4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa14d4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa14d4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa14e0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa14e0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa14e0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa14ea414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa14ea414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa14ea414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa144eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa144eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa144eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa144eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa193c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa193c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa193c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa1464c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffa1464c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffa1464c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffa1464c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffa1464c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffa1464c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffa1464c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffa1464c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffa1464c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffa1464c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffa1465200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffa147cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa147cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa147cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa147cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa147cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffa1746bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa1746bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa1746bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa1746bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa1746bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa1747b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffa1747b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa1747b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa174c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa174c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa174c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa174c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa174c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff9fba2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff9fba2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff9fba2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff9fba2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa1267450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa121f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa121f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa121f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa12a551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac30c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac30c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac30caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac30c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff987f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff987f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac30c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) FileCheck error: '' is empty. FileCheck command line: /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/traversal-path-unification.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/traversal-algorithm.mm (1219 of 18966) ******************** TEST 'Clang :: Analysis/traversal-algorithm.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.DumpTraversal -analyzer-max-loop 4 -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/traversal-algorithm.mm | /usr/bin/FileCheck -check-prefix=DFS /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/traversal-algorithm.mm -- Exit Code: 2 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.DumpTraversal -analyzer-max-loop 4 -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/traversal-algorithm.mm 1. parser at end of file 2. While analyzing stack: #0 Calling testLoops(id) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/traversal-algorithm.mm:27:10: Error evaluating branch #0 0x0000ffffac89acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffac899100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffac89b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb5819800 (linux-vdso.so.1+0x800) #4 0x0000ffffb4b129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb4b129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb4b129e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb4b129e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb4b129e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb4b129e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb4b129e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb4b129e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb47c0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb47c0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb47c0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb47c0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb47c0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb47c0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb47c0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb47c0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb47d3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb47d3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb47d3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb47d5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb47d5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb47d5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb47d4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb47d4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb47d4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb47e0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb47e0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb47e0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb47ea414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb47ea414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb47ea414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb474eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb474eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb474eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb474eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb4c3c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb4c3c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb4c3c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb4764c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffb4764c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffb4764c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffb4764c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffb4764c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffb4764c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffb4764c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffb4764c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffb4764c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffb4764c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffb4765200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffb477cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb477cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb477cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb477cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb477cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb4a46bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb4a46bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb4a46bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb4a46bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb4a46bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb4a47b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb4a47b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb4a47b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb4a4c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb4a4c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb4a4c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb4a4c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb4a4c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb2ea2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb2ea2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb2ea2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb2ea2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb4567450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb451f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb451f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb451f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb45a551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab72a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab72a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab72aaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab72a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffabaf098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffabaf0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab72a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) FileCheck error: '' is empty. FileCheck command line: /usr/bin/FileCheck -check-prefix=DFS /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/traversal-algorithm.mm -- ******************** Testing: 0. FAIL: Clang :: Analysis/trivial-copy-struct.cpp (1222 of 18966) ******************** TEST 'Clang :: Analysis/trivial-copy-struct.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/trivial-copy-struct.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/trivial-copy-struct.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling Wrapper::Wrapper() at line 89 #1 Calling nestedLazyCompoundVal(List *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/trivial-copy-struct.cpp:81:8: Error evaluating statement #0 0x0000ffff836cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff836c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff836cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8c64d800 (linux-vdso.so.1+0x800) #4 0x0000ffff8b597188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff8b597188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8b597188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8b597188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8b597188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8b597188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8b597188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8b597188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff8b5ac264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff8b5ac264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff8b5ac264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff8b5ac264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff8b5ac264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff8b5ac264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff8b5ac264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff8b5ac264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff8b5ac264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffff8b5ac5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #22 0x0000ffff8b5ac6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffff8b5ac9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffff8b5acb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff8b5acb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff8b5acb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff8b5acb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff8b5acb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #29 0x0000ffff8b876bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff8b876bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff8b876bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff8b876bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff8b876bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff8b877b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #35 0x0000ffff8b877b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff8b877b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff8b87c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff8b87c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff8b87c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff8b87c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff8b87c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff89cd2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #43 0x0000ffff89cd2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff89cd2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #45 0x0000ffff89cd2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff8b397450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff8b34f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff8b34f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff8b34f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff8b3d551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaac4ab59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaac4ab94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaac4abaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaac4ab1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff8292098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff82920a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaac4ab20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/trivial-copy-struct.cpp.script: line 1: 2541501 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/trivial-copy-struct.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/trustnonnullchecker_test.mm (1223 of 18966) ******************** TEST 'Clang :: Analysis/trustnonnullchecker_test.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyze -analyzer-checker=core,nullability,apiModeling -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/trustnonnullchecker_test.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyze -analyzer-checker=core,nullability,apiModeling -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/trustnonnullchecker_test.mm 1. parser at end of file #0 0x0000ffff98c6acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff98c69100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff98c6b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa1be9800 (linux-vdso.so.1+0x800) #4 0x0000ffffa0b3c024 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa0b3c024 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa0b3c024 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa0b3c024 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa0b3c024 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa0b3c024 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa0b3c024 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa0b3c024 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2911:0 #12 0x0000ffffa0b3c948 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #13 0x0000ffffa0b4c974 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #14 0x0000ffffa0b4cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffa0b4cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffa0b4cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffa0b4cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffa0b4cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffffa0e16bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffa0e16bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffa0e16bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffa0e16bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffa0e16bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffa0e17b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffffa0e17b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffa0e17b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffa0e1c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffa0e1c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffa0e1c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffa0e1c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffa0e1c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff9f272058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffff9f272058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff9f272058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffff9f272058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffa0937450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffa08ef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffa08ef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffa08ef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffa097551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaae5a459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaae5a494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaae5a4aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaae5a41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff97ec098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff97ec0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaae5a420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/trustnonnullchecker_test.mm.script: line 1: 2541508 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyze -analyzer-checker=core,nullability,apiModeling -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/trustnonnullchecker_test.mm -- ******************** Testing: 0. FAIL: Clang :: Analysis/unary-sym-expr-no-crash.c (1224 of 18966) ******************** TEST 'Clang :: Analysis/unary-sym-expr-no-crash.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unary-sym-expr-no-crash.c -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config support-symbolic-integer-casts=false -verify : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unary-sym-expr-no-crash.c -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config support-symbolic-integer-casts=true -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unary-sym-expr-no-crash.c -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config support-symbolic-integer-casts=false -verify 1. parser at end of file 2. While analyzing stack: #0 Calling crash #0 0x0000ffffb172acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb1729100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb172b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffba6a0800 (linux-vdso.so.1+0x800) #4 0x0000ffffb964c134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb964c134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb964c134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb964c134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffb964c134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffb964c134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffb95f748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffb95f748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffb95f748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffb9622e5c llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #14 0x0000ffffb9622e5c clang::ento::ExprEngine::removeDeadOnEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:187:1 #15 0x0000ffffb95fc4b8 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #16 0x0000ffffb95fc4b8 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #17 0x0000ffffb95fc4b8 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #18 0x0000ffffb95fc4b8 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2951:0 #19 0x0000ffffb95fc948 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #20 0x0000ffffb960c974 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #21 0x0000ffffb960cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #22 0x0000ffffb960cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #23 0x0000ffffb960cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #24 0x0000ffffb960cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #25 0x0000ffffb960cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #26 0x0000ffffb98d6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb98d6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb98d6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #29 0x0000ffffb98d6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #30 0x0000ffffb98d6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #31 0x0000ffffb98d7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #32 0x0000ffffb98d7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x0000ffffb98d7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #34 0x0000ffffb98dc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x0000ffffb98dc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x0000ffffb98dc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x0000ffffb98dc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x0000ffffb98dc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x0000ffffb7d32058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #40 0x0000ffffb7d32058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x0000ffffb7d32058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #42 0x0000ffffb7d32058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x0000ffffb93f7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #44 0x0000ffffb93af104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #45 0x0000ffffb93af104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #46 0x0000ffffb93af104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #47 0x0000ffffb943551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #48 0x0000aaaab9d059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x0000aaaab9d094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x0000aaaab9d0aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x0000aaaab9d01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x0000ffffb098098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #53 0x0000ffffb0980a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #54 0x0000aaaab9d020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/unary-sym-expr-no-crash.c.script: line 2: 2541510 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unary-sym-expr-no-crash.c -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config support-symbolic-integer-casts=false -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/unary-sym-expr.c (1225 of 18966) ******************** TEST 'Clang :: Analysis/unary-sym-expr.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unary-sym-expr.c -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unary-sym-expr.c -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_fp 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unary-sym-expr.c:42:7: Error evaluating branch #0 0x0000ffffa2e8acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa2e89100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa2e8b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffabe04800 (linux-vdso.so.1+0x800) #4 0x0000ffffab1029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffab1029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffab1029e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffab1029e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffab1029e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffab1029e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffab1029e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffab1029e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffaadb0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffaadb0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffaadb0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffaadb0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffaadb0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffaadb0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffaadb0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffaadb0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffaadc3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffaadc3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffaadc3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffaadc5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffaadc5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffaadc5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffaadc4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffaadc4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffaadc4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffaadd0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffaadd0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffaadd0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffaadda414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffaadda414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffaadda414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffaad3ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffaad3ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffaad3ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffaad3ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffab22c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffab22c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffab22c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffaad54c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffaad54c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffaad54c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffaad54c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffaad54c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffaad54c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffaad54c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffaad54c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffaad54c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffaad54c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffaad55200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffaad6cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffaad6cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffaad6cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffaad6cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffaad6cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffab036bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffab036bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffab036bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffab036bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffab036bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffab037b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffab037b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffab037b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffab03c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffab03c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffab03c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffab03c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffab03c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa9492058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffa9492058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa9492058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffa9492058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffaab57450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffaab0f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffaab0f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffaab0f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffaab9551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae35459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae35494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae354aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae3541fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa20e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa20e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae35420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/unary-sym-expr.c.script: line 1: 2541520 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unary-sym-expr.c -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/undef-buffers.c (1226 of 18966) ******************** TEST 'Clang :: Analysis/undef-buffers.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/undef-buffers.c -analyzer-checker=core -analyzer-checker=unix -analyzer-checker=core.uninitialized -analyzer-config unix.DynamicMemoryModeling:Optimistic=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/undef-buffers.c -analyzer-checker=core -analyzer-checker=unix -analyzer-checker=core.uninitialized -analyzer-config unix.DynamicMemoryModeling:Optimistic=true 1. parser at end of file 2. While analyzing stack: #0 Calling heapBased2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/undef-buffers.c:43:15: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/undef-buffers.c:43:15: Error evaluating statement #0 0x0000ffffa6c0acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa6c09100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa6c0b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffafb8e800 (linux-vdso.so.1+0x800) #4 0x0000ffffaee69250 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaee69250 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaee69250 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaee69250 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaee69250 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaee69250 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffaee69250 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffaee69250 (anonymous namespace)::MallocChecker::evalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:3069:0 #12 0x0000ffffaec77760 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffffaec77760 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffffaec77760 llvm::IntrusiveRefCntPtr clang::ento::eval::Assume::_evalAssume<(anonymous namespace)::MallocChecker>(void*, llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:463:74 #15 0x0000ffffaea8b758 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffffaea8b758 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffffaea8b758 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffffaea8b758 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffffaeb50be4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffaeb50be4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffaeb50be4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffffaeb50be4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffffaeb5a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffffaeb5a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffaeb5a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #26 0x0000ffffaeabebd8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffaeabebd8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffaeabebd8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffffaeabebd8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffffaefac8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffaefac8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffaefac8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #33 0x0000ffffaec83840 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffffaec83840 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffffaec83840 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffffaec83840 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffffaec83840 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffffaec83840 (anonymous namespace)::MallocChecker::ProcessZeroAllocCheck(clang::ento::CallEvent const&, unsigned int, llvm::IntrusiveRefCntPtr, std::optional) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1529:0 #39 0x0000ffffaec83c90 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffffaec83c90 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffffaec83c90 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #42 0x0000ffffaec90180 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffffaec90180 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffffaeaa89a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffffaeaa89a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffaeaa89a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffffaeaa89a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffffaeaa89a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffffaeb08c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffffaeb08c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffffaeb08c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffffaeb08c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffffaeb08c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffffaeb08c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffffaeb09514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffffaeaeb270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffffaeaeb270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffffaeaec2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffffaeaec5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffffaeaec7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffffaeaecb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffffaeaecb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffffaeaecb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffffaeaecb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffffaeaecb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #66 0x0000ffffaedb6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffffaedb6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffffaedb6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffffaedb6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffffaedb6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffffaedb7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #72 0x0000ffffaedb7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffffaedb7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffffaedbc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffffaedbc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffffaedbc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffffaedbc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffffaedbc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffffad212058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #80 0x0000ffffad212058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffffad212058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #82 0x0000ffffad212058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffffae8d7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffffae88f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffffae88f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffffae88f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffffae91551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaae9c559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaae9c594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaae9c5aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaae9c51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffffa5e6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffffa5e60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaae9c520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/undef-buffers.c.script: line 1: 2541528 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/undef-buffers.c -analyzer-checker=core -analyzer-checker=unix -analyzer-checker=core.uninitialized -analyzer-config unix.DynamicMemoryModeling:Optimistic=true -- ******************** Testing: 0. FAIL: Clang :: Analysis/unified-sources/UnifiedSource-1.cpp (1228 of 18966) ******************** TEST 'Clang :: Analysis/unified-sources/UnifiedSource-1.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unified-sources/UnifiedSource-1.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unified-sources/UnifiedSource-1.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testContainerMethodInHeaderFile(ContainerInHeaderFile) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unified-sources/source1.cpp:14:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unified-sources/source1.cpp:14:10: Error evaluating statement #0 0x0000ffff8ba3acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8ba39100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8ba3b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff949b8800 (linux-vdso.so.1+0x800) #4 0x0000ffff93cb29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff93cb29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff93cb29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff93cb29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff93cb29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff93cb29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff93cb29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff93cb29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff93960048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff93960048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff93960048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff93960048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff93960f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff93960f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff93960f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff93960f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff93974cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff93974cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff93974cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff93974f90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff93974f90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff93974f90 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff93974530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff93974530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff93974530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff93980b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff93980b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff93980b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9398a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9398a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9398a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff938eeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff938eeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff938eeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff938eeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff93a0f1d8 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:9 #40 0x0000ffff93a0f1d8 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:21 #41 0x0000ffff93a0f1d8 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:44 #42 0x0000ffff93a0f1d8 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:25 #43 0x0000ffff93a0f1d8 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:44 #44 0x0000ffff93a0f1d8 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp:99:11 #45 0x0000ffff93a0f1d8 void clang::ento::check::PreStmt::_checkStmt<(anonymous namespace)::DivZeroChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:85:45 #46 0x0000ffff938d74f8 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffff938d74f8 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #48 0x0000ffff9390f188 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #49 0x0000ffff9390f188 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #50 0x0000ffff9390f188 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #51 0x0000ffff9390f188 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #52 0x0000ffff9390f188 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #53 0x0000ffff9390f188 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #54 0x0000ffff9390f188 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:50:0 #55 0x0000ffff9391bfa8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #56 0x0000ffff9391c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #57 0x0000ffff9391c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #58 0x0000ffff9391c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #59 0x0000ffff9391cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff9391cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff9391cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffff9391cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffff9391cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #64 0x0000ffff93be6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffff93be6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffff93be6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffff93be6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffff93be6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffff93be7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #70 0x0000ffff93be7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffff93be7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffff93bec130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffff93bec130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffff93bec130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffff93bec130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffff93bec130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffff92042058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #78 0x0000ffff92042058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffff92042058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #80 0x0000ffff92042058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffff93707450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffff936bf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffff936bf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffff936bf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffff9374551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaadeaa59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaadeaa94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaadeaaaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaadeaa1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffff8ac9098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff8ac90a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaadeaa20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/unified-sources/Output/UnifiedSource-1.cpp.script: line 1: 2541546 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unified-sources/UnifiedSource-1.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/uninit-bug-first-iteration-init.c (1229 of 18966) ******************** TEST 'Clang :: Analysis/uninit-bug-first-iteration-init.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-bug-first-iteration-init.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-bug-first-iteration-init.c 1. parser at end of file 2. While analyzing stack: #0 Calling bar 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-bug-first-iteration-init.c:26:10: Error evaluating statement #0 0x0000ffff863cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff863c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff863cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8f346800 (linux-vdso.so.1+0x800) #4 0x0000ffff8e2ec134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8e2ec134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8e2ec134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8e2ec134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff8e2ec134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff8e2ec134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff8e29748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff8e29748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff8e29748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff8e2ac264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff8e2ac264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff8e2ac264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff8e2ac264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff8e2ac264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff8e2ac264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff8e2ac264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff8e2ac264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff8e2ac264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff8e2ac5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #23 0x0000ffff8e2ac6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff8e2ac9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff8e2acb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff8e2acb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff8e2acb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff8e2acb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff8e2acb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #30 0x0000ffff8e576bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff8e576bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff8e576bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff8e576bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff8e576bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff8e577b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #36 0x0000ffff8e577b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff8e577b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff8e57c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff8e57c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff8e57c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff8e57c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff8e57c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff8c9d2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #44 0x0000ffff8c9d2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff8c9d2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #46 0x0000ffff8c9d2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff8e097450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff8e04f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff8e04f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff8e04f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff8e0d551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaabb0b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaabb0b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaabb0baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaabb0b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff8562098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff85620a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaabb0b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-bug-first-iteration-init.c.script: line 1: 2541565 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-bug-first-iteration-init.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/unified-sources/source1.cpp (1230 of 18966) ******************** TEST 'Clang :: Analysis/unified-sources/source1.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unified-sources/source1.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unified-sources/source1.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testContainerMethodInHeaderFile(ContainerInHeaderFile) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unified-sources/source1.cpp:14:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unified-sources/source1.cpp:14:10: Error evaluating statement #0 0x0000ffffa06cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa06c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa06cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa964f800 (linux-vdso.so.1+0x800) #4 0x0000ffffa89429e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa89429e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa89429e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa89429e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa89429e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa89429e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa89429e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa89429e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa85f0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa85f0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa85f0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa85f0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa85f0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa85f0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa85f0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa85f0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa8604cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa8604cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa8604cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffa8604f90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa8604f90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa8604f90 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffa8604530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa8604530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa8604530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa8610b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa8610b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa8610b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa861a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa861a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa861a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa857eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa857eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa857eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa857eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa869f1d8 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:9 #40 0x0000ffffa869f1d8 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:21 #41 0x0000ffffa869f1d8 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:44 #42 0x0000ffffa869f1d8 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:25 #43 0x0000ffffa869f1d8 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:44 #44 0x0000ffffa869f1d8 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp:99:11 #45 0x0000ffffa869f1d8 void clang::ento::check::PreStmt::_checkStmt<(anonymous namespace)::DivZeroChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:85:45 #46 0x0000ffffa85674f8 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffa85674f8 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #48 0x0000ffffa859f188 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #49 0x0000ffffa859f188 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #50 0x0000ffffa859f188 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #51 0x0000ffffa859f188 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #52 0x0000ffffa859f188 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #53 0x0000ffffa859f188 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #54 0x0000ffffa859f188 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:50:0 #55 0x0000ffffa85abfa8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #56 0x0000ffffa85ac2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #57 0x0000ffffa85ac5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #58 0x0000ffffa85ac7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #59 0x0000ffffa85acb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa85acb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa85acb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffffa85acb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffffa85acb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #64 0x0000ffffa8876bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffffa8876bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffffa8876bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffffa8876bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffffa8876bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffffa8877b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #70 0x0000ffffa8877b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffffa8877b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffffa887c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffffa887c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffffa887c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffffa887c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffffa887c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffffa6cd2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #78 0x0000ffffa6cd2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffffa6cd2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #80 0x0000ffffa6cd2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffffa8397450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffffa834f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffffa834f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffffa834f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffffa83d551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaadfa859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaadfa894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaadfa8aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaadfa81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffff9f92098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff9f920a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaadfa820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/unified-sources/Output/source1.cpp.script: line 1: 2541555 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unified-sources/source1.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/uninit-const.c (1231 of 18966) ******************** TEST 'Clang :: Analysis/uninit-const.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-const.c -analyzer-checker=core -analyzer-checker=unix.Malloc -analyzer-checker=debug.ExprInspection -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-const.c -analyzer-checker=core -analyzer-checker=unix.Malloc -analyzer-checker=debug.ExprInspection -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=true 1. parser at end of file 2. While analyzing stack: #0 Calling f_malloc_2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-const.c:173:16: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-const.c:173:16: Error evaluating statement #0 0x0000ffffad4dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffad4d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffad4db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb6456800 (linux-vdso.so.1+0x800) #4 0x0000ffffb5739250 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb5739250 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb5739250 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb5739250 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb5739250 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb5739250 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb5739250 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb5739250 (anonymous namespace)::MallocChecker::evalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:3069:0 #12 0x0000ffffb5547760 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffffb5547760 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffffb5547760 llvm::IntrusiveRefCntPtr clang::ento::eval::Assume::_evalAssume<(anonymous namespace)::MallocChecker>(void*, llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:463:74 #15 0x0000ffffb535b758 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffffb535b758 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffffb535b758 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffffb535b758 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffffb5420be4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffb5420be4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffb5420be4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffffb5420be4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffffb542a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffffb542a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffb542a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #26 0x0000ffffb538ebd8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb538ebd8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb538ebd8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffffb538ebd8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffffb587c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffb587c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffb587c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #33 0x0000ffffb5553840 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffffb5553840 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffffb5553840 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffffb5553840 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffffb5553840 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffffb5553840 (anonymous namespace)::MallocChecker::ProcessZeroAllocCheck(clang::ento::CallEvent const&, unsigned int, llvm::IntrusiveRefCntPtr, std::optional) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1529:0 #39 0x0000ffffb5553c90 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffffb5553c90 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffffb5553c90 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #42 0x0000ffffb5560180 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffffb5560180 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffffb53789a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffffb53789a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffb53789a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffffb53789a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffffb53789a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffffb53d8c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffffb53d8c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffffb53d8c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffffb53d8c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffffb53d8c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffffb53d8c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffffb53d9514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffffb53bb270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffffb53bb270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffffb53bc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffffb53bc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffffb53bc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffffb53bcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffffb53bcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffffb53bcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffffb53bcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffffb53bcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #66 0x0000ffffb5686bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffffb5686bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffffb5686bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffffb5686bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffffb5686bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffffb5687b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #72 0x0000ffffb5687b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffffb5687b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffffb568c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffffb568c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffffb568c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffffb568c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffffb568c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffffb3ae2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #80 0x0000ffffb3ae2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffffb3ae2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #82 0x0000ffffb3ae2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffffb51a7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffffb515f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffffb515f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffffb515f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffffb51e551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaad31a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaad31a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaad31aaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaad31a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffffac73098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffffac730a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaad31a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-const.c.script: line 1: 2541592 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-const.c -analyzer-checker=core -analyzer-checker=unix.Malloc -analyzer-checker=debug.ExprInspection -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=true -- ******************** Testing: 0. FAIL: Clang :: Analysis/uninit-const.cpp (1232 of 18966) ******************** TEST 'Clang :: Analysis/uninit-const.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-const.cpp -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=true : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-const.cpp -DTEST_INLINABLE_ALLOCATORS -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-const.cpp -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=true 1. parser at end of file 2. While analyzing stack: #0 Calling f8() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-const.cpp:50:9: Error evaluating New Allocator Call #0 0x0000ffffb34bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb34b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb34bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbc43f800 (linux-vdso.so.1+0x800) #4 0x0000ffffbb7329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbb7329e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbb7329e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbb7329e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbb7329e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbb7329e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbb7329e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbb7329e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbb3e0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbb3e0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbb3e0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbb3e0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbb3e0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbb3e0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbb3e0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbb3e0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbb3f3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbb3f3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbb3f3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbb3f5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbb3f5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbb3f5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbb3f4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbb3f4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbb3f4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbb400b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbb400b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbb400b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbb40a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbb40a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbb40a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbb36eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbb36eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbb36eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbb36eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbb36efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbb36efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbb36efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffbb398f68 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffbb398f68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffbb398f68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffbb398f68 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffbb398f68 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffbb39937c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffbb39937c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffbb39937c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffbb39937c clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffbb39937c clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffffbb39c5fc clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffffbb39c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #54 0x0000ffffbb39cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffffbb39cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffffbb39cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffffbb39cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffffbb39cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #59 0x0000ffffbb666bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffffbb666bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffffbb666bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffffbb666bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffffbb666bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffffbb667b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #65 0x0000ffffbb667b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffffbb667b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffffbb66c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffffbb66c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffffbb66c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffffbb66c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffffbb66c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffffb9ac2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #73 0x0000ffffb9ac2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffffb9ac2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #75 0x0000ffffb9ac2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffffbb187450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffffbb13f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffffbb13f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffffbb13f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffffbb1c551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaae4e759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaae4e794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaae4e7aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaae4e71fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffffb271098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffffb2710a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaae4e720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-const.cpp.script: line 2: 2541589 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-const.cpp -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=true -- ******************** Testing: 0. FAIL: Clang :: Analysis/uninit-exhaustive-switch-bug.c (1233 of 18966) ******************** TEST 'Clang :: Analysis/uninit-exhaustive-switch-bug.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-exhaustive-switch-bug.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-exhaustive-switch-bug.c 1. parser at end of file #0 0x0000ffff93a3acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff93a39100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff93a3b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9c9bc800 (linux-vdso.so.1+0x800) #4 0x0000ffff9bcb29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9bcb29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9bcb29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9bcb29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9bcb29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9bcb29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9bcb29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9bcb29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9b960048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9b960048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9b960048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9b960048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9b9620b8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9b9620b8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9b9620b8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9b9620b8 (anonymous namespace)::RangeConstraintManager::assumeSymWithinInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3224:0 #20 0x0000ffff9b9741f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9b9741f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9b9741f8 clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:129:64 #23 0x0000ffff9b974754 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9b974754 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9b974754 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #26 0x0000ffff9b8ef108 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9b8ef108 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9b8ef108 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:75 #29 0x0000ffff9b8ef108 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffff9b9055b8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff9b9055b8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff9b9055b8 clang::ento::ProgramState::assumeInclusiveRange(clang::ento::DefinedOrUnknownSVal, llvm::APSInt const&, llvm::APSInt const&) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:746:43 #33 0x0000ffff9b9055b8 clang::ento::ExprEngine::processSwitch(clang::ento::SwitchNodeBuilder&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3004:42 #34 0x0000ffff9b90cf8c clang::ento::CoreEngine::HandleBlockExit(clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:422:0 #35 0x0000ffff9b91cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff9b91cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff9b91cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffff9b91cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffff9b91cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffff9bbe6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffff9bbe6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffff9bbe6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffff9bbe6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffff9bbe6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffff9bbe7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffff9bbe7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffff9bbe7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffff9bbec130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffff9bbec130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffff9bbec130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffff9bbec130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffff9bbec130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffff9a042058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffff9a042058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffff9a042058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffff9a042058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffff9b707450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffff9b6bf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffff9b6bf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffff9b6bf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffff9b74551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaace1659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaace1694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaace16aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaace161fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff92c9098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff92c90a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaace1620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-exhaustive-switch-bug.c.script: line 1: 2541594 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-exhaustive-switch-bug.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/uninit-ps-rdar6145427.m (1235 of 18966) ******************** TEST 'Clang :: Analysis/uninit-ps-rdar6145427.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-ps-rdar6145427.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-ps-rdar6145427.m 1. parser at end of file 2. While analyzing stack: #0 Calling main 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-ps-rdar6145427.m:34:31: Error evaluating statement #0 0x0000ffffae50acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffae509100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffae50b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb748f800 (linux-vdso.so.1+0x800) #4 0x0000ffffb642c134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb642c134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb642c134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb642c134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffb642c134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffb642c134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffb63d748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffb63d748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffb63d748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffb63ec264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffb63ec264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffb63ec264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffb63ec264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffb63ec264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffb63ec264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffb63ec264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffb63ec264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffb63ec264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffb63ec5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #23 0x0000ffffb63ec6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffb63ec9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffb63ecb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffb63ecb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffb63ecb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffb63ecb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffb63ecb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #30 0x0000ffffb66b6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffb66b6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffb66b6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffb66b6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffb66b6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffb66b7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #36 0x0000ffffb66b7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffb66b7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffb66bc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffb66bc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffb66bc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffb66bc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffb66bc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffb4b12058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #44 0x0000ffffb4b12058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffb4b12058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #46 0x0000ffffb4b12058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffb61d7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffb618f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffb618f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffb618f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffb621551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaabea559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaabea594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaabea5aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaabea51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffffad76098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffffad760a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaabea520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-ps-rdar6145427.m.script: line 1: 2541601 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-ps-rdar6145427.m -- ******************** Testing: 0. FAIL: Clang :: Analysis/uninit-structured-binding-array.cpp (1236 of 18966) ******************** TEST 'Clang :: Analysis/uninit-structured-binding-array.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-structured-binding-array.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-structured-binding-array.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling SUD::SUD() at line 377 #1 Calling non_pod_user_defined_val_syntax_2() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-structured-binding-array.cpp:355:3: Error evaluating statement #0 0x0000ffff8db4acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8db49100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8db4b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff96ac7800 (linux-vdso.so.1+0x800) #4 0x0000ffff95a17188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff95a17188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff95a17188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff95a17188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff95a17188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff95a17188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff95a17188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff95a17188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff95a2c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff95a2c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff95a2c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff95a2c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff95a2c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff95a2c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff95a2c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff95a2c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff95a2c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffff95a2c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #22 0x0000ffff95a2c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffff95a2c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffff95a2cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff95a2cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff95a2cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff95a2cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff95a2cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #29 0x0000ffff95cf6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff95cf6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff95cf6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff95cf6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff95cf6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff95cf7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #35 0x0000ffff95cf7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff95cf7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff95cfc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff95cfc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff95cfc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff95cfc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff95cfc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff94152058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #43 0x0000ffff94152058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff94152058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #45 0x0000ffff94152058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff95817450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff957cf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff957cf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff957cf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff9585551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaad40f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaad40f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaad40faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaad40f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff8cda098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff8cda0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaad40f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-structured-binding-array.cpp.script: line 1: 2541616 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-structured-binding-array.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/uninit-structured-binding-struct.cpp (1237 of 18966) ******************** TEST 'Clang :: Analysis/uninit-structured-binding-struct.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-structured-binding-struct.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-structured-binding-struct.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling s3::s3() at line 106 #1 Calling i() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-structured-binding-struct.cpp:84:8: Error evaluating statement #0 0x0000ffffa984acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa9849100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa984b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb27c0800 (linux-vdso.so.1+0x800) #4 0x0000ffffb1717188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb1717188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb1717188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb1717188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb1717188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb1717188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb1717188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb1717188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffffb172c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffb172c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffb172c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffb172c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffb172c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffb172c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffb172c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffb172c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffb172c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffffb172c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #22 0x0000ffffb172c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffffb172c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffffb172cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffb172cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffb172cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffb172cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffb172cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #29 0x0000ffffb19f6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffb19f6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffb19f6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffb19f6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffb19f6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffb19f7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #35 0x0000ffffb19f7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffb19f7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffb19fc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffb19fc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffb19fc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffb19fc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffb19fc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffafe52058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #43 0x0000ffffafe52058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffafe52058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #45 0x0000ffffafe52058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffb1517450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffb14cf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffb14cf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffb14cf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffb155551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaac28e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaac28e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaac28eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaac28e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffffa8aa098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffffa8aa0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaac28e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-structured-binding-struct.cpp.script: line 1: 2541627 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-structured-binding-struct.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/uninit-structured-binding-tuple.cpp (1238 of 18966) ******************** TEST 'Clang :: Analysis/uninit-structured-binding-tuple.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-ignored-reference-qualifiers -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-structured-binding-tuple.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-ignored-reference-qualifiers -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-structured-binding-tuple.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling syntax_3() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-structured-binding-tuple.cpp:573:8: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-structured-binding-tuple.cpp:573:8: Error evaluating statement #0 0x0000ffffb675acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb6759100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb675b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbf6d0800 (linux-vdso.so.1+0x800) #4 0x0000ffffbe627804 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbe627804 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbe627804 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbe627804 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbe627804 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbe627804 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbe627804 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffffbe627804 clang::ento::ExprEngine::getObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:607:55 #12 0x0000ffffbe658680 clang::ento::ExprEngine::finishArgumentConstruction(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:640:59 #13 0x0000ffffbe658824 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #14 0x0000ffffbe658824 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x0000ffffbe658824 clang::ento::ExprEngine::finishArgumentConstruction(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:657:72 #16 0x0000ffffbe635534 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:832:0 #17 0x0000ffffbe63b22c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #18 0x0000ffffbe63b22c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #19 0x0000ffffbe63c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #20 0x0000ffffbe63c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #21 0x0000ffffbe63c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #22 0x0000ffffbe63cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #23 0x0000ffffbe63cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #24 0x0000ffffbe63cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #25 0x0000ffffbe63cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #26 0x0000ffffbe63cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #27 0x0000ffffbe906bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x0000ffffbe906bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x0000ffffbe906bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #30 0x0000ffffbe906bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #31 0x0000ffffbe906bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #32 0x0000ffffbe907b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #33 0x0000ffffbe907b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x0000ffffbe907b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #35 0x0000ffffbe90c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffbe90c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffbe90c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x0000ffffbe90c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x0000ffffbe90c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x0000ffffbcd62058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #41 0x0000ffffbcd62058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x0000ffffbcd62058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #43 0x0000ffffbcd62058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x0000ffffbe427450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #45 0x0000ffffbe3df104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #46 0x0000ffffbe3df104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #47 0x0000ffffbe3df104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #48 0x0000ffffbe46551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #49 0x0000aaaae0ac59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x0000aaaae0ac94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x0000aaaae0acaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x0000aaaae0ac1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x0000ffffb59b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #54 0x0000ffffb59b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #55 0x0000aaaae0ac20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-structured-binding-tuple.cpp.script: line 1: 2541636 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-ignored-reference-qualifiers -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-structured-binding-tuple.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/uninit-val-const-likeness.c (1239 of 18966) ******************** TEST 'Clang :: Analysis/uninit-val-const-likeness.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-val-const-likeness.c -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-val-const-likeness.c -verify 1. parser at end of file 2. While analyzing stack: #0 Calling create4 at line 69 #1 Calling work4 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-val-const-likeness.c:63:23: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-val-const-likeness.c:63:23: Error evaluating statement #0 0x0000ffff97b7acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff97b79100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff97b7b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa0af3800 (linux-vdso.so.1+0x800) #4 0x0000ffff9fdf29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9fdf29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9fdf29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9fdf29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9fdf29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9fdf29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9fdf29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9fdf29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9faa0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9faa0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9faa0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9faa0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9faa0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9faa0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9faa0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9faa0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9fab3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9fab3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9fab3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9fab5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9fab5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9fab5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9fab4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9fab4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9fab4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9fac0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9fac0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9fac0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9faca414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9faca414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9faca414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9fa2eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9fa2eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9fa2eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9fa2eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9ff1c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9ff1c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9ff1c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9fb4e270 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff9fb4e270 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff9fb4e270 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffff9fb4e270 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffff9fa18e38 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffff9fa41640 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffff9fa41640 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffff9fa4187c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #50 0x0000ffff9fa4187c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffff9fa4187c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff9fa4187c clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffff9fa51540 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffff9fa51540 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffff9fa51540 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffff9fa5ac54 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffff9fa5ac54 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffff9fa5ac54 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffff9fa5c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #60 0x0000ffff9fa5c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #61 0x0000ffff9fa5c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #62 0x0000ffff9fa5cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffff9fa5cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffff9fa5cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffff9fa5cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffff9fa5cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #67 0x0000ffff9fd26bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffff9fd26bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffff9fd26bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffff9fd26bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffff9fd26bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffff9fd27b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #73 0x0000ffff9fd27b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffff9fd27b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffff9fd2c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffff9fd2c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffff9fd2c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffff9fd2c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffff9fd2c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffff9e182058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #81 0x0000ffff9e182058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffff9e182058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #83 0x0000ffff9e182058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffff9f847450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffff9f7ff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffff9f7ff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffff9f7ff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffff9f88551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaab5a559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaab5a594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaab5a5aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaab5a51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffff96dd098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffff96dd0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaab5a520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-val-const-likeness.c.script: line 1: 2541643 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-val-const-likeness.c -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/uninit-vals.cpp (1240 of 18966) ******************** TEST 'Clang :: Analysis/uninit-vals.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.builtin -verify -DCHECK_FOR_CRASH /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.builtin -verify -DCHECK_FOR_CRASH /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling PerformTrivialCopyForUndefs::C::C() at line 22 #1 Calling PerformTrivialCopyForUndefs::foo() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.cpp:17:8: Error evaluating statement #0 0x0000ffff8fecacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8fec9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8fecb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff98e4f800 (linux-vdso.so.1+0x800) #4 0x0000ffff97d97188 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff97d97188 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff97d97188 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff97d97188 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff97d97188 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff97d97188 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff97d97188 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff97d97188 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff97dac264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff97dac264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff97dac264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff97dac264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff97dac264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff97dac264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff97dac264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff97dac264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff97dac264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #21 0x0000ffff97dac5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #22 0x0000ffff97dac6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #23 0x0000ffff97dac9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #24 0x0000ffff97dacb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff97dacb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff97dacb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff97dacb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff97dacb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #29 0x0000ffff98076bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff98076bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff98076bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff98076bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff98076bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff98077b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #35 0x0000ffff98077b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff98077b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff9807c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff9807c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff9807c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff9807c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff9807c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff964d2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #43 0x0000ffff964d2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff964d2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #45 0x0000ffff964d2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff97b97450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff97b4f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff97b4f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff97b4f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff97bd551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaab5b259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaab5b294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaab5b2aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaab5b21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff8f12098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff8f120a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaab5b220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-vals.cpp.script: line 2: 2541670 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.builtin -verify -DCHECK_FOR_CRASH /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/uninit-vals.m (1241 of 18966) ******************** TEST 'Clang :: Analysis/uninit-vals.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.m 1. parser at end of file 2. While analyzing stack: #0 Calling testCopySmallStructIntoArgument 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.m:342:17: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.m:342:17: Error evaluating statement #0 0x0000ffff7fdfacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7fdf9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7fdfb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff88d7c800 (linux-vdso.so.1+0x800) #4 0x0000ffff87cf9cd0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff87cf9cd0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff87cf9cd0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff87cf9cd0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff87cf9cd0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff87cf9cd0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff87cf9cd0 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffff87cf9cd0 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffff87cf9cd0 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x0000ffff87cf9dac (anonymous namespace)::RangeConstraintManager::getSymVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2862:36 #14 0x0000ffff87d0da34 clang::ento::ProgramState::getSVal(clang::ento::Loc, clang::QualType) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:273:0 #15 0x0000ffff87cc1a34 clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3670:25 #16 0x0000ffff87cd1540 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x0000ffff87cd1540 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x0000ffff87cd1540 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #19 0x0000ffff87cdac54 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #20 0x0000ffff87cdac54 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #21 0x0000ffff87cdac54 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #22 0x0000ffff87cdc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #23 0x0000ffff87cdc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #24 0x0000ffff87cdc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #25 0x0000ffff87cdcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff87cdcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff87cdcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff87cdcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff87cdcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #30 0x0000ffff87fa6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff87fa6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff87fa6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff87fa6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff87fa6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff87fa7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #36 0x0000ffff87fa7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff87fa7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff87fac130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff87fac130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff87fac130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff87fac130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff87fac130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff86402058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #44 0x0000ffff86402058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff86402058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #46 0x0000ffff86402058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff87ac7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff87a7f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff87a7f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff87a7f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff87b0551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaae91859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaae91894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaae918aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaae9181fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff7f05098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff7f050a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaae91820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-vals.m.script: line 1: 2541679 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.m -- ******************** Testing: 0. FAIL: Clang :: Analysis/uninit-vals.c (1242 of 18966) ******************** TEST 'Clang :: Analysis/uninit-vals.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fblocks -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fblocks -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.c 1. parser at end of file 2. While analyzing stack: #0 Calling pr_4630 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.c:106:7: Error evaluating branch #0 0x0000ffffb230acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb2309100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb230b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbb287800 (linux-vdso.so.1+0x800) #4 0x0000ffffba5829e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffba5829e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffba5829e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffba5829e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffba5829e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffba5829e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffba5829e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffba5829e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffba230048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffba230048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffba230048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffba230048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffba230f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffba230f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffba230f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffba230f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffba244cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffba244cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffba244cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffba244f90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffba244f90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffba244f90 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffba244530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffba244530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffba244530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffba250b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffba250b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffba250b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffba25a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffba25a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffba25a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffba1beaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffba1beaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffba1beaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffba1beaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffba6ac8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffba6ac8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffba6ac8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffba1d4c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffba1d4c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffba1d4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffba1d4c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffba1d4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffba1d4c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffba1d4c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffba1d4c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffba1d4c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffba1d4c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffba1d5200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffba1ecb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffba1ecb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffba1ecb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffba1ecb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffba1ecb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffba4b6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffba4b6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffba4b6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffba4b6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffba4b6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffba4b7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffba4b7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffba4b7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffba4bc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffba4bc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffba4bc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffba4bc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffba4bc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb8912058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb8912058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb8912058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb8912058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb9fd7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb9f8f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb9f8f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb9f8f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffba01551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaaf6959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaaf6994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaaf69aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaaf691fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffb156098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffb1560a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaaf6920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-vals.c.script: line 1: 2541668 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fblocks -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/unions-region.m (1245 of 18966) ******************** TEST 'Clang :: Analysis/unions-region.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unions-region.m -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unions-region.m -verify 1. parser at end of file 2. While analyzing stack: #0 Calling testA 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unions-region.m:25:7: Error evaluating branch #0 0x0000ffff7ef3acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7ef39100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7ef3b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff87eb1800 (linux-vdso.so.1+0x800) #4 0x0000ffff871b29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff871b29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff871b29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff871b29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff871b29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff871b29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff871b29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff871b29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff86e60048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff86e60048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff86e60048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff86e60048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff86e60f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff86e60f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff86e60f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff86e60f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff86e74cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff86e74cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff86e74cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff86e74f90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff86e74f90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff86e74f90 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff86e74530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff86e74530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff86e74530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff86e80b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff86e80b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff86e80b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff86e8a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff86e8a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff86e8a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff86deeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff86deeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff86deeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff86deeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff872dc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff872dc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff872dc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff86e04c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff86e04c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff86e04c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff86e04c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff86e04c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff86e04c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff86e04c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff86e04c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff86e04c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff86e04c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff86e05200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff86e1cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff86e1cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff86e1cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff86e1cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff86e1cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff870e6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff870e6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff870e6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff870e6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff870e6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff870e7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff870e7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff870e7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff870ec130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff870ec130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff870ec130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff870ec130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff870ec130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff85542058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff85542058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff85542058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff85542058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff86c07450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff86bbf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff86bbf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff86bbf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff86c4551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab72c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab72c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab72caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab72c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7e19098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7e190a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab72c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/unions-region.m.script: line 1: 2541680 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unions-region.m -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/unions.cpp (1246 of 18966) ******************** TEST 'Clang :: Analysis/unions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,unix.Malloc,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unions.cpp -analyzer-config eagerly-assume=false -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,unix.Malloc,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unions.cpp -analyzer-config eagerly-assume=false -verify 1. parser at end of file #0 0x0000ffffa435acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa4359100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa435b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffad2df800 (linux-vdso.so.1+0x800) #4 0x0000ffffac22c024 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffac22c024 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffac22c024 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffac22c024 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffac22c024 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffac22c024 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffac22c024 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffac22c024 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2911:0 #12 0x0000ffffac22c948 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #13 0x0000ffffac23c974 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #14 0x0000ffffac23cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffac23cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffac23cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffac23cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffac23cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffffac506bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffac506bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffac506bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffac506bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffac506bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffac507b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffffac507b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffac507b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffac50c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffac50c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffac50c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffac50c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffac50c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffffaa962058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffffaa962058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffffaa962058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffffaa962058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffac027450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffabfdf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffabfdf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffabfdf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffac06551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaab8dd59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaab8dd94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaab8ddaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaab8dd1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffffa35b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffffa35b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaab8dd20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/unions.cpp.script: line 1: 2541692 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,unix.Malloc,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unions.cpp -analyzer-config eagerly-assume=false -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/unix-api.c (1247 of 18966) ******************** TEST 'Clang :: Analysis/unix-api.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.API -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unix-api.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.API -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unix-api.c 1. parser at end of file 2. While analyzing stack: #0 Calling open_6 #0 0x0000ffffaba1acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaba19100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaba1b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb4997800 (linux-vdso.so.1+0x800) #4 0x0000ffffb393c134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb393c134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb393c134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb393c134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffb393c134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffb393c134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffb38e748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffb38e748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffb38e748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffb3912e5c llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #14 0x0000ffffb3912e5c clang::ento::ExprEngine::removeDeadOnEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:187:1 #15 0x0000ffffb38ec4b8 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #16 0x0000ffffb38ec4b8 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #17 0x0000ffffb38ec4b8 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #18 0x0000ffffb38ec4b8 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2951:0 #19 0x0000ffffb38ec948 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #20 0x0000ffffb38fc974 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #21 0x0000ffffb38fcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #22 0x0000ffffb38fcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #23 0x0000ffffb38fcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #24 0x0000ffffb38fcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #25 0x0000ffffb38fcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #26 0x0000ffffb3bc6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb3bc6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb3bc6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #29 0x0000ffffb3bc6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #30 0x0000ffffb3bc6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #31 0x0000ffffb3bc7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #32 0x0000ffffb3bc7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x0000ffffb3bc7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #34 0x0000ffffb3bcc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x0000ffffb3bcc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x0000ffffb3bcc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x0000ffffb3bcc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x0000ffffb3bcc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x0000ffffb2022058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #40 0x0000ffffb2022058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x0000ffffb2022058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #42 0x0000ffffb2022058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x0000ffffb36e7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #44 0x0000ffffb369f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #45 0x0000ffffb369f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #46 0x0000ffffb369f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #47 0x0000ffffb372551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #48 0x0000aaaacd1859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x0000aaaacd1894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x0000aaaacd18aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x0000aaaacd181fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x0000ffffaac7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #53 0x0000ffffaac70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #54 0x0000aaaacd1820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/unix-api.c.script: line 1: 2541698 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.API -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unix-api.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/unix-api.cpp (1248 of 18966) ******************** TEST 'Clang :: Analysis/unix-api.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.API -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unix-api.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.API -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unix-api.cpp 1. parser at end of file #0 0x0000ffff992dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff992d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff992db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa2253800 (linux-vdso.so.1+0x800) #4 0x0000ffffa11ac024 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa11ac024 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa11ac024 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa11ac024 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa11ac024 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa11ac024 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa11ac024 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa11ac024 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2911:0 #12 0x0000ffffa11ac948 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #13 0x0000ffffa11bc974 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #14 0x0000ffffa11bcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffa11bcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffa11bcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffa11bcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffa11bcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffffa1486bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffa1486bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffa1486bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffa1486bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffa1486bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffa1487b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffffa1487b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffa1487b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffa148c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffa148c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffa148c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffa148c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffa148c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff9f8e2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffff9f8e2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff9f8e2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffff9f8e2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffa0fa7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffa0f5f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffa0f5f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffa0f5f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffa0fe551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaad26a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaad26a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaad26aaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaad26a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff9853098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff98530a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaad26a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/unix-api.cpp.script: line 1: 2541705 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.API -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unix-api.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/unix-fns.c (1249 of 18966) ******************** TEST 'Clang :: Analysis/unix-fns.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,unix.API,osx.API,optin.portability /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unix-fns.c -analyzer-output=plist -analyzer-config faux-bodies=true -fblocks -verify -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/unix-fns.c.tmp.plist : 'RUN: at line 2'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling anonymous code at line Invoking block defined at line 223 #1 Calling dispatch_sync at line 223 #2 Calling test_dispatch_sync 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unix-fns.c:224:8: Error evaluating branch #0 0x0000ffffa0e4acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa0e49100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa0e4b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa9dc9800 (linux-vdso.so.1+0x800) #4 0x0000ffffa90c29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa90c29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa90c29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa90c29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa90c29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa90c29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa90c29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa90c29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa8d70048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa8d70048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa8d70048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa8d70048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa8d70f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa8d70f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa8d70f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa8d70f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa8d83b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa8d83b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa8d83b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa8d85060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa8d85060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa8d85060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa8d84530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa8d84530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa8d84530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa8d90b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa8d90b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa8d90b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa8d9a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa8d9a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa8d9a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa8cfeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa8cfeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa8cfeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa8cfeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa91ec8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa91ec8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa91ec8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa8d14c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffa8d14c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffa8d14c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffa8d14c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffa8d14c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffa8d14c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffa8d14c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffa8d14c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffa8d14c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffa8d14c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffa8d15200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffa8d2cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa8d2cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa8d2cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa8d2cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa8d2cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffa8ff6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa8ff6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa8ff6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa8ff6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa8ff6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa8ff7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffa8ff7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa8ff7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa8ffc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa8ffc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa8ffc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa8ffc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa8ffc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa7452058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffa7452058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa7452058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffa7452058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa8b17450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa8acf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa8acf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa8acf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa8b5551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaabe5859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaabe5894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaabe58aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaabe581fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa00a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa00a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaabe5820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/unix-fns.c.script: line 5: 2541721 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,unix.API,osx.API,optin.portability /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unix-fns.c -analyzer-output=plist -analyzer-config faux-bodies=true -fblocks -verify -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/unix-fns.c.tmp.plist -- ******************** Testing: 0. FAIL: Clang :: Analysis/unreachable-code-path.c (1250 of 18966) ******************** TEST 'Clang :: Analysis/unreachable-code-path.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,deadcode.DeadStores,alpha.deadcode.UnreachableCode -verify -Wno-unused-value /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unreachable-code-path.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,deadcode.DeadStores,alpha.deadcode.UnreachableCode -verify -Wno-unused-value /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unreachable-code-path.c 1. parser at end of file #0 0x0000ffff77bbacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff77bb9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff77bbb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff80b3a800 (linux-vdso.so.1+0x800) #4 0x0000ffff7fab9cd0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff7fab9cd0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff7fab9cd0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff7fab9cd0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff7fab9cd0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff7fab9cd0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff7fab9cd0 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffff7fab9cd0 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffff7fab9cd0 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x0000ffff7fab9dac (anonymous namespace)::RangeConstraintManager::getSymVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2862:36 #14 0x0000ffff7fb00f48 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier::VisitSymbolData(clang::ento::SymbolData const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1259:54 #15 0x0000ffff7ff19dd4 VisitNonLocSymbolVal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1365:0 #16 0x0000ffff7ff19dd4 Visit /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def:67:0 #17 0x0000ffff7ff19dd4 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1371:0 #18 0x0000ffff7faf4824 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #19 0x0000ffff7faf4824 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #20 0x0000ffff7faf3df8 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #21 0x0000ffff7faf3efc clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #22 0x0000ffff7faf403c clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:105:17 #23 0x0000ffff7faf4754 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff7faf4754 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff7faf4754 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #26 0x0000ffff7fa6f108 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff7fa6f108 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff7fa6f108 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:75 #29 0x0000ffff7fa6f108 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffff7fa855b8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff7fa855b8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff7fa855b8 clang::ento::ProgramState::assumeInclusiveRange(clang::ento::DefinedOrUnknownSVal, llvm::APSInt const&, llvm::APSInt const&) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:746:43 #33 0x0000ffff7fa855b8 clang::ento::ExprEngine::processSwitch(clang::ento::SwitchNodeBuilder&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3004:42 #34 0x0000ffff7fa8cf8c clang::ento::CoreEngine::HandleBlockExit(clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:422:0 #35 0x0000ffff7fa9cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff7fa9cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff7fa9cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffff7fa9cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffff7fa9cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #40 0x0000ffff7fd66bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffff7fd66bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffff7fd66bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffff7fd66bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffff7fd66bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffff7fd67b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #46 0x0000ffff7fd67b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffff7fd67b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffff7fd6c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffff7fd6c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffff7fd6c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffff7fd6c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffff7fd6c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffff7e1c2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #54 0x0000ffff7e1c2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffff7e1c2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #56 0x0000ffff7e1c2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffff7f887450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffff7f83f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffff7f83f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffff7f83f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffff7f8c551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaad86459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaad86494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaad864aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaad8641fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff76e1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff76e10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaad86420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/unreachable-code-path.c.script: line 1: 2541730 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,deadcode.DeadStores,alpha.deadcode.UnreachableCode -verify -Wno-unused-value /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unreachable-code-path.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/valist-uninitialized-no-undef.c (1251 of 18966) ******************** TEST 'Clang :: Analysis/valist-uninitialized-no-undef.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -analyzer-checker=core,valist.Uninitialized,valist.CopyToSelf -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-uninitialized-no-undef.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -analyzer-checker=core,valist.Uninitialized,valist.CopyToSelf -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-uninitialized-no-undef.c 1. parser at end of file 2. While analyzing stack: #0 Calling call_vsprintf_bad 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-uninitialized-no-undef.c:45:3 : Error evaluating statement #0 0x0000ffffadf4acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffadf49100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffadf4b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb6ec6800 (linux-vdso.so.1+0x800) #4 0x0000ffffb60963d0 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb60963d0 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb60963d0 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb60963d0 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb60963d0 llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:38 #9 0x0000ffffb60963d0 clang::ento::ProgramStatePartialTrait>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:204:35 #10 0x0000ffffb60963d0 get<(anonymous namespace)::InitializedVALists> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb60963d0 (anonymous namespace)::ValistChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ValistChecker.cpp:206:72 #12 0x0000ffffb5dfcbd4 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffffb5e173b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffffb5e173b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffffb5e173b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffffb5e173b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffffb5e173b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffffb5e173b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffffb5e173b8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffffb5e2c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffffb5e2c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffffb5e2c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffffb5e2c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffffb5e2c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffffb5e2c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffffb5e2c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffffb5e2c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffffb5e2c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffffb5e2c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #30 0x0000ffffb5e2c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #31 0x0000ffffb5e2cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffffb5e2cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffffb5e2cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffffb5e2cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffffb5e2cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffffb60f6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffb60f6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffb60f6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffffb60f6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffffb60f6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffffb60f7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffffb60f7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffffb60f7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffffb60fc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffffb60fc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffffb60fc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffffb60fc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffffb60fc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffffb4552058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffffb4552058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffffb4552058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffffb4552058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffffb5c17450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffffb5bcf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffffb5bcf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffffb5bcf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffffb5c5551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaac15859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaac15894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaac158aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaac1581fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffffad1a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffffad1a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaac15820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/valist-uninitialized-no-undef.c.script: line 1: 2541754 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -analyzer-checker=core,valist.Uninitialized,valist.CopyToSelf -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-uninitialized-no-undef.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/valist-as-lazycompound.c (1252 of 18966) ******************** TEST 'Clang :: Analysis/valist-as-lazycompound.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple gcc-linaro-arm-linux-gnueabihf -analyzer-checker=core,valist.Uninitialized,valist.CopyToSelf -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-as-lazycompound.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple gcc-linaro-arm-linux-gnueabihf -analyzer-checker=core,valist.Uninitialized,valist.CopyToSelf -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-as-lazycompound.c 1. parser at end of file 2. While analyzing stack: #0 Calling _dprintf 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-as-lazycompound.c:19:9: Error evaluating statement #0 0x0000ffff800aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff800a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff800ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8902c800 (linux-vdso.so.1+0x800) #4 0x0000ffff881f63d0 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff881f63d0 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff881f63d0 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff881f63d0 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff881f63d0 llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:38 #9 0x0000ffff881f63d0 clang::ento::ProgramStatePartialTrait>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:204:35 #10 0x0000ffff881f63d0 get<(anonymous namespace)::InitializedVALists> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff881f63d0 (anonymous namespace)::ValistChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ValistChecker.cpp:206:72 #12 0x0000ffff87f5cbd4 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffff87f773b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffff87f773b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffff87f773b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffff87f773b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffff87f773b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffff87f773b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffff87f773b8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffff87f8c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffff87f8c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffff87f8c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffff87f8c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffff87f8c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffff87f8c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffff87f8c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffff87f8c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffff87f8c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffff87f8c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #30 0x0000ffff87f8c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #31 0x0000ffff87f8cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffff87f8cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffff87f8cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffff87f8cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffff87f8cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffff88256bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff88256bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff88256bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffff88256bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffff88256bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffff88257b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffff88257b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffff88257b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffff8825c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffff8825c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffff8825c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffff8825c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffff8825c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffff866b2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffff866b2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffff866b2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffff866b2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffff87d77450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffff87d2f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffff87d2f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffff87d2f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffff87db551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaacefb59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaacefb94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaacefbaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaacefb1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffff7f30098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffff7f300a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaacefb20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/valist-as-lazycompound.c.script: line 1: 2541751 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple gcc-linaro-arm-linux-gnueabihf -analyzer-checker=core,valist.Uninitialized,valist.CopyToSelf -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-as-lazycompound.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/use-after-move.cpp (1253 of 18966) ******************** TEST 'Clang :: Analysis/use-after-move.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.Move /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/use-after-move.cpp -std=c++11 -analyzer-output=text -analyzer-config eagerly-assume=false -analyzer-config exploration_strategy=unexplored_first_queue -analyzer-checker core,cplusplus.SmartPtrModeling,debug.ExprInspection -verify=expected,peaceful,non-aggressive : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.Move /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/use-after-move.cpp -std=c++11 -analyzer-output=text -analyzer-config eagerly-assume=false -analyzer-config exploration_strategy=dfs -DDFS -analyzer-checker core,cplusplus.SmartPtrModeling,debug.ExprInspection -verify=expected,peaceful,non-aggressive : 'RUN: at line 11'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.Move /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/use-after-move.cpp -std=c++11 -analyzer-output=text -analyzer-config eagerly-assume=false -analyzer-config exploration_strategy=unexplored_first_queue -analyzer-config cplusplus.Move:WarnOn=KnownsOnly -analyzer-checker core,cplusplus.SmartPtrModeling,debug.ExprInspection -verify=expected,non-aggressive : 'RUN: at line 17'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.Move -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/use-after-move.cpp -std=c++11 -analyzer-output=text -analyzer-config eagerly-assume=false -analyzer-config exploration_strategy=dfs -DDFS -analyzer-config cplusplus.Move:WarnOn=KnownsOnly -analyzer-checker core,cplusplus.SmartPtrModeling,debug.ExprInspection -verify=expected,non-aggressive : 'RUN: at line 23'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.Move /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/use-after-move.cpp -std=c++11 -analyzer-output=text -analyzer-config eagerly-assume=false -analyzer-config exploration_strategy=unexplored_first_queue -analyzer-config cplusplus.Move:WarnOn=All -analyzer-checker core,cplusplus.SmartPtrModeling,debug.ExprInspection -verify=expected,peaceful,aggressive : 'RUN: at line 29'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.Move /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/use-after-move.cpp -std=c++11 -analyzer-output=text -analyzer-config eagerly-assume=false -analyzer-config exploration_strategy=dfs -DDFS -analyzer-config cplusplus.Move:WarnOn=All -analyzer-checker core,cplusplus.SmartPtrModeling,debug.ExprInspection -verify=expected,peaceful,aggressive : 'RUN: at line 36'; not /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/use-after-move.cpp -analyzer-checker=core -analyzer-checker=cplusplus.Move -analyzer-config cplusplus.Move:WarnOn="a bunch of things" 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/use-after-move.cpp -check-prefix=CHECK-MOVE-INVALID-VALUE : 'RUN: at line 48'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.Move /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/use-after-move.cpp -std=c++11 -analyzer-output=text -analyzer-config eagerly-assume=false -analyzer-config exploration_strategy=dfs -DDFS -analyzer-config cplusplus.Move:WarnOn=All -DAGGRESSIVE_DFS -analyzer-checker core,cplusplus.SmartPtrModeling,debug.ExprInspection -verify=expected,peaceful,aggressive /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/use-after-move.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/use-after-move.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.Move /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/use-after-move.cpp -std=c++11 -analyzer-output=text -analyzer-config eagerly-assume=false -analyzer-config exploration_strategy=unexplored_first_queue -analyzer-checker core,cplusplus.SmartPtrModeling,debug.ExprInspection -verify=expected,peaceful,non-aggressive 1. parser at end of file #0 0x0000ffffabc7acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffabc79100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffabc7b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb4bf3800 (linux-vdso.so.1+0x800) #4 0x0000ffffb3ef29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb3ef29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb3ef29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb3ef29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb3ef29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb3ef29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb3ef29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb3ef29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb3ba0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb3ba0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb3ba0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb3ba0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb3ba0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb3ba0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb3ba0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb3ba0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb3bb3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb3bb3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb3bb3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb3bb5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb3bb5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb3bb5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb3bb4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb3bb4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb3bb4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb3bc0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb3bc0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb3bc0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb3bca414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb3bca414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb3bca414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb3b2eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb3b2eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb3b2eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb3b2eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb3b2efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb3b2efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb3b2efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb3b02620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffb3b02620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffb3b02620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffb3b3ef2c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffb3b3ef2c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffb3b3ef2c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffb3b5ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffb3b5ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffb3b5ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffb3e26bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffb3e26bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffb3e26bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffb3e26bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffb3e26bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffb3e27b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffb3e27b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffb3e27b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffb3e2c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb3e2c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb3e2c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffb3e2c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffb3e2c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffb2282058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffb2282058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffb2282058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffb2282058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffb3947450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffb38ff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffb38ff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffb38ff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffb398551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaac62759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaac62794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaac627aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaac6271fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffaaed098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffaaed0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaac62720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/use-after-move.cpp.script: line 8: 2541752 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.Move /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/use-after-move.cpp -std=c++11 -analyzer-output=text -analyzer-config eagerly-assume=false -analyzer-config exploration_strategy=unexplored_first_queue -analyzer-checker core,cplusplus.SmartPtrModeling,debug.ExprInspection -verify=expected,peaceful,non-aggressive -- ******************** Testing: 0. FAIL: Clang :: Analysis/valist-uninitialized.c (1254 of 18966) ******************** TEST 'Clang :: Analysis/valist-uninitialized.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple hexagon-unknown-linux -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-uninitialized.c -analyzer-checker=core,valist.Uninitialized,valist.CopyToSelf -analyzer-disable-checker=core.CallAndMessage -analyzer-output=text : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-uninitialized.c -analyzer-checker=core,valist.Uninitialized,valist.CopyToSelf -analyzer-disable-checker=core.CallAndMessage -analyzer-output=text : 'RUN: at line 11'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-uninitialized.c -analyzer-checker=core,valist.Uninitialized -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple hexagon-unknown-linux -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-uninitialized.c -analyzer-checker=core,valist.Uninitialized,valist.CopyToSelf -analyzer-disable-checker=core.CallAndMessage -analyzer-output=text 1. parser at end of file 2. While analyzing stack: #0 Calling va_copy_test 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-uninitialized.c:187:3 : Error evaluating statement #0 0x0000ffffb45facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb45f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb45fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbd57b800 (linux-vdso.so.1+0x800) #4 0x0000ffffbc7463d0 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffbc7463d0 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffbc7463d0 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffbc7463d0 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffbc7463d0 llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:38 #9 0x0000ffffbc7463d0 clang::ento::ProgramStatePartialTrait>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:204:35 #10 0x0000ffffbc7463d0 get<(anonymous namespace)::InitializedVALists> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffbc7463d0 (anonymous namespace)::ValistChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ValistChecker.cpp:206:72 #12 0x0000ffffbc4acbd4 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffffbc4c73b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffffbc4c73b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffffbc4c73b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffffbc4c73b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffffbc4c73b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffffbc4c73b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffffbc4c73b8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffffbc4dc264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffffbc4dc264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffffbc4dc264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffffbc4dc264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffffbc4dc264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffffbc4dc264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffffbc4dc264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffffbc4dc264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffffbc4dc264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffffbc4dc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #30 0x0000ffffbc4dc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #31 0x0000ffffbc4dcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffffbc4dcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffffbc4dcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffffbc4dcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffffbc4dcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffffbc7a6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffbc7a6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffbc7a6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffffbc7a6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffffbc7a6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffffbc7a7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffffbc7a7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffffbc7a7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffffbc7ac130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffffbc7ac130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffffbc7ac130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffffbc7ac130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffffbc7ac130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffffbac02058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffffbac02058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffffbac02058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffffbac02058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffffbc2c7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffffbc27f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffffbc27f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffffbc27f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffffbc30551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaab9b859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaab9b894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaab9b8aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaab9b81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffffb385098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffffb3850a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaab9b820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/valist-uninitialized.c.script: line 3: 2541765 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple hexagon-unknown-linux -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-uninitialized.c -analyzer-checker=core,valist.Uninitialized,valist.CopyToSelf -analyzer-disable-checker=core.CallAndMessage -analyzer-output=text -- ******************** Testing: 0. FAIL: Clang :: Analysis/valist-unterminated.c (1255 of 18966) ******************** TEST 'Clang :: Analysis/valist-unterminated.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple hexagon-unknown-linux -analyzer-checker=core,valist.Unterminated,valist.CopyToSelf -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-unterminated.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -analyzer-checker=core,valist.Unterminated,valist.CopyToSelf -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-unterminated.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple hexagon-unknown-linux -analyzer-checker=core,valist.Unterminated,valist.CopyToSelf -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-unterminated.c 1. parser at end of file 2. While analyzing stack: #0 Calling castingOk 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-unterminated.c:153:3 : Error evaluating statement #0 0x0000ffff9c07acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9c079100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9c07b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa4ff8800 (linux-vdso.so.1+0x800) #4 0x0000ffffa41c63d0 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa41c63d0 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa41c63d0 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa41c63d0 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa41c63d0 llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:38 #9 0x0000ffffa41c63d0 clang::ento::ProgramStatePartialTrait>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:204:35 #10 0x0000ffffa41c63d0 get<(anonymous namespace)::InitializedVALists> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa41c63d0 (anonymous namespace)::ValistChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ValistChecker.cpp:206:72 #12 0x0000ffffa3f2cbd4 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffffa3f473b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffffa3f473b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffffa3f473b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffffa3f473b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffffa3f473b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffffa3f473b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffffa3f473b8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffffa3f5c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffffa3f5c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffffa3f5c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffffa3f5c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffffa3f5c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffffa3f5c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffffa3f5c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffffa3f5c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffffa3f5c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffffa3f5c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #30 0x0000ffffa3f5c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #31 0x0000ffffa3f5cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffffa3f5cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffffa3f5cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffffa3f5cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffffa3f5cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffffa4226bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffa4226bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffa4226bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffffa4226bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffffa4226bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffffa4227b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffffa4227b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffffa4227b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffffa422c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffffa422c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffffa422c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffffa422c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffffa422c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffffa2682058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffffa2682058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffffa2682058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffffa2682058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffffa3d47450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffffa3cff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffffa3cff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffffa3cff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffffa3d8551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaad0ba59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaad0ba94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaad0baaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaad0ba1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffff9b2d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffff9b2d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaad0ba20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/valist-unterminated.c.script: line 2: 2541777 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple hexagon-unknown-linux -analyzer-checker=core,valist.Unterminated,valist.CopyToSelf -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-unterminated.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/variadic-method-types.m (1256 of 18966) ******************** TEST 'Clang :: Analysis/variadic-method-types.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.cocoa.VariadicMethodTypes -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/variadic-method-types.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.cocoa.VariadicMethodTypes -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/variadic-method-types.m 1. parser at end of file 2. While analyzing stack: #0 Calling test_rdar9273215 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/variadic-method-types.m:98:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/variadic-method-types.m:98:10: Error evaluating statement #0 0x0000ffffa695acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa6959100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa695b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaf8dc800 (linux-vdso.so.1+0x800) #4 0x0000ffffaebd29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaebd29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaebd29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaebd29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaebd29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaebd29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffaebd29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffaebd29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffae880048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffae880048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffae880048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffae880048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffae880f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffae880f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffae880f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffae880f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffae893b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffae893b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffae893b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffae895060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffae895060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffae895060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffae894530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffae894530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffae894530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffae8a0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffae8a0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffae8a0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffae8aa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffae8aa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffae8aa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffae80eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffae80eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffae80eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffae80eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffaecfc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffaecfc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffaecfc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffae870afc std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffffae870afc std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffffae870afc std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffffae870afc std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffffae870afc std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffffae870afc clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #48 0x0000ffffae83ae08 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #49 0x0000ffffae83ae08 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #50 0x0000ffffae83c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffffae83c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffffae83c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffffae83cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffae83cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffae83cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffae83cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffae83cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffaeb06bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffaeb06bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffaeb06bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffaeb06bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffaeb06bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffaeb07b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffaeb07b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffaeb07b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffaeb0c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffaeb0c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffaeb0c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffaeb0c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffaeb0c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffacf62058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffacf62058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffacf62058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffacf62058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffae627450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffae5df104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffae5df104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffae5df104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffae66551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad34d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad34d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad34daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad34d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa5bb098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa5bb0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad34d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/variadic-method-types.m.script: line 1: 2541788 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.cocoa.VariadicMethodTypes -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/variadic-method-types.m -- ******************** Testing: 0. FAIL: Clang :: Analysis/vector.m (1258 of 18966) ******************** TEST 'Clang :: Analysis/vector.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vector.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vector.m 1. parser at end of file 2. While analyzing stack: #0 Calling myfunc 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vector.m:56:16: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vector.m:56:16: Error evaluating statement #0 0x0000ffffb33dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb33d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb33db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbc359800 (linux-vdso.so.1+0x800) #4 0x0000ffffbb6529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbb6529e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbb6529e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbb6529e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbb6529e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbb6529e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbb6529e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbb6529e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbb300048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbb300048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbb300048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbb300048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbb300f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbb300f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbb300f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbb300f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbb313b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbb313b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbb313b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbb315060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbb315060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbb315060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbb314530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbb314530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbb314530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbb320b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbb320b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbb320b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbb32a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbb32a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbb32a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbb28eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbb28eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbb28eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbb28eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbb77c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbb77c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbb77c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffbb2f0afc std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffffbb2f0afc std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffffbb2f0afc std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffffbb2f0afc std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffffbb2f0afc std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffffbb2f0afc clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #48 0x0000ffffbb2bae08 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #49 0x0000ffffbb2bae08 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #50 0x0000ffffbb2bc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffffbb2bc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffffbb2bc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffffbb2bcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffbb2bcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffbb2bcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffbb2bcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffbb2bcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffbb586bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffbb586bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffbb586bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffbb586bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffbb586bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffbb587b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffbb587b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffbb587b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffbb58c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffbb58c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffbb58c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffbb58c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffbb58c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb99e2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb99e2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb99e2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb99e2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffbb0a7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffbb05f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffbb05f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffbb05f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffbb0e551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad6de59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad6de94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad6deaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad6de1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffb263098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffb2630a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad6de20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/vector.m.script: line 1: 2541807 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vector.m -- ******************** Testing: 0. FAIL: Clang :: Analysis/virtualcall-plist.cpp (1259 of 18966) ******************** TEST 'Clang :: Analysis/virtualcall-plist.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall-plist.cpp.tmp.plist -w -verify=pure /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-plist.cpp : 'RUN: at line 3'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall-plist.cpp.tmp.plist | /usr/bin/FileCheck --check-prefixes=PURE /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-plist.cpp : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall-plist.cpp.tmp.plist -w -verify=impure /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-plist.cpp : 'RUN: at line 6'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall-plist.cpp.tmp.plist | /usr/bin/FileCheck --check-prefixes=IMPURE /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-plist.cpp : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus,optin.cplusplus -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall-plist.cpp.tmp.plist -w -verify=pure,impure /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-plist.cpp : 'RUN: at line 9'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall-plist.cpp.tmp.plist | /usr/bin/FileCheck --check-prefixes=PURE,IMPURE /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-plist.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall-plist.cpp.tmp.plist -w -verify=pure /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-plist.cpp 1. parser at end of file #0 0x0000ffff9027acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff90279100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9027b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff991fe800 (linux-vdso.so.1+0x800) #4 0x0000ffff984f29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff984f29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff984f29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff984f29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff984f29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff984f29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff984f29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff984f29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff981a0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff981a0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff981a0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff981a0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff981a0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff981a0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff981a0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff981a0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff981b3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff981b3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff981b3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff981b5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff981b5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff981b5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff981b4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff981b4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff981b4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff981c0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff981c0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff981c0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff981ca414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff981ca414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff981ca414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9812eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9812eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9812eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9812eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9812efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9812efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9812efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff98102620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff98102620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff98102620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff9813ef2c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff9813ef2c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff9813ef2c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff9815ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff9815ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff9815ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff98426bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff98426bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff98426bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff98426bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff98426bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff98427b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff98427b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff98427b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff9842c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff9842c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff9842c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff9842c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff9842c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff96882058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff96882058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff96882058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff96882058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff97f47450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff97eff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff97eff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff97eff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff97f8551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaadcab59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaadcab94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaadcabaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaadcab1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff8f4d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff8f4d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaadcab20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall-plist.cpp.script: line 6: 2541824 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall-plist.cpp.tmp.plist -w -verify=pure /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-plist.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/virtualcall-fixits.cpp (1260 of 18966) ******************** TEST 'Clang :: Analysis/virtualcall-fixits.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.VirtualCall -analyzer-config optin.cplusplus.VirtualCall:ShowFixIts=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-fixits.cpp 2>&1 | /usr/bin/FileCheck -check-prefix=TEXT /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-fixits.cpp : 'RUN: at line 5'; "/usr/bin/python3.11" /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/check-analyzer-fixit.py /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-fixits.cpp /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall-fixits.cpp.tmp -analyzer-checker=core,optin.cplusplus.VirtualCall -analyzer-config optin.cplusplus.VirtualCall:ShowFixIts=true -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall-fixits.cpp.tmp.plist : 'RUN: at line 9'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall-fixits.cpp.tmp.plist | /usr/bin/FileCheck -check-prefix=PLIST /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-fixits.cpp -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-fixits.cpp:23:10: error: TEXT: expected string not found in input // TEXT: warning: Call to virtual method 'S::foo' during construction ^ :1:1: note: scanning from here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ :1:130: note: possible intended match here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-fixits.cpp -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. check:23'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found check:23'1 ? possible intended match 2: Stack dump: check:23'0 ~~~~~~~~~~~~ 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.VirtualCall -analyzer-config optin.cplusplus.VirtualCall:ShowFixIts=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-fixits.cpp check:23'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4: 1. parser at end of file check:23'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: #0 0x0000ffffb3acacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) check:23'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #1 0x0000ffffb3ac9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) check:23'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0. FAIL: Clang :: Analysis/vfork.c (1264 of 18966) ******************** TEST 'Clang :: Analysis/vfork.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,security.insecureAPI.vfork,unix.Vfork -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vfork.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,security.insecureAPI.vfork,unix.Vfork -verify -x c++ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vfork.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,security.insecureAPI.vfork,unix.Vfork -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vfork.c 1. parser at end of file 2. While analyzing stack: #0 Calling f5 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vfork.c:131:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vfork.c:131:7: Error evaluating statement #0 0x0000ffff95d6acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff95d69100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff95d6b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9ece1800 (linux-vdso.so.1+0x800) #4 0x0000ffff9dfe29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9dfe29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9dfe29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9dfe29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9dfe29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9dfe29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9dfe29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9dfe29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9dc90048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9dc90048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9dc90048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9dc90048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9dc90f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9dc90f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9dc90f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9dc90f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9dca4cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9dca4cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9dca4cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff9dca4f90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9dca4f90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9dca4f90 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff9dca4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9dca4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9dca4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9dcb0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9dcb0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9dcb0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9dcba414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9dcba414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9dcba414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9dc1eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9dc1eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9dc1eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9dc1eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9e10c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9e10c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9e10c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9deb5264 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:9 #43 0x0000ffff9deb5264 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:21 #44 0x0000ffff9deb5264 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:44 #45 0x0000ffff9deb5264 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:25 #46 0x0000ffff9deb5264 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:44 #47 0x0000ffff9deb5264 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/VforkChecker.cpp:178:11 #48 0x0000ffff9deb5264 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::VforkChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:46 #49 0x0000ffff9dc089a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #50 0x0000ffff9dc089a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #51 0x0000ffff9dc089a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #52 0x0000ffff9dc089a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #53 0x0000ffff9dc089a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #54 0x0000ffff9dc68c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #55 0x0000ffff9dc68c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #56 0x0000ffff9dc68c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #57 0x0000ffff9dc68c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #58 0x0000ffff9dc68c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #59 0x0000ffff9dc68c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #60 0x0000ffff9dc69514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #61 0x0000ffff9dc4b270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #62 0x0000ffff9dc4b270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #63 0x0000ffff9dc4c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #64 0x0000ffff9dc4c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #65 0x0000ffff9dc4c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #66 0x0000ffff9dc4cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9dc4cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9dc4cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #69 0x0000ffff9dc4cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #70 0x0000ffff9dc4cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #71 0x0000ffff9df16bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #72 0x0000ffff9df16bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #73 0x0000ffff9df16bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #74 0x0000ffff9df16bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #75 0x0000ffff9df16bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #76 0x0000ffff9df17b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #77 0x0000ffff9df17b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #78 0x0000ffff9df17b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #79 0x0000ffff9df1c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #80 0x0000ffff9df1c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #81 0x0000ffff9df1c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #82 0x0000ffff9df1c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #83 0x0000ffff9df1c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #84 0x0000ffff9c372058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #85 0x0000ffff9c372058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #86 0x0000ffff9c372058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #87 0x0000ffff9c372058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #88 0x0000ffff9da37450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #89 0x0000ffff9d9ef104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #90 0x0000ffff9d9ef104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #91 0x0000ffff9d9ef104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #92 0x0000ffff9da7551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #93 0x0000aaaacb1259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #94 0x0000aaaacb1294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #95 0x0000aaaacb12aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #96 0x0000aaaacb121fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #97 0x0000ffff94fc098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #98 0x0000ffff94fc0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #99 0x0000aaaacb1220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/vfork.c.script: line 2: 2541814 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,security.insecureAPI.vfork,unix.Vfork -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vfork.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/virtualcall.cpp (1268 of 18966) ******************** TEST 'Clang :: Analysis/virtualcall.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.VirtualCall -analyzer-checker=debug.ExprInspection -std=c++11 -verify=impure /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall.cpp : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.PureVirtualCall -analyzer-checker=debug.ExprInspection -std=c++11 -verify=pure -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall.cpp : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.VirtualCall -analyzer-config optin.cplusplus.VirtualCall:PureOnly=true -analyzer-checker=debug.ExprInspection -std=c++11 -verify=none /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall.cpp : 'RUN: at line 15'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.PureVirtualCall -analyzer-checker=optin.cplusplus.VirtualCall -analyzer-checker=debug.ExprInspection -std=c++11 -verify=pure,impure -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall.cpp : 'RUN: at line 20'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.PureVirtualCall -analyzer-checker=optin.cplusplus.VirtualCall -analyzer-config optin.cplusplus.VirtualCall:PureOnly=true -analyzer-checker=debug.ExprInspection -std=c++11 -verify=pure /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.VirtualCall -analyzer-checker=debug.ExprInspection -std=c++11 -verify=impure /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall.cpp 1. parser at end of file #0 0x0000ffff8f1aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8f1a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8f1ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9812b800 (linux-vdso.so.1+0x800) #4 0x0000ffff974229e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff974229e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff974229e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff974229e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff974229e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff974229e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff974229e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff974229e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff970d0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff970d0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff970d0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff970d0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff970d0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff970d0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff970d0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff970d0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff970e3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff970e3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff970e3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff970e5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff970e5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff970e5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff970e4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff970e4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff970e4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff970f0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff970f0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff970f0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff970fa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff970fa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff970fa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9705eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9705eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9705eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9705eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9705efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9705efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9705efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff97032620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff97032620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff97032620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff9706ef2c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff9706ef2c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff9706ef2c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff9708ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff9708ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff9708ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff97356bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff97356bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff97356bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff97356bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff97356bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff97357b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff97357b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff97357b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff9735c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff9735c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff9735c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff9735c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff9735c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff957b2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff957b2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff957b2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff957b2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff96e77450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff96e2f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff96e2f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff96e2f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff96eb551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaad63359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaad63394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaad633aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaad6331fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff8e40098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff8e400a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaad63320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall.cpp.script: line 5: 2541838 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.VirtualCall -analyzer-checker=debug.ExprInspection -std=c++11 -verify=impure /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/vla-overflow.c (1270 of 18966) ******************** TEST 'Clang :: Analysis/vla-overflow.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vla-overflow.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vla-overflow.c 1. parser at end of file 2. While analyzing stack: #0 Calling check_VLA_overflow_sizeof 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vla-overflow.c:7:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vla-overflow.c:7:7: Error evaluating statement #0 0x0000ffff9a28acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9a289100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9a28b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa3208800 (linux-vdso.so.1+0x800) #4 0x0000ffffa25029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa25029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa25029e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa25029e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa25029e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa25029e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa25029e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa25029e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa21b0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa21b0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa21b0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa21b0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa21b0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa21b0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa21b0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa21b0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa21c3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa21c3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa21c3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa21c5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa21c5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa21c5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa21c4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa21c4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa21c4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa21d0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa21d0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa21d0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa21da414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa21da414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa21da414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa213ea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa213ea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa213ea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa213ea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffa262c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa262c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa262c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa2151ddc llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffa2151ddc std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffa2151ddc clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffa216c07c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffa216c07c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffa216c07c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffa216c07c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffa216c07c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffa216c2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #51 0x0000ffffa216c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #52 0x0000ffffa216c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #53 0x0000ffffa216cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa216cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa216cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa216cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa216cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffa2436bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa2436bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa2436bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa2436bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa2436bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa2437b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffa2437b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa2437b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa243c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa243c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa243c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa243c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa243c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa0892058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffa0892058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa0892058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffa0892058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa1f57450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa1f0f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa1f0f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa1f0f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa1f9551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab77859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab77894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab778aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab7781fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff994e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff994e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab77820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/vla-overflow.c.script: line 1: 2541845 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vla-overflow.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/vla.c (1280 of 18966) ******************** TEST 'Clang :: Analysis/vla.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vla.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vla.c 1. parser at end of file 2. While analyzing stack: #0 Calling b 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vla.c:149:5: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vla.c:149:5: Error evaluating statement #0 0x0000ffffa261acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa2619100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa261b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffab59e800 (linux-vdso.so.1+0x800) #4 0x0000ffffaa8929e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaa8929e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaa8929e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaa8929e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaa8929e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaa8929e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffaa8929e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffaa8929e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffaa540048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffaa540048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffaa540048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffaa540048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffaa540f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffaa540f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffaa540f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffaa540f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffaa553b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffaa553b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffaa553b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffaa555060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffaa555060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffaa555060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffaa554530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffaa554530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffaa554530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffaa560b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffaa560b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffaa560b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffaa56a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffaa56a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffaa56a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffaa4ceaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffaa4ceaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffaa4ceaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffaa4ceaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffaa9bc8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffaa9bc8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffaa9bc8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffaa874f8c std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffffaa874f8c std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffffaa874f8c std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffffaa874f8c std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffffaa874f8c std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffffaa874f8c checkVLAIndexSize /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp:175:0 #48 0x0000ffffaa874f8c (anonymous namespace)::VLASizeChecker::checkVLA(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, clang::VariableArrayType const*, clang::ento::SVal&) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp:83:0 #49 0x0000ffffaa765528 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #50 0x0000ffffaa765528 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #51 0x0000ffffaa765528 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp:297:44 #52 0x0000ffffaa765528 void clang::ento::check::PreStmt::_checkStmt<(anonymous namespace)::VLASizeChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:85:45 #53 0x0000ffffaa4b74f8 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #54 0x0000ffffaa4b74f8 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #55 0x0000ffffaa4ed29c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #56 0x0000ffffaa4ed29c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #57 0x0000ffffaa4ed29c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #58 0x0000ffffaa4ed29c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #59 0x0000ffffaa4ed29c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #60 0x0000ffffaa4ed29c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #61 0x0000ffffaa4ed29c clang::ento::ExprEngine::VisitDeclStmt(clang::DeclStmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:587:0 #62 0x0000ffffaa4fbbec clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #63 0x0000ffffaa4fbbec clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2239:0 #64 0x0000ffffaa4fc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #65 0x0000ffffaa4fc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #66 0x0000ffffaa4fc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #67 0x0000ffffaa4fcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffffaa4fcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffffaa4fcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #70 0x0000ffffaa4fcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #71 0x0000ffffaa4fcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #72 0x0000ffffaa7c6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #73 0x0000ffffaa7c6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #74 0x0000ffffaa7c6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #75 0x0000ffffaa7c6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #76 0x0000ffffaa7c6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #77 0x0000ffffaa7c7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #78 0x0000ffffaa7c7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #79 0x0000ffffaa7c7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #80 0x0000ffffaa7cc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #81 0x0000ffffaa7cc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #82 0x0000ffffaa7cc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #83 0x0000ffffaa7cc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #84 0x0000ffffaa7cc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #85 0x0000ffffa8c22058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #86 0x0000ffffa8c22058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #87 0x0000ffffa8c22058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #88 0x0000ffffa8c22058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #89 0x0000ffffaa2e7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #90 0x0000ffffaa29f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #91 0x0000ffffaa29f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #92 0x0000ffffaa29f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #93 0x0000ffffaa32551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #94 0x0000aaaacb0d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #95 0x0000aaaacb0d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #96 0x0000aaaacb0daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #97 0x0000aaaacb0d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #98 0x0000ffffa187098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #99 0x0000ffffa1870a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #100 0x0000aaaacb0d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/vla.c.script: line 1: 2541849 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vla.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/weak-functions.c (1304 of 18966) ******************** TEST 'Clang :: Analysis/weak-functions.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection,unix.Malloc,unix.cstring,alpha.unix.cstring,unix.API,osx.API,osx.cocoa.RetainCount -Wno-null-dereference -Wno-tautological-compare -fblocks -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/weak-functions.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection,unix.Malloc,unix.cstring,alpha.unix.cstring,unix.API,osx.API,osx.cocoa.RetainCount -Wno-null-dereference -Wno-tautological-compare -fblocks -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/weak-functions.c 1. parser at end of file 2. While analyzing stack: #0 Calling CFGetRuleViolation 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/weak-functions.c:118:22: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/weak-functions.c:118:22: Error evaluating statement #0 0x0000ffff8a1cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8a1c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8a1cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff93146800 (linux-vdso.so.1+0x800) #4 0x0000ffff924429e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff924429e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff924429e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff924429e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff924429e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff924429e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff924429e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff924429e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff920f0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff920f0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff920f0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff920f0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff920f0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff920f0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff920f0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff920f0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff92104cbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff92104cbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff92104cbc clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff92104f90 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff92104f90 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff92104f90 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff92104530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff92104530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff92104530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff92110b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff92110b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff92110b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9211a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9211a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9211a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9207eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9207eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9207eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9207eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9256c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9256c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9256c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff92153908 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff92153908 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff92153908 checkFunctionPointerCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:390:79 #45 0x0000ffff92153908 checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:546:37 #46 0x0000ffff92153908 void clang::ento::check::PreCall::_checkCall<(anonymous namespace)::CallAndMessageChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:168:45 #47 0x0000ffff920689a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #48 0x0000ffff920689a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #49 0x0000ffff920689a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #50 0x0000ffff920689a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #51 0x0000ffff920689a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #52 0x0000ffff920c8b70 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #53 0x0000ffff920c8b70 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #54 0x0000ffff920c8b70 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #55 0x0000ffff920c8b70 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #56 0x0000ffff920c8b70 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #57 0x0000ffff920c8b70 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #58 0x0000ffff920c8b70 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:683:44 #59 0x0000ffff920c9514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #60 0x0000ffff920ab270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #61 0x0000ffff920ab270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #62 0x0000ffff920ac2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #63 0x0000ffff920ac5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #64 0x0000ffff920ac7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #65 0x0000ffff920acb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x0000ffff920acb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x0000ffff920acb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #68 0x0000ffff920acb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #69 0x0000ffff920acb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #70 0x0000ffff92376bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #71 0x0000ffff92376bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #72 0x0000ffff92376bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #73 0x0000ffff92376bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #74 0x0000ffff92376bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #75 0x0000ffff92377b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #76 0x0000ffff92377b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x0000ffff92377b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #78 0x0000ffff9237c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x0000ffff9237c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x0000ffff9237c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x0000ffff9237c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x0000ffff9237c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x0000ffff907d2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #84 0x0000ffff907d2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x0000ffff907d2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #86 0x0000ffff907d2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x0000ffff91e97450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #88 0x0000ffff91e4f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #89 0x0000ffff91e4f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #90 0x0000ffff91e4f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #91 0x0000ffff91ed551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #92 0x0000aaaac12559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x0000aaaac12594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x0000aaaac125aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x0000aaaac1251fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x0000ffff8942098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #97 0x0000ffff89420a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #98 0x0000aaaac12520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/weak-functions.c.script: line 1: 2541865 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection,unix.Malloc,unix.cstring,alpha.unix.cstring,unix.API,osx.API,osx.cocoa.RetainCount -Wno-null-dereference -Wno-tautological-compare -fblocks -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/weak-functions.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/zero-size-non-pod-array.cpp (1308 of 18966) ******************** TEST 'Clang :: Analysis/zero-size-non-pod-array.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/zero-size-non-pod-array.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/zero-size-non-pod-array.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/zero-size-non-pod-array.cpp 1. parser at end of file #0 0x0000ffff9e1eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9e1e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9e1eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa7160800 (linux-vdso.so.1+0x800) #4 0x0000ffffa60bc024 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa60bc024 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa60bc024 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa60bc024 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa60bc024 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa60bc024 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa60bc024 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa60bc024 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2911:0 #12 0x0000ffffa60bc948 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #13 0x0000ffffa60cc974 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #14 0x0000ffffa60ccb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffa60ccb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffa60ccb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffa60ccb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffa60ccb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffffa6396bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffa6396bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffa6396bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffa6396bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffa6396bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffa6397b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffffa6397b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffa6397b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffa639c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffa639c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffa639c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffa639c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffa639c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffffa47f2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffffa47f2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffffa47f2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffffa47f2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffa5eb7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffa5e6f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffa5e6f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffa5e6f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffa5ef551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaaaff659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaaaff694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaaaff6aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaaaff61fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff9d44098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff9d440a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaaaff620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/zero-size-non-pod-array.cpp.script: line 2: 2541907 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/zero-size-non-pod-array.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/zero-operands.c (1316 of 18966) ******************** TEST 'Clang :: Analysis/zero-operands.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/zero-operands.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/zero-operands.c 1. parser at end of file 2. While analyzing stack: #0 Calling test_0_divisible 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/zero-operands.c:44:3: Error evaluating statement #0 0x0000ffff7d8aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7d8a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7d8ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff86824800 (linux-vdso.so.1+0x800) #4 0x0000ffff857cc134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff857cc134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff857cc134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff857cc134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff857cc134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff857cc134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff8577748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff8577748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff8577748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff8578c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff8578c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff8578c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff8578c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff8578c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff8578c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff8578c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff8578c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff8578c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff8578c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #23 0x0000ffff8578c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #24 0x0000ffff8578cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff8578cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff8578cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff8578cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff8578cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #29 0x0000ffff85a56bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff85a56bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff85a56bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff85a56bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff85a56bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff85a57b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #35 0x0000ffff85a57b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff85a57b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff85a5c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff85a5c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff85a5c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff85a5c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff85a5c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff83eb2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #43 0x0000ffff83eb2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff83eb2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #45 0x0000ffff83eb2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff85577450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff8552f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff8552f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff8552f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff855b551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaab31c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaab31c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaab31caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaab31c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff7cb0098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff7cb00a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaab31c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/zero-operands.c.script: line 1: 2541904 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/zero-operands.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/wstring.c (1317 of 18966) ******************** TEST 'Clang :: Analysis/wstring.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/wstring.c -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=alpha.unix.cstring -analyzer-disable-checker=alpha.unix.cstring.UninitializedRead -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/wstring.c -DUSE_BUILTINS -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=alpha.unix.cstring -analyzer-disable-checker=alpha.unix.cstring.UninitializedRead -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/wstring.c -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=alpha.unix.cstring -analyzer-disable-checker=alpha.unix.cstring.UninitializedRead -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false 1. parser at end of file 2. While analyzing stack: #0 Calling wmemcpy_wcslen 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/wstring.c:635:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/wstring.c:635:3: Error evaluating statement #0 0x0000ffff8b2dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8b2d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8b2db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff94258800 (linux-vdso.so.1+0x800) #4 0x0000ffff9353ae6c llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9353ae6c llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9353ae6c llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9353ae6c llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9353ae6c llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9353ae6c clang::ento::ProgramStatePartialTrait>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9353ae6c get<(anonymous namespace)::CStringLength> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9353ae6c (anonymous namespace)::CStringChecker::checkRegionChanges(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2560:0 #12 0x0000ffff9324ff88 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffff9324ff88 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffff9324ff88 llvm::IntrusiveRefCntPtr clang::ento::check::RegionChanges::_checkRegionChanges<(anonymous namespace)::CStringChecker>(void*, llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:344:70 #15 0x0000ffff9315b4a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff9315b4a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff9315b4a4 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*)>::operator()(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff9315b4a4 clang::ento::CheckerManager::runCheckersForRegionChanges(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:608:0 #19 0x0000ffff931ebfbc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x0000ffff931ebfbc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x0000ffff931ebfbc clang::ento::ExprEngine::processRegionChanges(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:681:0 #22 0x0000ffff931ebfbc clang::ento::ExprEngine::processRegionChange(llvm::IntrusiveRefCntPtr, clang::ento::MemRegion const*, clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:410:0 #23 0x0000ffff931ebfbc clang::ento::ProgramState::bindLoc(clang::ento::Loc, clang::ento::SVal, clang::LocationContext const*, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:123:0 #24 0x0000ffff931a6260 llvm::IntrusiveRefCntPtr::get() const /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:200:27 #25 0x0000ffff931a6260 bool llvm::operator==(llvm::IntrusiveRefCntPtr const&, llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:233:26 #26 0x0000ffff931a6260 clang::ento::ExprEngine::processPointerEscapedOnBind(llvm::IntrusiveRefCntPtr, llvm::ArrayRef>, clang::LocationContext const*, clang::ento::PointerEscapeKind, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3496:17 #27 0x0000ffff931a66b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x0000ffff931a66b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x0000ffff931a66b4 clang::ento::ExprEngine::processPointerEscapedOnBind(llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ento::SVal, clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3512:45 #30 0x0000ffff931a6930 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #31 0x0000ffff931a6930 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #32 0x0000ffff931a6930 clang::ento::ExprEngine::evalBind(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::SVal, clang::ento::SVal, bool, clang::ProgramPoint const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3590:65 #33 0x0000ffff931ad4a4 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #34 0x0000ffff931ad4a4 clang::ento::ExprEngine::VisitDeclStmt(clang::DeclStmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:627:0 #35 0x0000ffff931bbbec clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #36 0x0000ffff931bbbec clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2239:0 #37 0x0000ffff931bc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #38 0x0000ffff931bc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #39 0x0000ffff931bc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #40 0x0000ffff931bcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #41 0x0000ffff931bcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #42 0x0000ffff931bcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #43 0x0000ffff931bcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #44 0x0000ffff931bcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #45 0x0000ffff93486bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #46 0x0000ffff93486bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x0000ffff93486bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #48 0x0000ffff93486bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #49 0x0000ffff93486bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #50 0x0000ffff93487b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #51 0x0000ffff93487b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #52 0x0000ffff93487b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #53 0x0000ffff9348c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9348c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9348c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #56 0x0000ffff9348c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #57 0x0000ffff9348c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #58 0x0000ffff918e2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #59 0x0000ffff918e2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #60 0x0000ffff918e2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #61 0x0000ffff918e2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #62 0x0000ffff92fa7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #63 0x0000ffff92f5f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #64 0x0000ffff92f5f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #65 0x0000ffff92f5f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #66 0x0000ffff92fe551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #67 0x0000aaaab0e759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #68 0x0000aaaab0e794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #69 0x0000aaaab0e7aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #70 0x0000aaaab0e71fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #71 0x0000ffff8a53098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #72 0x0000ffff8a530a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #73 0x0000aaaab0e720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/wstring.c.script: line 2: 2541888 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/wstring.c -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=alpha.unix.cstring -analyzer-disable-checker=alpha.unix.cstring.UninitializedRead -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -- ******************** Testing: 0. FAIL: Clang :: Analysis/z3/apsint.c (1318 of 18966) ******************** TEST 'Clang :: Analysis/z3/apsint.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux-gnu -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/z3/apsint.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux-gnu -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/z3/apsint.c 1. parser at end of file 2. While analyzing stack: #0 Calling c 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/z3/apsint.c:14:9: Error evaluating branch #0 0x0000ffff82c4acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff82c49100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff82c4b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8bbc4800 (linux-vdso.so.1+0x800) #4 0x0000ffff8aec29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8aec29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8aec29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8aec29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8aec29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8aec29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8aec29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8aec29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8ab70048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8ab70048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8ab70048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8ab70048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8ab70d10 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8ab70d10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8ab70d10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8ab70d10 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffff8ab83b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8ab83b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8ab83b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8ab85060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8ab85060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8ab85060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8ab84530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8ab84530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8ab84530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8ab90b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8ab90b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8ab90b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8ab9a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8ab9a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8ab9a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8aafea98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8aafea98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8aafea98 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8aafea98 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8afec8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8afec8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8afec8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8ab14c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff8ab14c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff8ab14c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff8ab14c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff8ab14c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff8ab14c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff8ab14c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff8ab14c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff8ab14c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff8ab14c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff8ab15200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff8ab2cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8ab2cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8ab2cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8ab2cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8ab2cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff8adf6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8adf6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8adf6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8adf6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8adf6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff8adf7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff8adf7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff8adf7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8adfc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8adfc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8adfc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8adfc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8adfc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff89252058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff89252058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff89252058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff89252058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff8a917450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8a8cf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8a8cf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8a8cf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8a95551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaabf4559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaabf4594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaabf45aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaabf451fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff81ea098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff81ea0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaabf4520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/z3/Output/apsint.c.script: line 1: 2541899 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux-gnu -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/z3/apsint.c -- ******************** Testing: 0.. 10 FAIL: Clang :: CodeGen/LoongArch/intrinsic-la32.c (2648 of 18966) ******************** TEST 'Clang :: CodeGen/LoongArch/intrinsic-la32.c' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -triple loongarch32 -target-feature +f -O2 -emit-llvm /builddir/build/BUILD/clang-17.0.6.src/test/CodeGen/LoongArch/intrinsic-la32.c -o - | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/CodeGen/LoongArch/intrinsic-la32.c -check-prefix=LA32 -- Exit Code: 2 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/CodeGen/LoongArch/intrinsic-la32.c:14:3: error: cannot compile this builtin function yet 14 | __dbar(0); | ^~~~~~~~~ /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include/larchintrin.h:119:29: note: expanded from macro '__dbar' 119 | #define __dbar(/*ui15*/ _1) __builtin_loongarch_dbar((_1)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clang-17.0.6.src/test/CodeGen/LoongArch/intrinsic-la32.c:15:3: error: cannot compile this builtin function yet 15 | __builtin_loongarch_dbar(0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 errors generated. FileCheck error: '' is empty. FileCheck command line: /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/CodeGen/LoongArch/intrinsic-la32.c -check-prefix=LA32 -- ******************** Testing: 0.. 10 FAIL: Clang :: CodeGen/LoongArch/intrinsic-la64.c (2651 of 18966) ******************** TEST 'Clang :: CodeGen/LoongArch/intrinsic-la64.c' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -triple loongarch64 -target-feature +f -O2 -emit-llvm /builddir/build/BUILD/clang-17.0.6.src/test/CodeGen/LoongArch/intrinsic-la64.c -o - | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/CodeGen/LoongArch/intrinsic-la64.c -- Exit Code: 2 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/CodeGen/LoongArch/intrinsic-la64.c:13:3: error: cannot compile this builtin function yet 13 | __dbar(0); | ^~~~~~~~~ /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include/larchintrin.h:119:29: note: expanded from macro '__dbar' 119 | #define __dbar(/*ui15*/ _1) __builtin_loongarch_dbar((_1)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clang-17.0.6.src/test/CodeGen/LoongArch/intrinsic-la64.c:14:3: error: cannot compile this builtin function yet 14 | __builtin_loongarch_dbar(0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 errors generated. FileCheck error: '' is empty. FileCheck command line: /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/CodeGen/LoongArch/intrinsic-la64.c -- ******************** Testing: 0.. 10 FAIL: Clang :: CodeGen/LoongArch/lasx/builtin.c (2655 of 18966) ******************** TEST 'Clang :: CodeGen/LoongArch/lasx/builtin.c' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -triple loongarch64 -target-feature +lasx -O2 -emit-llvm /builddir/build/BUILD/clang-17.0.6.src/test/CodeGen/LoongArch/lasx/builtin.c -o - | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/CodeGen/LoongArch/lasx/builtin.c -- Exit Code: 2 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/CodeGen/LoongArch/lasx/builtin.c:36:44: error: cannot compile this builtin function yet 36 | v32i8 xvsll_b(v32i8 _1, v32i8 _2) { return __builtin_lasx_xvsll_b(_1, _2); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. FileCheck error: '' is empty. FileCheck command line: /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/CodeGen/LoongArch/lasx/builtin.c -- ******************** Testing: 0.. 10 FAIL: Clang :: CodeGen/LoongArch/lasx/builtin-alias.c (2658 of 18966) ******************** TEST 'Clang :: CodeGen/LoongArch/lasx/builtin-alias.c' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -triple loongarch64 -target-feature +lasx -O2 -emit-llvm /builddir/build/BUILD/clang-17.0.6.src/test/CodeGen/LoongArch/lasx/builtin-alias.c -o - | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/CodeGen/LoongArch/lasx/builtin-alias.c -- Exit Code: 2 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/CodeGen/LoongArch/lasx/builtin-alias.c:49:35: error: cannot compile this builtin function yet 49 | v32i8 xvslli_b(v32i8 _1) { return __lasx_xvslli_b(_1, 1); } | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include/lasxintrin.h:68:13: note: expanded from macro '__lasx_xvslli_b' 68 | ((__m256i)__builtin_lasx_xvslli_b((v32i8)(_1), (_2))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. FileCheck error: '' is empty. FileCheck command line: /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/CodeGen/LoongArch/lasx/builtin-alias.c -- ******************** Testing: 0.. 10 FAIL: Clang :: CodeGen/LoongArch/lsx/builtin.c (2663 of 18966) ******************** TEST 'Clang :: CodeGen/LoongArch/lsx/builtin.c' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -triple loongarch64 -target-feature +lsx -O2 -emit-llvm /builddir/build/BUILD/clang-17.0.6.src/test/CodeGen/LoongArch/lsx/builtin.c -o - | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/CodeGen/LoongArch/lsx/builtin.c -- Exit Code: 2 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/CodeGen/LoongArch/lsx/builtin.c:38:43: error: cannot compile this builtin function yet 38 | v16i8 vsll_b(v16i8 _1, v16i8 _2) { return __builtin_lsx_vsll_b(_1, _2); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. FileCheck error: '' is empty. FileCheck command line: /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/CodeGen/LoongArch/lsx/builtin.c -- ******************** Testing: 0.. 10 FAIL: Clang :: CodeGen/LoongArch/lsx/builtin-alias.c (2665 of 18966) ******************** TEST 'Clang :: CodeGen/LoongArch/lsx/builtin-alias.c' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -triple loongarch64 -target-feature +lsx -O2 -emit-llvm /builddir/build/BUILD/clang-17.0.6.src/test/CodeGen/LoongArch/lsx/builtin-alias.c -o - | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/CodeGen/LoongArch/lsx/builtin-alias.c -- Exit Code: 2 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/CodeGen/LoongArch/lsx/builtin-alias.c:49:34: error: cannot compile this builtin function yet 49 | v16i8 vslli_b(v16i8 _1) { return __lsx_vslli_b(_1, 1); } | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include/lsxintrin.h:64:13: note: expanded from macro '__lsx_vslli_b' 64 | ((__m128i)__builtin_lsx_vslli_b((v16i8)(_1), (_2))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. FileCheck error: '' is empty. FileCheck command line: /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/CodeGen/LoongArch/lsx/builtin-alias.c -- ******************** Testing: 0.. 10.. 20.. 30.. 40. FAIL: Clang :: Coverage/html-diagnostics.c (8990 of 18966) ******************** TEST 'Clang :: Coverage/html-diagnostics.c' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Coverage/Output/html-diagnostics.c.tmp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-output=html -analyzer-checker=core -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Coverage/Output/html-diagnostics.c.tmp /builddir/build/BUILD/clang-17.0.6.src/test/Coverage/html-diagnostics.c : 'RUN: at line 3'; find /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Coverage/Output/html-diagnostics.c.tmp -name "*.html" -exec cat "{}" ";" | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Coverage/html-diagnostics.c : 'RUN: at line 5'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Coverage/Output/html-diagnostics.c.tmp : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-output=html-single-file -analyzer-checker=core -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Coverage/Output/html-diagnostics.c.tmp /builddir/build/BUILD/clang-17.0.6.src/test/Coverage/html-diagnostics.c : 'RUN: at line 7'; find /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Coverage/Output/html-diagnostics.c.tmp -name "*.html" -exec cat "{}" ";" | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Coverage/html-diagnostics.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-output=html -analyzer-checker=core -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Coverage/Output/html-diagnostics.c.tmp /builddir/build/BUILD/clang-17.0.6.src/test/Coverage/html-diagnostics.c 1. parser at end of file 2. While analyzing stack: #0 Calling f0 3. /builddir/build/BUILD/clang-17.0.6.src/test/Coverage/html-diagnostics.c:28:8: Error evaluating statement #0 0x0000ffff796aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff796a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff796ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff82622800 (linux-vdso.so.1+0x800) #4 0x0000ffff815cc134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff815cc134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff815cc134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff815cc134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff815cc134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff815cc134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff8157748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff8157748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff8157748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff8158c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff8158c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff8158c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff8158c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff8158c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff8158c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff8158c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff8158c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff8158c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff8158c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #23 0x0000ffff8158c6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff8158c9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff8158cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff8158cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff8158cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff8158cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff8158cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #30 0x0000ffff81856bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff81856bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff81856bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff81856bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff81856bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff81857b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #36 0x0000ffff81857b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff81857b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff8185c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff8185c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff8185c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff8185c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff8185c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff7fcb2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #44 0x0000ffff7fcb2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff7fcb2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #46 0x0000ffff7fcb2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff81377450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff8132f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff8132f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff8132f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff813b551c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaac9da59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaac9da94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaac9daaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaac9da1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff7890098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff78900a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaac9da20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Coverage/Output/html-diagnostics.c.script: line 6: 2582441 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-output=html -analyzer-checker=core -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Coverage/Output/html-diagnostics.c.tmp /builddir/build/BUILD/clang-17.0.6.src/test/Coverage/html-diagnostics.c -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90 FAIL: Clang :: Tooling/clang-check-analyze-save-temps.cpp (17696 of 18966) ******************** TEST 'Clang :: Tooling/clang-check-analyze-save-temps.cpp' FAILED ******************** Script: -- : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-check -analyze /builddir/build/BUILD/clang-17.0.6.src/test/Tooling/clang-check-analyze-save-temps.cpp -- -save-temps -c -Xclang -verify : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-check -analyze /builddir/build/BUILD/clang-17.0.6.src/test/Tooling/clang-check-analyze-save-temps.cpp -- -fsyntax-only -c -fsyntax-only -Xclang -verify 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Tooling/clang-check-analyze-save-temps.cpp --allow-empty -- Exit Code: 139 Command Output (stderr): -- #0 0x0000ffff9bc8acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9bc890c8 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b90c8) #2 0x0000ffff9bc8b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa4c03800 (linux-vdso.so.1+0x800) #4 0x0000ffffa3f029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa3f029e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa3f029e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa3f029e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa3f029e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa3f029e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa3f029e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa3f029e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa3bb0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa3bb0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa3bb0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa3bb0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa3bb0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa3bb0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa3bb0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa3bb0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa3bc3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa3bc3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa3bc3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa3bc5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa3bc5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa3bc5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa3bc4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa3bc4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa3bc4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa3bd0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa3bd0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa3bd0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa3bda414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa3bda414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa3bda414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa3b3eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa3b3eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa3b3eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa3b3eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa402c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa402c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa402c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa3b54c98 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffa3b54c98 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffa3b54c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffa3b54c98 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffa3b54c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffa3b54c98 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffa3b54c98 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffa3b54c98 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffa3b54c98 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffa3b54c98 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffa3b55200 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffa3b6cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa3b6cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa3b6cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa3b6cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa3b6cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffa3e36bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa3e36bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa3e36bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa3e36bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa3e36bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa3e37b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffa3e37b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa3e37b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa3e3c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa3e3c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa3e3c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa3e3c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa3e3c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa2292058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffa2292058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa2292058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffa2292058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa3957450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa390f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa390f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa390f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa3abd574 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #80 0x0000ffffa3abd574 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #81 0x0000ffffa3abd574 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #82 0x0000ffffa3abd574 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #83 0x0000ffffa3abbd18 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #84 0x0000ffffa3abc8c8 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #85 0x0000ffffa3abe91c clang::tooling::ClangTool::run(clang::tooling::ToolAction*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:612:7 #86 0x0000aaaae07f1148 main /builddir/build/BUILD/clang-17.0.6.src/tools/clang-check/ClangCheck.cpp:259:18 #87 0x0000ffff9aee098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #88 0x0000ffff9aee0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #89 0x0000aaaae07f1970 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-check+0x11970) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Tooling/Output/clang-check-analyze-save-temps.cpp.script: line 2: 2665081 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-check -analyze /builddir/build/BUILD/clang-17.0.6.src/test/Tooling/clang-check-analyze-save-temps.cpp -- -save-temps -c -Xclang -verify -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90 FAIL: Clang :: Tooling/clang-check-analyzer.cpp (17699 of 18966) ******************** TEST 'Clang :: Tooling/clang-check-analyzer.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-check -analyze "/builddir/build/BUILD/clang-17.0.6.src/test/Tooling/clang-check-analyzer.cpp" -- -c 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Tooling/clang-check-analyzer.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-check -analyze "/builddir/build/BUILD/clang-17.0.6.src/test/Tooling/clang-check-analyzer.cpp" -- -c -flto -Wa,--noexecstack 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Tooling/clang-check-analyzer.cpp : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-check -analyze "/builddir/build/BUILD/clang-17.0.6.src/test/Tooling/clang-check-analyzer.cpp" -- -c -no-integrated-as -flto=thin 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Tooling/clang-check-analyzer.cpp : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-check -analyze "/builddir/build/BUILD/clang-17.0.6.src/test/Tooling/clang-check-analyzer.cpp" -- -c -flto=full 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Tooling/clang-check-analyzer.cpp -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Tooling/clang-check-analyzer.cpp:6:11: error: CHECK: expected string not found in input // CHECK: Dereference of null pointer ^ :1:1: note: scanning from here #0 0x0000ffffad49acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) ^ :12:206: note: possible intended match here #11 0x0000ffffb57129e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Tooling/clang-check-analyzer.cpp -dump-input=help explains the following input dump. Input was: <<<<<< 1: #0 0x0000ffffad49acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) check:6'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: #1 0x0000ffffad4990c8 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b90c8) check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3: #2 0x0000ffffad49b388 (/usr/lib64/libLLVM-17.so+0x9bb388) check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4: #3 0x0000ffffb641b800 (linux-vdso.so.1+0x800) check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: #4 0x0000ffffb57129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #5 0x0000ffffb57129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: #6 0x0000ffffb57129e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: #7 0x0000ffffb57129e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9: #8 0x0000ffffb57129e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10: #9 0x0000ffffb57129e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11: #10 0x0000ffffb57129e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 12: #11 0x0000ffffb57129e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:6'1 ? possible intended match 13: #12 0x0000ffffb53c0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14: #13 0x0000ffffb53c0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15: #14 0x0000ffffb53c0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 16: #15 0x0000ffffb53c0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 17: #16 0x0000ffffb53c0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang Tools :: clang-tidy/infrastructure/static-analyzer-config.cpp (18499 of 18966) ******************** TEST 'Clang Tools :: clang-tidy/infrastructure/static-analyzer-config.cpp' FAILED ******************** Script: -- : 'RUN: at line 2'; clang-tidy /builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/clang-tidy/infrastructure/static-analyzer-config.cpp -checks='-*,clang-analyzer-unix.Malloc' -config='{CheckOptions: [{ key: "clang-analyzer-unix.DynamicMemoryModeling:Optimistic", value: true}]}' -- | FileCheck /builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/clang-tidy/infrastructure/static-analyzer-config.cpp -- Exit Code: 2 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. Stack dump: 0. Program arguments: clang-tidy /builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/clang-tidy/infrastructure/static-analyzer-config.cpp -checks=-*,clang-analyzer-unix.Malloc "-config={CheckOptions: [{ key: \"clang-analyzer-unix.DynamicMemoryModeling:Optimistic\", value: true}]}" -- 1. parser at end of file 2. While analyzing stack: #0 Calling af2() 3. /builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/clang-tidy/infrastructure/static-analyzer-config.cpp:16:3: Error evaluating statement #0 0x0000ffffb499acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb4999100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb499b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbd91f800 (linux-vdso.so.1+0x800) #4 0x0000ffffbca19c50 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffbca19c50 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffbca19c50 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffbca19c50 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffbca19c50 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffbca19c50 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffbca19c50 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffbca19c50 (anonymous namespace)::MallocChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:2796:0 #12 0x0000ffffbc84cbd4 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffffbc8673b8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffffbc8673b8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffffbc8673b8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffffbc8673b8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffffbc8673b8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffffbc8673b8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffffbc8673b8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffffbc87c264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffffbc87c264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffffbc87c264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffffbc87c264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffffbc87c264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffffbc87c264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffffbc87c264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffffbc87c264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffffbc87c264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #29 0x0000ffffbc87c5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #30 0x0000ffffbc87c7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #31 0x0000ffffbc87cb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffffbc87cb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffffbc87cb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffffbc87cb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffffbc87cb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffffbcb46bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffbcb46bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffbcb46bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffffbcb46bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffffbcb46bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffffbcb47b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffffbcb47b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffffbcb47b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffffbcb4c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffffbcb4c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffffbcb4c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffffbcb4c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffffbcb4c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffffbc65c8ac clang::MultiplexConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/MultiplexConsumer.cpp:297:25 #50 0x0000ffffbafa2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #51 0x0000ffffbafa2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #52 0x0000ffffbafa2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #53 0x0000ffffbafa2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #54 0x0000ffffbc667450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #55 0x0000ffffbc61f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #56 0x0000ffffbc61f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #57 0x0000ffffbc61f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #58 0x0000ffffbc7cd574 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #59 0x0000ffffbc7cd574 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #60 0x0000ffffbc7cd574 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #61 0x0000ffffbc7cd574 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #62 0x0000aaaaafca6dbc std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:6 #63 0x0000aaaaafca6dbc std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:7 #64 0x0000aaaaafca6dbc std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:11 #65 0x0000aaaaafca6dbc clang::tidy::runClangTidy(clang::tidy::ClangTidyContext&, clang::tooling::CompilationDatabase const&, llvm::ArrayRef, std::allocator>>, llvm::IntrusiveRefCntPtr, bool, bool, llvm::StringRef)::ActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidy.cpp:564:50 #66 0x0000ffffbc7cbd18 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #67 0x0000ffffbc7cc8c8 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #68 0x0000ffffbc7ce91c clang::tooling::ClangTool::run(clang::tooling::ToolAction*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:612:7 #69 0x0000aaaaafcc1bfc ~ActionFactory /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidy.cpp:549:9 #70 0x0000aaaaafcc1bfc clang::tidy::runClangTidy(clang::tidy::ClangTidyContext&, clang::tooling::CompilationDatabase const&, llvm::ArrayRef, std::allocator>>, llvm::IntrusiveRefCntPtr, bool, bool, llvm::StringRef) /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidy.cpp:587:1 #71 0x0000aaaaaf3b04fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #72 0x0000aaaaaf3b04fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #73 0x0000aaaaaf3b04fc clang::tidy::clangTidyMain(int, char const**) /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/tool/ClangTidyMain.cpp:665:63 #74 0x0000ffffb3b4098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #75 0x0000ffffb3b40a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #76 0x0000aaaaaf39ef30 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tidy+0x55ef30) FileCheck error: '' is empty. FileCheck command line: FileCheck /builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/clang-tidy/infrastructure/static-analyzer-config.cpp -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang Tools :: clang-tidy/infrastructure/temporaries.cpp (18500 of 18966) ******************** TEST 'Clang Tools :: clang-tidy/infrastructure/temporaries.cpp' FAILED ******************** Script: -- : 'RUN: at line 2'; clang-tidy -checks='-*,clang-analyzer-core.NullDereference' /builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/clang-tidy/infrastructure/temporaries.cpp -- | FileCheck /builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/clang-tidy/infrastructure/temporaries.cpp -- Exit Code: 2 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. Stack dump: 0. Program arguments: clang-tidy -checks=-*,clang-analyzer-core.NullDereference /builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/clang-tidy/infrastructure/temporaries.cpp -- 1. parser at end of file 2. While analyzing stack: #0 Calling testNullPointerDereference() 3. /builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/clang-tidy/infrastructure/temporaries.cpp:20:13: Error evaluating statement 4. /builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/clang-tidy/infrastructure/temporaries.cpp:20:13: Error evaluating statement #0 0x0000ffffb101acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb1019100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb101b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb9f97800 (linux-vdso.so.1+0x800) #4 0x0000ffffb8eeda74 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffb8eeda74 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb8eeda74 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb8eeda74 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb8eeda74 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb8eeda74 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb8eeda74 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb8eeda74 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffffb8eede64 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #13 0x0000ffffb8eede64 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffffb8eede64 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffffb8eede64 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffffb8eede64 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffffb8eee37c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #18 0x0000ffffb8eee37c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #19 0x0000ffffb8eee37c clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:486:0 #20 0x0000ffffb8ef5dd0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #21 0x0000ffffb8ef5dd0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #22 0x0000ffffb8ef5dd0 clang::ento::ExprEngine::handleConstructionContext(clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::ento::NodeBuilderContext const*, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions&, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:753:0 #23 0x0000ffffb8ef5dd0 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:665:0 #24 0x0000ffffb8efb22c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #25 0x0000ffffb8efb22c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #26 0x0000ffffb8efc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #27 0x0000ffffb8efc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #28 0x0000ffffb8efc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #29 0x0000ffffb8efcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #30 0x0000ffffb8efcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #31 0x0000ffffb8efcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #32 0x0000ffffb8efcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #33 0x0000ffffb8efcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #34 0x0000ffffb91c6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x0000ffffb91c6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x0000ffffb91c6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #37 0x0000ffffb91c6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #38 0x0000ffffb91c6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #39 0x0000ffffb91c7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #40 0x0000ffffb91c7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x0000ffffb91c7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #42 0x0000ffffb91cc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x0000ffffb91cc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x0000ffffb91cc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x0000ffffb91cc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x0000ffffb91cc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x0000ffffb8cdc8ac clang::MultiplexConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/MultiplexConsumer.cpp:297:25 #48 0x0000ffffb7622058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #49 0x0000ffffb7622058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #50 0x0000ffffb7622058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #51 0x0000ffffb7622058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #52 0x0000ffffb8ce7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #53 0x0000ffffb8c9f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #54 0x0000ffffb8c9f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #55 0x0000ffffb8c9f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #56 0x0000ffffb8e4d574 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #57 0x0000ffffb8e4d574 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #58 0x0000ffffb8e4d574 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #59 0x0000ffffb8e4d574 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #60 0x0000aaaaadb56dbc std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:6 #61 0x0000aaaaadb56dbc std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:7 #62 0x0000aaaaadb56dbc std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:11 #63 0x0000aaaaadb56dbc clang::tidy::runClangTidy(clang::tidy::ClangTidyContext&, clang::tooling::CompilationDatabase const&, llvm::ArrayRef, std::allocator>>, llvm::IntrusiveRefCntPtr, bool, bool, llvm::StringRef)::ActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidy.cpp:564:50 #64 0x0000ffffb8e4bd18 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #65 0x0000ffffb8e4c8c8 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #66 0x0000ffffb8e4e91c clang::tooling::ClangTool::run(clang::tooling::ToolAction*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:612:7 #67 0x0000aaaaadb71bfc ~ActionFactory /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidy.cpp:549:9 #68 0x0000aaaaadb71bfc clang::tidy::runClangTidy(clang::tidy::ClangTidyContext&, clang::tooling::CompilationDatabase const&, llvm::ArrayRef, std::allocator>>, llvm::IntrusiveRefCntPtr, bool, bool, llvm::StringRef) /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidy.cpp:587:1 #69 0x0000aaaaad2604fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #70 0x0000aaaaad2604fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #71 0x0000aaaaad2604fc clang::tidy::clangTidyMain(int, char const**) /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/tool/ClangTidyMain.cpp:665:63 #72 0x0000ffffb01c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #73 0x0000ffffb01c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #74 0x0000aaaaad24ef30 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tidy+0x55ef30) FileCheck error: '' is empty. FileCheck command line: FileCheck /builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/clang-tidy/infrastructure/temporaries.cpp -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang Tools :: clang-tidy/infrastructure/static-analyzer.cpp (18501 of 18966) ******************** TEST 'Clang Tools :: clang-tidy/infrastructure/static-analyzer.cpp' FAILED ******************** Script: -- : 'RUN: at line 2'; clang-tidy /builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/clang-tidy/infrastructure/static-analyzer.cpp -checks='-*,clang-analyzer-*' -- | FileCheck /builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/clang-tidy/infrastructure/static-analyzer.cpp -- Exit Code: 2 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. Stack dump: 0. Program arguments: clang-tidy /builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/clang-tidy/infrastructure/static-analyzer.cpp -checks=-*,clang-analyzer-* -- 1. parser at end of file 2. While analyzing stack: #0 Calling g() 3. /builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/clang-tidy/infrastructure/static-analyzer.cpp:14:13: Error evaluating statement 4. /builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/clang-tidy/infrastructure/static-analyzer.cpp:14:13: Error evaluating statement #0 0x0000ffff8cffacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8cff9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8cffb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff95f7c800 (linux-vdso.so.1+0x800) #4 0x0000ffff95259250 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff95259250 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff95259250 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff95259250 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff95259250 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff95259250 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff95259250 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff95259250 (anonymous namespace)::MallocChecker::evalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:3069:0 #12 0x0000ffff95067760 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffff95067760 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffff95067760 llvm::IntrusiveRefCntPtr clang::ento::eval::Assume::_evalAssume<(anonymous namespace)::MallocChecker>(void*, llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:463:74 #15 0x0000ffff94e7b758 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff94e7b758 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff94e7b758 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff94e7b758 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffff94f40be4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff94f40be4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff94f40be4 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffff94f40be4 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffff94f4a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffff94f4a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff94f4a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #26 0x0000ffff94eaebd8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff94eaebd8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff94eaebd8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffff94eaebd8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffff9539c8f4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff9539c8f4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff9539c8f4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #33 0x0000ffff95073840 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffff95073840 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffff95073840 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffff95073840 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffff95073840 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffff95073840 (anonymous namespace)::MallocChecker::ProcessZeroAllocCheck(clang::ento::CallEvent const&, unsigned int, llvm::IntrusiveRefCntPtr, std::optional) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1529:0 #39 0x0000ffff95073c90 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffff95073c90 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffff95073c90 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #42 0x0000ffff95080180 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffff95080180 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffff94e989a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff94e989a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff94e989a4 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffff94e989a4 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffff94e989a4 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffff94ef8c88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffff94ef8c88 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffff94ef8c88 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffff94ef8c88 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffff94ef8c88 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffff94ef8c88 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffff94ef9514 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffff94edb270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffff94edb270 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffff94edc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffff94edc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffff94edc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffff94edcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffff94edcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffff94edcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffff94edcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffff94edcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #66 0x0000ffff951a6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffff951a6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffff951a6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffff951a6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffff951a6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffff951a7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #72 0x0000ffff951a7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffff951a7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffff951ac130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffff951ac130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffff951ac130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffff951ac130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffff951ac130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffff94cbc8ac clang::MultiplexConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/MultiplexConsumer.cpp:297:25 #80 0x0000ffff93602058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #81 0x0000ffff93602058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffff93602058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #83 0x0000ffff93602058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffff94cc7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffff94c7f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffff94c7f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffff94c7f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffff94e2d574 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #89 0x0000ffff94e2d574 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #90 0x0000ffff94e2d574 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #91 0x0000ffff94e2d574 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #92 0x0000aaaae4626dbc std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:6 #93 0x0000aaaae4626dbc std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:7 #94 0x0000aaaae4626dbc std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:11 #95 0x0000aaaae4626dbc clang::tidy::runClangTidy(clang::tidy::ClangTidyContext&, clang::tooling::CompilationDatabase const&, llvm::ArrayRef, std::allocator>>, llvm::IntrusiveRefCntPtr, bool, bool, llvm::StringRef)::ActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidy.cpp:564:50 #96 0x0000ffff94e2bd18 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #97 0x0000ffff94e2c8c8 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #98 0x0000ffff94e2e91c clang::tooling::ClangTool::run(clang::tooling::ToolAction*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:612:7 #99 0x0000aaaae4641bfc ~ActionFactory /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidy.cpp:549:9 #100 0x0000aaaae4641bfc clang::tidy::runClangTidy(clang::tidy::ClangTidyContext&, clang::tooling::CompilationDatabase const&, llvm::ArrayRef, std::allocator>>, llvm::IntrusiveRefCntPtr, bool, bool, llvm::StringRef) /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidy.cpp:587:1 #101 0x0000aaaae3d304fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #102 0x0000aaaae3d304fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #103 0x0000aaaae3d304fc clang::tidy::clangTidyMain(int, char const**) /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/tool/ClangTidyMain.cpp:665:63 #104 0x0000ffff8c1a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #105 0x0000ffff8c1a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #106 0x0000aaaae3d1ef30 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tidy+0x55ef30) FileCheck error: '' is empty. FileCheck command line: FileCheck /builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/clang-tidy/infrastructure/static-analyzer.cpp -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/0/12 (18689 of 18966) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/0/12' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-2532835-0-12.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=12 GTEST_SHARD_INDEX=0 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 1 of 12. [==========] Running 30 tests from 15 test suites. [----------] Global test environment set-up. [----------] 1 test from TestReturnValueUnderConstructionChecker [ RUN ] TestReturnValueUnderConstructionChecker.ReturnValueUnderConstructionChecker #0 0x0000ffff937facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff937f90c8 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b90c8) #2 0x0000ffff937fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9c770800 (linux-vdso.so.1+0x800) #4 0x0000ffff9b6c7804 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9b6c7804 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9b6c7804 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9b6c7804 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9b6c7804 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9b6c7804 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9b6c7804 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff9b6c7804 clang::ento::ExprEngine::getObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:607:55 #12 0x0000ffff9b6903fc std::_Optional_base_impl>::_M_is_engaged() const /usr/include/c++/12/optional:471:0 #13 0x0000ffff9b6903fc std::optional::has_value() const /usr/include/c++/12/optional:988:0 #14 0x0000ffff9b6903fc clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:431:0 #15 0x0000ffff9b6903fc addParameterValuesToBindings(clang::StackFrameContext const*, llvm::SmallVectorImpl>&, clang::ento::SValBuilder&, clang::ento::CallEvent const&, llvm::ArrayRef) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:478:0 #16 0x0000ffff9b6913fc clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x0000ffff9b6913fc clang::ento::AnyCXXConstructorCall::getInitialStackFrameContents(clang::StackFrameContext const*, llvm::SmallVectorImpl>&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:915:0 #18 0x0000ffff9b752050 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #19 0x0000ffff9b752050 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #20 0x0000ffff9b70d2d8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #21 0x0000ffff9b70d2d8 clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #22 0x0000ffff9b70d488 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #23 0x0000ffff9b70d488 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffff9b70d488 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #25 0x0000ffff9b70ff20 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x0000ffff9b70ff20 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x0000ffff9b70ff20 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #28 0x0000ffff9b71094c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #29 0x0000ffff9b71094c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffff9b71094c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff9b71094c clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #32 0x0000ffff9b699458 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #33 0x0000ffff9b6d53f8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #34 0x0000ffff9b6d53f8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #35 0x0000ffff9b6d53f8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #36 0x0000ffff9b6d53f8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #37 0x0000ffff9b6d53f8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #38 0x0000ffff9b6d53f8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #39 0x0000ffff9b6d53f8 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #40 0x0000ffff9b6db22c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #41 0x0000ffff9b6db22c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #42 0x0000ffff9b6dc2d8 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #43 0x0000ffff9b6dc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #44 0x0000ffff9b6dc7ec clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #45 0x0000ffff9b6dcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffff9b6dcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffff9b6dcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #48 0x0000ffff9b6dcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #49 0x0000ffff9b6dcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #50 0x0000ffff9b9a6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffff9b9a6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff9b9a6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #53 0x0000ffff9b9a6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #54 0x0000ffff9b9a6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #55 0x0000ffff9b9a7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #56 0x0000ffff9b9a7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x0000ffff9b9a7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #58 0x0000ffff9b9ac130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffff9b9ac130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffff9b9ac130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x0000ffff9b9ac130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x0000ffff9b9ac130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x0000ffff99e02058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #64 0x0000ffff99e02058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x0000ffff99e02058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #66 0x0000ffff99e02058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x0000ffff9b4c7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #68 0x0000ffff9b47f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #69 0x0000ffff9b47f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #70 0x0000ffff9b47f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #71 0x0000ffff9b62d574 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #72 0x0000ffff9b62d574 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #73 0x0000ffff9b62d574 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #74 0x0000ffff9b62d574 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #75 0x0000ffff9b62bd18 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #76 0x0000ffff9b62c8c8 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #77 0x0000ffff9b62ce48 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #78 0x0000ffff9b62d180 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #79 0x0000ffff9b62d320 clang::tooling::runToolOnCode(std::unique_ptr>, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:179:31 #80 0x0000aaaad1c0da8c runCheckerOnCode /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:121:32 #81 0x0000aaaad1c0da8c bool clang::ento::runCheckerOnCode<&clang::ento::(anonymous namespace)::addTestReturnValueUnderConstructionChecker(clang::ento::AnalysisASTConsumer&, clang::AnalyzerOptions&)>(std::__cxx11::basic_string, std::allocator> const&) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:128:34 #82 0x0000aaaad1c0eb08 clang::ento::(anonymous namespace)::TestReturnValueUnderConstructionChecker_ReturnValueUnderConstructionChecker_Test::TestBody() /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/TestReturnValueUnderConstruction.cpp:59:3 #83 0x0000aaaad1c20578 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x110578) #84 0x0000aaaad1c21ae8 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111ae8) #85 0x0000aaaad1c22208 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112208) #86 0x0000aaaad1c2d6c8 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d6c8) #87 0x0000aaaad1c2cf88 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf88) #88 0x0000aaaad1c19ca8 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109ca8) #89 0x0000ffff92a5098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #90 0x0000ffff92a50a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #91 0x0000aaaad1b6ff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-2532835-0-12.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/2/12 (18690 of 18966) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/2/12' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-2532835-2-12.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=12 GTEST_SHARD_INDEX=2 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 3 of 12. [==========] Running 30 tests from 14 test suites. [----------] Global test environment set-up. [----------] 1 test from Store [ RUN ] Store.VariableBind [ OK ] Store.VariableBind (3 ms) [----------] 1 test from Store (3 ms total) [----------] 1 test from RangeSetTest/0, where TypeParam = signed char [ RUN ] RangeSetTest/0.RangeSetAddTest [ OK ] RangeSetTest/0.RangeSetAddTest (2 ms) [----------] 1 test from RangeSetTest/0 (2 ms total) [----------] 1 test from RangeSetTest/2, where TypeParam = short [ RUN ] RangeSetTest/2.RangeSetPointIntersectTest [ OK ] RangeSetTest/2.RangeSetPointIntersectTest (2 ms) [----------] 1 test from RangeSetTest/2 (2 ms total) [----------] 1 test from RangeSetTest/3, where TypeParam = unsigned short [ RUN ] RangeSetTest/3.RangeSetAddTest [ OK ] RangeSetTest/3.RangeSetAddTest (2 ms) [----------] 1 test from RangeSetTest/3 (2 ms total) [----------] 1 test from RangeSetTest/5, where TypeParam = unsigned int [ RUN ] RangeSetTest/5.RangeSetPointIntersectTest [ OK ] RangeSetTest/5.RangeSetPointIntersectTest (1 ms) [----------] 1 test from RangeSetTest/5 (2 ms total) [----------] 1 test from RangeSetTest/6, where TypeParam = long [ RUN ] RangeSetTest/6.RangeSetAddTest [ OK ] RangeSetTest/6.RangeSetAddTest (1 ms) [----------] 1 test from RangeSetTest/6 (1 ms total) [----------] 1 test from RangeSetCastToNoopTest/1, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToNoopTest/1.RangeSetCastToNoopTest [ OK ] RangeSetCastToNoopTest/1.RangeSetCastToNoopTest (2 ms) [----------] 1 test from RangeSetCastToNoopTest/1 (2 ms total) [----------] 1 test from RangeSetCastToPromotionTest/5, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionTest/5.Test [ OK ] RangeSetCastToPromotionTest/5.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionTest/5 (2 ms total) [----------] 1 test from RangeSetCastToTruncationTest/5, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationTest/5.Test [ OK ] RangeSetCastToTruncationTest/5.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationTest/5 (2 ms total) [----------] 1 test from RangeSetCastToConversionTest/5, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToConversionTest/5.Test [ OK ] RangeSetCastToConversionTest/5.Test (2 ms) [----------] 1 test from RangeSetCastToConversionTest/5 (2 ms total) [----------] 1 test from RangeSetCastToPromotionConversionTest/9, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionConversionTest/9.Test [ OK ] RangeSetCastToPromotionConversionTest/9.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionConversionTest/9 (2 ms total) [----------] 1 test from RangeSetCastToTruncationConversionTest/9, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationConversionTest/9.Test [ OK ] RangeSetCastToTruncationConversionTest/9.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/9 (2 ms total) [----------] 2 tests from CallDescription [ RUN ] CallDescription.RequiredArguments [ OK ] CallDescription.RequiredArguments (2 ms) [ RUN ] CallDescription.NegativeMatchQualifiedNames [ OK ] CallDescription.NegativeMatchQualifiedNames (2 ms) [----------] 2 tests from CallDescription (5 ms total) [----------] 16 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/3 [ OK ] SValTests/SValTest.GetConstType/3 (1 ms) [ RUN ] SValTests/SValTest.GetConstType/15 [ OK ] SValTests/SValTest.GetConstType/15 (1 ms) [ RUN ] SValTests/SValTest.GetLocAsIntType/6 [ OK ] SValTests/SValTest.GetLocAsIntType/6 (2 ms) [ RUN ] SValTests/SValTest.GetLocAsIntType/18 [ OK ] SValTests/SValTest.GetLocAsIntType/18 (2 ms) [ RUN ] SValTests/SValTest.GetSymExprType/9 [ OK ] SValTests/SValTest.GetSymExprType/9 (2 ms) [ RUN ] SValTests/SValTest.GetPointerType/0 [ OK ] SValTests/SValTest.GetPointerType/0 (2 ms) [ RUN ] SValTests/SValTest.GetPointerType/12 [ OK ] SValTests/SValTest.GetPointerType/12 (2 ms) [ RUN ] SValTests/SValTest.GetCompoundType/3 #0 0x0000ffff9081acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff908190c8 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b90c8) #2 0x0000ffff9081b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9979d800 (linux-vdso.so.1+0x800) #4 0x0000ffff9873c134 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9873c134 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9873c134 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9873c134 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff9873c134 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff9873c134 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff986e748c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff986e748c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff986e748c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff986fc264 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff986fc264 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff986fc264 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff986fc264 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff986fc264 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff986fc264 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff986fc264 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff986fc264 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff986fc264 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff986fc5c0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #23 0x0000ffff986fc6e0 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff986fc9ac clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff986fcb34 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff986fcb34 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff986fcb34 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff986fcb34 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff986fcb34 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #30 0x0000ffff989c6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff989c6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff989c6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff989c6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff989c6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff989c7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #36 0x0000ffff989c7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff989c7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff989cc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff989cc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff989cc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff989cc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff989cc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff96e22058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #44 0x0000ffff96e22058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff96e22058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #46 0x0000ffff96e22058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff984e7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff9849f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff9849f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff9849f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff9864d574 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #52 0x0000ffff9864d574 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #53 0x0000ffff9864d574 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #54 0x0000ffff9864d574 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #55 0x0000ffff9864bd18 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #56 0x0000ffff9864c8c8 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #57 0x0000ffff9864ce48 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #58 0x0000ffff9864d180 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #59 0x0000aaaae197e198 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #60 0x0000aaaae197e198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #61 0x0000aaaae197e198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #62 0x0000aaaae197e198 clang::ento::(anonymous namespace)::SValTest_GetCompoundType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:278:1 #63 0x0000aaaae19a0578 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x110578) #64 0x0000aaaae19a1ae8 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111ae8) #65 0x0000aaaae19a2208 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112208) #66 0x0000aaaae19ad6c8 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d6c8) #67 0x0000aaaae19acf88 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf88) #68 0x0000aaaae1999ca8 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109ca8) #69 0x0000ffff8fa7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #70 0x0000ffff8fa70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #71 0x0000aaaae18eff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-2532835-2-12.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/11/12 (18691 of 18966) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/11/12' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-2532835-11-12.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=12 GTEST_SHARD_INDEX=11 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 12 of 12. [==========] Running 29 tests from 14 test suites. [----------] Global test environment set-up. [----------] 1 test from RangeSetTest/0, where TypeParam = signed char [ RUN ] RangeSetTest/0.RangeSetRangeIntersectTest [ OK ] RangeSetTest/0.RangeSetRangeIntersectTest (3 ms) [----------] 1 test from RangeSetTest/0 (3 ms total) [----------] 1 test from RangeSetTest/1, where TypeParam = unsigned char [ RUN ] RangeSetTest/1.RangeSetDeletePointTest [ OK ] RangeSetTest/1.RangeSetDeletePointTest (2 ms) [----------] 1 test from RangeSetTest/1 (2 ms total) [----------] 1 test from RangeSetTest/3, where TypeParam = unsigned short [ RUN ] RangeSetTest/3.RangeSetRangeIntersectTest [ OK ] RangeSetTest/3.RangeSetRangeIntersectTest (2 ms) [----------] 1 test from RangeSetTest/3 (2 ms total) [----------] 1 test from RangeSetTest/4, where TypeParam = int [ RUN ] RangeSetTest/4.RangeSetDeletePointTest [ OK ] RangeSetTest/4.RangeSetDeletePointTest (2 ms) [----------] 1 test from RangeSetTest/4 (2 ms total) [----------] 1 test from RangeSetTest/6, where TypeParam = long [ RUN ] RangeSetTest/6.RangeSetRangeIntersectTest [ OK ] RangeSetTest/6.RangeSetRangeIntersectTest (2 ms) [----------] 1 test from RangeSetTest/6 (2 ms total) [----------] 1 test from RangeSetTest/7, where TypeParam = unsigned long [ RUN ] RangeSetTest/7.RangeSetDeletePointTest [ OK ] RangeSetTest/7.RangeSetDeletePointTest (2 ms) [----------] 1 test from RangeSetTest/7 (2 ms total) [----------] 1 test from RangeSetCastToPromotionTest/2, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionTest/2.Test [ OK ] RangeSetCastToPromotionTest/2.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionTest/2 (2 ms total) [----------] 1 test from RangeSetCastToTruncationTest/2, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationTest/2.Test [ OK ] RangeSetCastToTruncationTest/2.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationTest/2 (2 ms total) [----------] 1 test from RangeSetCastToConversionTest/2, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToConversionTest/2.Test [ OK ] RangeSetCastToConversionTest/2.Test (1 ms) [----------] 1 test from RangeSetCastToConversionTest/2 (2 ms total) [----------] 1 test from RangeSetCastToPromotionConversionTest/6, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionConversionTest/6.Test [ OK ] RangeSetCastToPromotionConversionTest/6.Test (1 ms) [----------] 1 test from RangeSetCastToPromotionConversionTest/6 (1 ms total) [----------] 1 test from RangeSetCastToTruncationConversionTest/6, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationConversionTest/6.Test [ OK ] RangeSetCastToTruncationConversionTest/6.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/6 (2 ms total) [----------] 1 test from EvalCall [ RUN ] EvalCall.DetectConflictingEvalCalls [ SKIPPED ] EvalCall.DetectConflictingEvalCalls (0 ms) [----------] 1 test from EvalCall (0 ms total) [----------] 1 test from CallDescription [ RUN ] CallDescription.AliasNames [ OK ] CallDescription.AliasNames (9 ms) [----------] 1 test from CallDescription (9 ms total) [----------] 16 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/0 [ OK ] SValTests/SValTest.GetConstType/0 (2 ms) [ RUN ] SValTests/SValTest.GetConstType/12 [ OK ] SValTests/SValTest.GetConstType/12 (2 ms) [ RUN ] SValTests/SValTest.GetLocAsIntType/3 [ OK ] SValTests/SValTest.GetLocAsIntType/3 (2 ms) [ RUN ] SValTests/SValTest.GetLocAsIntType/15 [ OK ] SValTests/SValTest.GetLocAsIntType/15 (1 ms) [ RUN ] SValTests/SValTest.GetSymExprType/6 [ OK ] SValTests/SValTest.GetSymExprType/6 (1 ms) [ RUN ] SValTests/SValTest.GetSymExprType/18 [ OK ] SValTests/SValTest.GetSymExprType/18 (2 ms) [ RUN ] SValTests/SValTest.GetPointerType/9 [ OK ] SValTests/SValTest.GetPointerType/9 (2 ms) [ RUN ] SValTests/SValTest.GetCompoundType/0 #0 0x0000ffffab83acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffab8390c8 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b90c8) #2 0x0000ffffab83b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb47bd800 (linux-vdso.so.1+0x800) #4 0x0000ffffb3ab29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb3ab29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb3ab29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb3ab29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb3ab29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb3ab29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb3ab29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb3ab29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb3760048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb3760048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb3760048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb3760048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb3760f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb3760f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb3760f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb3760f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb3773b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb3773b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb3773b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb3775060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb3775060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb3775060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb3774530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb3774530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb3774530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb3780b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb3780b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb3780b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb378a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb378a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb378a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb36eeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb36eeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb36eeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb36eeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb36eefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb36eefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb36eefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb36c2620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffb36c2620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffb36c2620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffb36fef2c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffb36fef2c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffb36fef2c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffb371ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffb371ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffb371ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffb39e6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffb39e6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffb39e6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffb39e6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffb39e6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffb39e7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffb39e7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffb39e7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffb39ec130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb39ec130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb39ec130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffb39ec130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffb39ec130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffb1e42058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffb1e42058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffb1e42058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffb1e42058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffb3507450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffb34bf104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffb34bf104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffb34bf104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffb366d574 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #73 0x0000ffffb366d574 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #74 0x0000ffffb366d574 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #75 0x0000ffffb366d574 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #76 0x0000ffffb366bd18 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #77 0x0000ffffb366c8c8 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #78 0x0000ffffb366ce48 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #79 0x0000ffffb366d180 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #80 0x0000aaaae77ee198 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #81 0x0000aaaae77ee198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #82 0x0000aaaae77ee198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #83 0x0000aaaae77ee198 clang::ento::(anonymous namespace)::SValTest_GetCompoundType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:278:1 #84 0x0000aaaae7810578 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x110578) #85 0x0000aaaae7811ae8 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111ae8) #86 0x0000aaaae7812208 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112208) #87 0x0000aaaae781d6c8 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d6c8) #88 0x0000aaaae781cf88 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf88) #89 0x0000aaaae7809ca8 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109ca8) #90 0x0000ffffaaa9098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffffaaa90a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaae775ff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-2532835-11-12.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/10/12 (18692 of 18966) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/10/12' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-2532835-10-12.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=12 GTEST_SHARD_INDEX=10 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 11 of 12. [==========] Running 29 tests from 15 test suites. [----------] Global test environment set-up. [----------] 1 test from RangeSetTest/0, where TypeParam = signed char [ RUN ] RangeSetTest/0.RangeSetPointIntersectTest [ OK ] RangeSetTest/0.RangeSetPointIntersectTest (3 ms) [----------] 1 test from RangeSetTest/0 (3 ms total) [----------] 1 test from RangeSetTest/1, where TypeParam = unsigned char [ RUN ] RangeSetTest/1.RangeSetAddTest [ OK ] RangeSetTest/1.RangeSetAddTest (2 ms) [----------] 1 test from RangeSetTest/1 (2 ms total) [----------] 1 test from RangeSetTest/3, where TypeParam = unsigned short [ RUN ] RangeSetTest/3.RangeSetPointIntersectTest [ OK ] RangeSetTest/3.RangeSetPointIntersectTest (1 ms) [----------] 1 test from RangeSetTest/3 (2 ms total) [----------] 1 test from RangeSetTest/4, where TypeParam = int [ RUN ] RangeSetTest/4.RangeSetAddTest [ OK ] RangeSetTest/4.RangeSetAddTest (2 ms) [----------] 1 test from RangeSetTest/4 (2 ms total) [----------] 1 test from RangeSetTest/6, where TypeParam = long [ RUN ] RangeSetTest/6.RangeSetPointIntersectTest [ OK ] RangeSetTest/6.RangeSetPointIntersectTest (2 ms) [----------] 1 test from RangeSetTest/6 (2 ms total) [----------] 1 test from RangeSetTest/7, where TypeParam = unsigned long [ RUN ] RangeSetTest/7.RangeSetAddTest [ OK ] RangeSetTest/7.RangeSetAddTest (2 ms) [----------] 1 test from RangeSetTest/7 (2 ms total) [----------] 1 test from RangeSetCastToPromotionTest/1, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionTest/1.Test [ OK ] RangeSetCastToPromotionTest/1.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionTest/1 (2 ms total) [----------] 1 test from RangeSetCastToTruncationTest/1, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationTest/1.Test [ OK ] RangeSetCastToTruncationTest/1.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationTest/1 (2 ms total) [----------] 1 test from RangeSetCastToConversionTest/1, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToConversionTest/1.Test [ OK ] RangeSetCastToConversionTest/1.Test (1 ms) [----------] 1 test from RangeSetCastToConversionTest/1 (2 ms total) [----------] 1 test from RangeSetCastToPromotionConversionTest/5, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionConversionTest/5.Test [ OK ] RangeSetCastToPromotionConversionTest/5.Test (1 ms) [----------] 1 test from RangeSetCastToPromotionConversionTest/5 (1 ms total) [----------] 1 test from RangeSetCastToTruncationConversionTest/5, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationConversionTest/5.Test [ OK ] RangeSetCastToTruncationConversionTest/5.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/5 (2 ms total) [----------] 1 test from FalsePositiveRefutationBRVisitorTestBase [ RUN ] FalsePositiveRefutationBRVisitorTestBase.UnSatAtErrorNodeDueToRefinedConstraintNoReport [ SKIPPED ] FalsePositiveRefutationBRVisitorTestBase.UnSatAtErrorNodeDueToRefinedConstraintNoReport (0 ms) [----------] 1 test from FalsePositiveRefutationBRVisitorTestBase (0 ms total) [----------] 1 test from CallDescription [ RUN ] CallDescription.SkipAnonimousNamespaces [ OK ] CallDescription.SkipAnonimousNamespaces (3 ms) [----------] 1 test from CallDescription (3 ms total) [----------] 1 test from StaticAnalyzerOptions [ RUN ] StaticAnalyzerOptions.SubCheckerOptions [ OK ] StaticAnalyzerOptions.SubCheckerOptions (0 ms) [----------] 1 test from StaticAnalyzerOptions (0 ms total) [----------] 15 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/11 [ OK ] SValTests/SValTest.GetConstType/11 (2 ms) [ RUN ] SValTests/SValTest.GetLocAsIntType/2 [ OK ] SValTests/SValTest.GetLocAsIntType/2 (2 ms) [ RUN ] SValTests/SValTest.GetLocAsIntType/14 [ OK ] SValTests/SValTest.GetLocAsIntType/14 (2 ms) [ RUN ] SValTests/SValTest.GetSymExprType/5 [ OK ] SValTests/SValTest.GetSymExprType/5 (2 ms) [ RUN ] SValTests/SValTest.GetSymExprType/17 [ OK ] SValTests/SValTest.GetSymExprType/17 (2 ms) [ RUN ] SValTests/SValTest.GetPointerType/8 [ OK ] SValTests/SValTest.GetPointerType/8 (2 ms) [ RUN ] SValTests/SValTest.GetPointerType/20 [ OK ] SValTests/SValTest.GetPointerType/20 (1 ms) [ RUN ] SValTests/SValTest.GetCompoundType/11 #0 0x0000ffffa4a5acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa4a590c8 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b90c8) #2 0x0000ffffa4a5b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffad9d6800 (linux-vdso.so.1+0x800) #4 0x0000ffffaccd29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaccd29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaccd29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaccd29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaccd29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaccd29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffaccd29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffaccd29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffac980048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffac980048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffac980048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffac980048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffac980f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffac980f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffac980f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffac980f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffac993b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffac993b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffac993b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffac995060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffac995060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffac995060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffac994530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffac994530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffac994530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffac9a0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffac9a0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffac9a0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffac9aa414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffac9aa414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffac9aa414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffac90eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffac90eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffac90eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffac90eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffac90efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffac90efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffac90efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffac8e2620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffac8e2620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffac8e2620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffac91ef2c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffac91ef2c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffac91ef2c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffac93ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffac93ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffac93ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffacc06bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffacc06bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffacc06bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffacc06bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffacc06bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffacc07b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffacc07b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffacc07b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffacc0c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffacc0c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffacc0c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffacc0c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffacc0c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffab062058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffab062058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffab062058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffab062058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffac727450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffac6df104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffac6df104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffac6df104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffac88d574 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #73 0x0000ffffac88d574 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #74 0x0000ffffac88d574 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #75 0x0000ffffac88d574 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #76 0x0000ffffac88bd18 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #77 0x0000ffffac88c8c8 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #78 0x0000ffffac88ce48 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #79 0x0000ffffac88d180 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #80 0x0000aaaadb5ce198 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #81 0x0000aaaadb5ce198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #82 0x0000aaaadb5ce198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #83 0x0000aaaadb5ce198 clang::ento::(anonymous namespace)::SValTest_GetCompoundType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:278:1 #84 0x0000aaaadb5f0578 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x110578) #85 0x0000aaaadb5f1ae8 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111ae8) #86 0x0000aaaadb5f2208 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112208) #87 0x0000aaaadb5fd6c8 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d6c8) #88 0x0000aaaadb5fcf88 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf88) #89 0x0000aaaadb5e9ca8 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109ca8) #90 0x0000ffffa3cb098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffffa3cb0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaadb53ff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-2532835-10-12.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/1/12 (18693 of 18966) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/1/12' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-2532835-1-12.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=12 GTEST_SHARD_INDEX=1 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 2 of 12. [==========] Running 30 tests from 14 test suites. [----------] Global test environment set-up. [----------] 1 test from SymbolReaper [ RUN ] SymbolReaper.SuperRegionLiveness [ OK ] SymbolReaper.SuperRegionLiveness (4 ms) [----------] 1 test from SymbolReaper (4 ms total) [----------] 1 test from RangeSetTest/0, where TypeParam = signed char [ RUN ] RangeSetTest/0.RangeSetContainsTest [ OK ] RangeSetTest/0.RangeSetContainsTest (2 ms) [----------] 1 test from RangeSetTest/0 (2 ms total) [----------] 1 test from RangeSetTest/2, where TypeParam = short [ RUN ] RangeSetTest/2.RangeSetNegateTest [ OK ] RangeSetTest/2.RangeSetNegateTest (2 ms) [----------] 1 test from RangeSetTest/2 (2 ms total) [----------] 1 test from RangeSetTest/3, where TypeParam = unsigned short [ RUN ] RangeSetTest/3.RangeSetContainsTest [ OK ] RangeSetTest/3.RangeSetContainsTest (2 ms) [----------] 1 test from RangeSetTest/3 (2 ms total) [----------] 1 test from RangeSetTest/5, where TypeParam = unsigned int [ RUN ] RangeSetTest/5.RangeSetNegateTest [ OK ] RangeSetTest/5.RangeSetNegateTest (2 ms) [----------] 1 test from RangeSetTest/5 (2 ms total) [----------] 1 test from RangeSetTest/6, where TypeParam = long [ RUN ] RangeSetTest/6.RangeSetContainsTest [ OK ] RangeSetTest/6.RangeSetContainsTest (2 ms) [----------] 1 test from RangeSetTest/6 (2 ms total) [----------] 1 test from RangeSetCastToNoopTest/0, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToNoopTest/0.RangeSetCastToNoopTest [ OK ] RangeSetCastToNoopTest/0.RangeSetCastToNoopTest (2 ms) [----------] 1 test from RangeSetCastToNoopTest/0 (2 ms total) [----------] 1 test from RangeSetCastToPromotionTest/4, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionTest/4.Test [ OK ] RangeSetCastToPromotionTest/4.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionTest/4 (2 ms total) [----------] 1 test from RangeSetCastToTruncationTest/4, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationTest/4.Test [ OK ] RangeSetCastToTruncationTest/4.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationTest/4 (2 ms total) [----------] 1 test from RangeSetCastToConversionTest/4, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToConversionTest/4.Test [ OK ] RangeSetCastToConversionTest/4.Test (1 ms) [----------] 1 test from RangeSetCastToConversionTest/4 (1 ms total) [----------] 1 test from RangeSetCastToPromotionConversionTest/8, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionConversionTest/8.Test [ OK ] RangeSetCastToPromotionConversionTest/8.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionConversionTest/8 (2 ms total) [----------] 1 test from RangeSetCastToTruncationConversionTest/8, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationConversionTest/8.Test [ OK ] RangeSetCastToTruncationConversionTest/8.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/8 (2 ms total) [----------] 2 tests from CallDescription [ RUN ] CallDescription.SimpleNameMatching [ OK ] CallDescription.SimpleNameMatching (2 ms) [ RUN ] CallDescription.AliasMultipleNamespaces [ OK ] CallDescription.AliasMultipleNamespaces (4 ms) [----------] 2 tests from CallDescription (7 ms total) [----------] 16 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/2 [ OK ] SValTests/SValTest.GetConstType/2 (2 ms) [ RUN ] SValTests/SValTest.GetConstType/14 [ OK ] SValTests/SValTest.GetConstType/14 (2 ms) [ RUN ] SValTests/SValTest.GetLocAsIntType/5 [ OK ] SValTests/SValTest.GetLocAsIntType/5 (2 ms) [ RUN ] SValTests/SValTest.GetLocAsIntType/17 [ OK ] SValTests/SValTest.GetLocAsIntType/17 (2 ms) [ RUN ] SValTests/SValTest.GetSymExprType/8 [ OK ] SValTests/SValTest.GetSymExprType/8 (1 ms) [ RUN ] SValTests/SValTest.GetSymExprType/20 [ OK ] SValTests/SValTest.GetSymExprType/20 (1 ms) [ RUN ] SValTests/SValTest.GetPointerType/11 [ OK ] SValTests/SValTest.GetPointerType/11 (2 ms) [ RUN ] SValTests/SValTest.GetCompoundType/2 #0 0x0000ffff80e1acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff80e190c8 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b90c8) #2 0x0000ffff80e1b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff89d99800 (linux-vdso.so.1+0x800) #4 0x0000ffff890929e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff890929e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff890929e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff890929e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff890929e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff890929e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff890929e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff890929e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff88d40048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff88d40048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff88d40048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff88d40048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff88d40f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff88d40f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff88d40f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff88d40f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff88d53b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff88d53b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff88d53b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff88d55060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff88d55060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff88d55060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff88d54530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff88d54530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff88d54530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff88d60b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff88d60b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff88d60b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff88d6a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff88d6a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff88d6a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff88cceaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff88cceaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff88cceaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff88cceaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff88ccefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff88ccefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff88ccefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff88ca2620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff88ca2620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff88ca2620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff88cdef2c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff88cdef2c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff88cdef2c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff88cfce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff88cfce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff88cfce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff88fc6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff88fc6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff88fc6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff88fc6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff88fc6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff88fc7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff88fc7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff88fc7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff88fcc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff88fcc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff88fcc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff88fcc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff88fcc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff87422058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff87422058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff87422058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff87422058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff88ae7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff88a9f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff88a9f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff88a9f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff88c4d574 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #73 0x0000ffff88c4d574 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #74 0x0000ffff88c4d574 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #75 0x0000ffff88c4d574 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #76 0x0000ffff88c4bd18 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #77 0x0000ffff88c4c8c8 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #78 0x0000ffff88c4ce48 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #79 0x0000ffff88c4d180 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #80 0x0000aaaac628e198 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #81 0x0000aaaac628e198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #82 0x0000aaaac628e198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #83 0x0000aaaac628e198 clang::ento::(anonymous namespace)::SValTest_GetCompoundType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:278:1 #84 0x0000aaaac62b0578 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x110578) #85 0x0000aaaac62b1ae8 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111ae8) #86 0x0000aaaac62b2208 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112208) #87 0x0000aaaac62bd6c8 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d6c8) #88 0x0000aaaac62bcf88 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf88) #89 0x0000aaaac62a9ca8 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109ca8) #90 0x0000ffff8007098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff80070a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaac61fff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-2532835-1-12.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/5/12 (18697 of 18966) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/5/12' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-2532835-5-12.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=12 GTEST_SHARD_INDEX=5 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 6 of 12. [==========] Running 30 tests from 15 test suites. [----------] Global test environment set-up. [----------] 1 test from RegisterCustomCheckers [ RUN ] RegisterCustomCheckers.CheckLocationIncDec CheckLocationIncDec.cc:1:6: warning: Custom diagnostic description [test.LocIncDecChecker] 1 | void f() { int *p; (*p)++; } | ^ ~~~~~~~~~~~~~~~~~~~ 1 warning generated. [ OK ] RegisterCustomCheckers.CheckLocationIncDec (5 ms) [----------] 1 test from RegisterCustomCheckers (5 ms total) [----------] 1 test from RangeSetTest/1, where TypeParam = unsigned char [ RUN ] RangeSetTest/1.RangeSetNegateTest [ OK ] RangeSetTest/1.RangeSetNegateTest (1 ms) [----------] 1 test from RangeSetTest/1 (2 ms total) [----------] 1 test from RangeSetTest/2, where TypeParam = short [ RUN ] RangeSetTest/2.RangeSetContainsTest [ OK ] RangeSetTest/2.RangeSetContainsTest (1 ms) [----------] 1 test from RangeSetTest/2 (1 ms total) [----------] 1 test from RangeSetTest/4, where TypeParam = int [ RUN ] RangeSetTest/4.RangeSetNegateTest [ OK ] RangeSetTest/4.RangeSetNegateTest (2 ms) [----------] 1 test from RangeSetTest/4 (2 ms total) [----------] 1 test from RangeSetTest/5, where TypeParam = unsigned int [ RUN ] RangeSetTest/5.RangeSetContainsTest [ OK ] RangeSetTest/5.RangeSetContainsTest (2 ms) [----------] 1 test from RangeSetTest/5 (2 ms total) [----------] 1 test from RangeSetTest/7, where TypeParam = unsigned long [ RUN ] RangeSetTest/7.RangeSetNegateTest [ OK ] RangeSetTest/7.RangeSetNegateTest (2 ms) [----------] 1 test from RangeSetTest/7 (2 ms total) [----------] 1 test from RangeSetCastToNoopTest/4, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToNoopTest/4.RangeSetCastToNoopTest [ OK ] RangeSetCastToNoopTest/4.RangeSetCastToNoopTest (2 ms) [----------] 1 test from RangeSetCastToNoopTest/4 (2 ms total) [----------] 1 test from RangeSetCastToPromotionTest/8, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionTest/8.Test [ OK ] RangeSetCastToPromotionTest/8.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionTest/8 (2 ms total) [----------] 1 test from RangeSetCastToTruncationTest/8, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationTest/8.Test [ OK ] RangeSetCastToTruncationTest/8.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationTest/8 (2 ms total) [----------] 1 test from RangeSetCastToPromotionConversionTest/0, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionConversionTest/0.Test [ OK ] RangeSetCastToPromotionConversionTest/0.Test (1 ms) [----------] 1 test from RangeSetCastToPromotionConversionTest/0 (2 ms total) [----------] 1 test from RangeSetCastToTruncationConversionTest/0, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationConversionTest/0.Test [ OK ] RangeSetCastToTruncationConversionTest/0.Test (1 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/0 (1 ms total) [----------] 1 test from ParamRegion [ RUN ] ParamRegion.ParamRegionTest [ OK ] ParamRegion.ParamRegionTest (5 ms) [----------] 1 test from ParamRegion (5 ms total) [----------] 1 test from CallDescription [ RUN ] CallDescription.MatchConstructor [ OK ] CallDescription.MatchConstructor (3 ms) [----------] 1 test from CallDescription (3 ms total) [----------] 1 test from BugReportInterestingness [ RUN ] BugReportInterestingness.Symbols input.cpp:15:7: warning: test bug [test.Interestingness] 15 | bug(A); | ^~~~~~ 1 warning generated. [ OK ] BugReportInterestingness.Symbols (3 ms) [----------] 1 test from BugReportInterestingness (3 ms total) [----------] 16 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/6 [ OK ] SValTests/SValTest.GetConstType/6 (2 ms) [ RUN ] SValTests/SValTest.GetConstType/18 [ OK ] SValTests/SValTest.GetConstType/18 (2 ms) [ RUN ] SValTests/SValTest.GetLocAsIntType/9 [ OK ] SValTests/SValTest.GetLocAsIntType/9 (2 ms) [ RUN ] SValTests/SValTest.GetSymExprType/0 [ OK ] SValTests/SValTest.GetSymExprType/0 (2 ms) [ RUN ] SValTests/SValTest.GetSymExprType/12 [ OK ] SValTests/SValTest.GetSymExprType/12 (1 ms) [ RUN ] SValTests/SValTest.GetPointerType/3 [ OK ] SValTests/SValTest.GetPointerType/3 (2 ms) [ RUN ] SValTests/SValTest.GetPointerType/15 [ OK ] SValTests/SValTest.GetPointerType/15 (2 ms) [ RUN ] SValTests/SValTest.GetCompoundType/6 #0 0x0000ffff9247acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff924790c8 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b90c8) #2 0x0000ffff9247b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9b3f4800 (linux-vdso.so.1+0x800) #4 0x0000ffff9a6f29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9a6f29e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9a6f29e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9a6f29e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9a6f29e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9a6f29e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9a6f29e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9a6f29e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9a3a0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9a3a0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9a3a0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9a3a0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9a3a0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9a3a0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9a3a0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9a3a0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9a3b3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9a3b3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9a3b3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9a3b5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9a3b5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9a3b5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9a3b4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9a3b4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9a3b4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9a3c0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9a3c0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9a3c0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9a3ca414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9a3ca414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9a3ca414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9a32eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9a32eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9a32eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9a32eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9a32efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9a32efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9a32efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff9a302620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff9a302620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff9a302620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff9a33ef2c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff9a33ef2c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff9a33ef2c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff9a35ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff9a35ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff9a35ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff9a626bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff9a626bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff9a626bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff9a626bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff9a626bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff9a627b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff9a627b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff9a627b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff9a62c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff9a62c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff9a62c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff9a62c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff9a62c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff98a82058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff98a82058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff98a82058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff98a82058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff9a147450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff9a0ff104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff9a0ff104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff9a0ff104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff9a2ad574 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #73 0x0000ffff9a2ad574 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #74 0x0000ffff9a2ad574 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #75 0x0000ffff9a2ad574 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #76 0x0000ffff9a2abd18 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #77 0x0000ffff9a2ac8c8 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #78 0x0000ffff9a2ace48 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #79 0x0000ffff9a2ad180 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #80 0x0000aaaac8b5e198 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #81 0x0000aaaac8b5e198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #82 0x0000aaaac8b5e198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #83 0x0000aaaac8b5e198 clang::ento::(anonymous namespace)::SValTest_GetCompoundType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:278:1 #84 0x0000aaaac8b80578 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x110578) #85 0x0000aaaac8b81ae8 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111ae8) #86 0x0000aaaac8b82208 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112208) #87 0x0000aaaac8b8d6c8 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d6c8) #88 0x0000aaaac8b8cf88 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf88) #89 0x0000aaaac8b79ca8 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109ca8) #90 0x0000ffff916d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff916d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaac8acff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-2532835-5-12.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/4/12 (18698 of 18966) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/4/12' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-2532835-4-12.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=12 GTEST_SHARD_INDEX=4 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 5 of 12. [==========] Running 30 tests from 14 test suites. [----------] Global test environment set-up. [----------] 1 test from RegisterCustomCheckers [ RUN ] RegisterCustomCheckers.RegisterChecker RegisterChecker.cc:1:6: warning: Custom diagnostic description [test.CustomChecker] 1 | void f() {;} | ^ ~~~ 1 warning generated. [ OK ] RegisterCustomCheckers.RegisterChecker (4 ms) [----------] 1 test from RegisterCustomCheckers (4 ms total) [----------] 1 test from RangeSetTest/0, where TypeParam = signed char [ RUN ] RangeSetTest/0.RangeSetUniteTest [ OK ] RangeSetTest/0.RangeSetUniteTest (2 ms) [----------] 1 test from RangeSetTest/0 (2 ms total) [----------] 1 test from RangeSetTest/2, where TypeParam = short [ RUN ] RangeSetTest/2.RangeSetGenericIntersectTest [ OK ] RangeSetTest/2.RangeSetGenericIntersectTest (2 ms) [----------] 1 test from RangeSetTest/2 (2 ms total) [----------] 1 test from RangeSetTest/3, where TypeParam = unsigned short [ RUN ] RangeSetTest/3.RangeSetUniteTest [ OK ] RangeSetTest/3.RangeSetUniteTest (2 ms) [----------] 1 test from RangeSetTest/3 (2 ms total) [----------] 1 test from RangeSetTest/5, where TypeParam = unsigned int [ RUN ] RangeSetTest/5.RangeSetGenericIntersectTest [ OK ] RangeSetTest/5.RangeSetGenericIntersectTest (2 ms) [----------] 1 test from RangeSetTest/5 (2 ms total) [----------] 1 test from RangeSetTest/6, where TypeParam = long [ RUN ] RangeSetTest/6.RangeSetUniteTest [ OK ] RangeSetTest/6.RangeSetUniteTest (2 ms) [----------] 1 test from RangeSetTest/6 (2 ms total) [----------] 1 test from RangeSetCastToNoopTest/3, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToNoopTest/3.RangeSetCastToNoopTest [ OK ] RangeSetCastToNoopTest/3.RangeSetCastToNoopTest (1 ms) [----------] 1 test from RangeSetCastToNoopTest/3 (1 ms total) [----------] 1 test from RangeSetCastToPromotionTest/7, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionTest/7.Test [ OK ] RangeSetCastToPromotionTest/7.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionTest/7 (2 ms total) [----------] 1 test from RangeSetCastToTruncationTest/7, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationTest/7.Test [ OK ] RangeSetCastToTruncationTest/7.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationTest/7 (2 ms total) [----------] 1 test from RangeSetCastToConversionTest/7, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToConversionTest/7.Test [ OK ] RangeSetCastToConversionTest/7.Test (2 ms) [----------] 1 test from RangeSetCastToConversionTest/7 (2 ms total) [----------] 1 test from RangeSetCastToPromotionConversionTest/11, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionConversionTest/11.Test [ OK ] RangeSetCastToPromotionConversionTest/11.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionConversionTest/11 (2 ms total) [----------] 1 test from RangeSetCastToTruncationConversionTest/11, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationConversionTest/11.Test [ OK ] RangeSetCastToTruncationConversionTest/11.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/11 (2 ms total) [----------] 2 tests from CallDescription [ RUN ] CallDescription.QualifiedNames [ OK ] CallDescription.QualifiedNames (3 ms) [ RUN ] CallDescription.CheckCallExprMatching CheckCallExprMatching.cc:2:10: warning: CallEvent match [test.CallDescChecker] 2 | void bar(); | ^~~ 1 warning generated. CheckCallExprMatching.cc:2:10: warning: CallEvent match [test.CallDescChecker] 2 | void bar(); | ^~~ CheckCallExprMatching.cc:2:10: warning: CallExpr match [test.CallDescChecker] 2 | void bar(); | ^~~ 2 warnings generated. [ OK ] CallDescription.CheckCallExprMatching (6 ms) [----------] 2 tests from CallDescription (9 ms total) [----------] 16 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/5 [ OK ] SValTests/SValTest.GetConstType/5 (2 ms) [ RUN ] SValTests/SValTest.GetConstType/17 [ OK ] SValTests/SValTest.GetConstType/17 (1 ms) [ RUN ] SValTests/SValTest.GetLocAsIntType/8 [ OK ] SValTests/SValTest.GetLocAsIntType/8 (2 ms) [ RUN ] SValTests/SValTest.GetLocAsIntType/20 [ OK ] SValTests/SValTest.GetLocAsIntType/20 (1 ms) [ RUN ] SValTests/SValTest.GetSymExprType/11 [ OK ] SValTests/SValTest.GetSymExprType/11 (2 ms) [ RUN ] SValTests/SValTest.GetPointerType/2 [ OK ] SValTests/SValTest.GetPointerType/2 (2 ms) [ RUN ] SValTests/SValTest.GetPointerType/14 [ OK ] SValTests/SValTest.GetPointerType/14 (2 ms) [ RUN ] SValTests/SValTest.GetCompoundType/5 #0 0x0000ffff9eb0acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9eb090c8 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b90c8) #2 0x0000ffff9eb0b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa7a87800 (linux-vdso.so.1+0x800) #4 0x0000ffffa6d829e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa6d829e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa6d829e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa6d829e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa6d829e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa6d829e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa6d829e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa6d829e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa6a30048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa6a30048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa6a30048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa6a30048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa6a30f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa6a30f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa6a30f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa6a30f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa6a43b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa6a43b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa6a43b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa6a45060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa6a45060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa6a45060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa6a44530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa6a44530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa6a44530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa6a50b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa6a50b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa6a50b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa6a5a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa6a5a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa6a5a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa69beaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa69beaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa69beaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa69beaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa69befb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa69befb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa69befb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa6992620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa6992620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa6992620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa69cef2c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa69cef2c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa69cef2c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffa69ece78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa69ece78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa69ece78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa6cb6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa6cb6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa6cb6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa6cb6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa6cb6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa6cb7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffa6cb7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa6cb7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa6cbc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa6cbc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa6cbc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa6cbc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa6cbc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa5112058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffa5112058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa5112058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffa5112058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa67d7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa678f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa678f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa678f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa693d574 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #73 0x0000ffffa693d574 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #74 0x0000ffffa693d574 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #75 0x0000ffffa693d574 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #76 0x0000ffffa693bd18 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #77 0x0000ffffa693c8c8 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #78 0x0000ffffa693ce48 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #79 0x0000ffffa693d180 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #80 0x0000aaaaac6de198 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #81 0x0000aaaaac6de198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #82 0x0000aaaaac6de198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #83 0x0000aaaaac6de198 clang::ento::(anonymous namespace)::SValTest_GetCompoundType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:278:1 #84 0x0000aaaaac700578 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x110578) #85 0x0000aaaaac701ae8 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111ae8) #86 0x0000aaaaac702208 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112208) #87 0x0000aaaaac70d6c8 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d6c8) #88 0x0000aaaaac70cf88 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf88) #89 0x0000aaaaac6f9ca8 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109ca8) #90 0x0000ffff9dd6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff9dd60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaaac64ff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-2532835-4-12.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/3/12 (18699 of 18966) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/3/12' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-2532835-3-12.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=12 GTEST_SHARD_INDEX=3 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 4 of 12. [==========] Running 30 tests from 14 test suites. [----------] Global test environment set-up. [----------] 1 test from Store [ RUN ] Store.LiteralCompound [ OK ] Store.LiteralCompound (4 ms) [----------] 1 test from Store (4 ms total) [----------] 1 test from RangeSetTest/0, where TypeParam = signed char [ RUN ] RangeSetTest/0.RangeSetDeletePointTest [ OK ] RangeSetTest/0.RangeSetDeletePointTest (2 ms) [----------] 1 test from RangeSetTest/0 (2 ms total) [----------] 1 test from RangeSetTest/2, where TypeParam = short [ RUN ] RangeSetTest/2.RangeSetRangeIntersectTest [ OK ] RangeSetTest/2.RangeSetRangeIntersectTest (2 ms) [----------] 1 test from RangeSetTest/2 (2 ms total) [----------] 1 test from RangeSetTest/3, where TypeParam = unsigned short [ RUN ] RangeSetTest/3.RangeSetDeletePointTest [ OK ] RangeSetTest/3.RangeSetDeletePointTest (2 ms) [----------] 1 test from RangeSetTest/3 (2 ms total) [----------] 1 test from RangeSetTest/5, where TypeParam = unsigned int [ RUN ] RangeSetTest/5.RangeSetRangeIntersectTest [ OK ] RangeSetTest/5.RangeSetRangeIntersectTest (1 ms) [----------] 1 test from RangeSetTest/5 (1 ms total) [----------] 1 test from RangeSetTest/6, where TypeParam = long [ RUN ] RangeSetTest/6.RangeSetDeletePointTest [ OK ] RangeSetTest/6.RangeSetDeletePointTest (2 ms) [----------] 1 test from RangeSetTest/6 (2 ms total) [----------] 1 test from RangeSetCastToNoopTest/2, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToNoopTest/2.RangeSetCastToNoopTest [ OK ] RangeSetCastToNoopTest/2.RangeSetCastToNoopTest (2 ms) [----------] 1 test from RangeSetCastToNoopTest/2 (2 ms total) [----------] 1 test from RangeSetCastToPromotionTest/6, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionTest/6.Test [ OK ] RangeSetCastToPromotionTest/6.Test (1 ms) [----------] 1 test from RangeSetCastToPromotionTest/6 (2 ms total) [----------] 1 test from RangeSetCastToTruncationTest/6, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationTest/6.Test [ OK ] RangeSetCastToTruncationTest/6.Test (1 ms) [----------] 1 test from RangeSetCastToTruncationTest/6 (1 ms total) [----------] 1 test from RangeSetCastToConversionTest/6, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToConversionTest/6.Test [ OK ] RangeSetCastToConversionTest/6.Test (2 ms) [----------] 1 test from RangeSetCastToConversionTest/6 (2 ms total) [----------] 1 test from RangeSetCastToPromotionConversionTest/10, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionConversionTest/10.Test [ OK ] RangeSetCastToPromotionConversionTest/10.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionConversionTest/10 (2 ms total) [----------] 1 test from RangeSetCastToTruncationConversionTest/10, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationConversionTest/10.Test [ OK ] RangeSetCastToTruncationConversionTest/10.Test (1 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/10 (1 ms total) [----------] 2 tests from CallDescription [ RUN ] CallDescription.LackOfRequiredArguments [ OK ] CallDescription.LackOfRequiredArguments (2 ms) [ RUN ] CallDescription.MatchBuiltins [ OK ] CallDescription.MatchBuiltins (9 ms) [----------] 2 tests from CallDescription (12 ms total) [----------] 16 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/4 [ OK ] SValTests/SValTest.GetConstType/4 (2 ms) [ RUN ] SValTests/SValTest.GetConstType/16 [ OK ] SValTests/SValTest.GetConstType/16 (2 ms) [ RUN ] SValTests/SValTest.GetLocAsIntType/7 [ OK ] SValTests/SValTest.GetLocAsIntType/7 (2 ms) [ RUN ] SValTests/SValTest.GetLocAsIntType/19 [ OK ] SValTests/SValTest.GetLocAsIntType/19 (2 ms) [ RUN ] SValTests/SValTest.GetSymExprType/10 [ OK ] SValTests/SValTest.GetSymExprType/10 (2 ms) [ RUN ] SValTests/SValTest.GetPointerType/1 [ OK ] SValTests/SValTest.GetPointerType/1 (1 ms) [ RUN ] SValTests/SValTest.GetPointerType/13 [ OK ] SValTests/SValTest.GetPointerType/13 (2 ms) [ RUN ] SValTests/SValTest.GetCompoundType/4 #0 0x0000ffffadd9acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffadd990c8 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b90c8) #2 0x0000ffffadd9b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb6d16800 (linux-vdso.so.1+0x800) #4 0x0000ffffb60129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb60129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb60129e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb60129e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb60129e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb60129e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb60129e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb60129e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb5cc0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb5cc0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb5cc0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb5cc0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb5cc0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb5cc0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb5cc0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb5cc0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb5cd3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb5cd3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb5cd3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb5cd5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb5cd5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb5cd5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb5cd4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb5cd4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb5cd4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb5ce0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb5ce0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb5ce0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb5cea414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb5cea414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb5cea414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb5c4eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb5c4eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb5c4eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb5c4eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb5c4efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb5c4efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb5c4efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb5c22620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffb5c22620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffb5c22620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffb5c5ef2c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffb5c5ef2c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffb5c5ef2c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffb5c7ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffb5c7ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffb5c7ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffb5f46bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffb5f46bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffb5f46bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffb5f46bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffb5f46bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffb5f47b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffb5f47b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffb5f47b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffb5f4c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb5f4c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb5f4c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffb5f4c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffb5f4c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffb43a2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffb43a2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffb43a2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffb43a2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffb5a67450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffb5a1f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffb5a1f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffb5a1f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffb5bcd574 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #73 0x0000ffffb5bcd574 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #74 0x0000ffffb5bcd574 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #75 0x0000ffffb5bcd574 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #76 0x0000ffffb5bcbd18 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #77 0x0000ffffb5bcc8c8 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #78 0x0000ffffb5bcce48 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #79 0x0000ffffb5bcd180 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #80 0x0000aaaab0abe198 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #81 0x0000aaaab0abe198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #82 0x0000aaaab0abe198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #83 0x0000aaaab0abe198 clang::ento::(anonymous namespace)::SValTest_GetCompoundType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:278:1 #84 0x0000aaaab0ae0578 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x110578) #85 0x0000aaaab0ae1ae8 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111ae8) #86 0x0000aaaab0ae2208 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112208) #87 0x0000aaaab0aed6c8 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d6c8) #88 0x0000aaaab0aecf88 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf88) #89 0x0000aaaab0ad9ca8 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109ca8) #90 0x0000ffffacff098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffffacff0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaab0a2ff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-2532835-3-12.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/7/12 (18718 of 18966) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/7/12' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-2532835-7-12.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=12 GTEST_SHARD_INDEX=7 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 8 of 12. [==========] Running 30 tests from 15 test suites. [----------] Global test environment set-up. [----------] 1 test from RegisterDeps [ RUN ] RegisterDeps.SimpleWeakDependency SimpleWeakDependency.cc:1:11: warning: test.WeakDep test.Dep test.RegistrationOrder [test.RegistrationOrder] 1 | void f() {int i;} | ^~~~~ 1 warning generated. SimpleWeakDependency.cc:1:11: warning: test.Dep test.RegistrationOrder test.WeakDep [test.RegistrationOrder] 1 | void f() {int i;} | ^~~~~ 1 warning generated. SimpleWeakDependency.cc:1:11: warning: test.Dep test.RegistrationOrder [test.RegistrationOrder] 1 | void f() {int i;} | ^~~~~ 1 warning generated. SimpleWeakDependency.cc:1:11: warning: test.Dep test.RegistrationOrder [test.RegistrationOrder] 1 | void f() {int i;} | ^~~~~ 1 warning generated. SimpleWeakDependency.cc:1:11: warning: test.WeakDep2 test.Dep test.RegistrationOrder [test.RegistrationOrder] 1 | void f() {int i;} | ^~~~~ 1 warning generated. SimpleWeakDependency.cc:1:11: warning: test.WeakDep2 test.WeakDep test.Dep test.RegistrationOrder [test.RegistrationOrder] 1 | void f() {int i;} | ^~~~~ 1 warning generated. [ OK ] RegisterDeps.SimpleWeakDependency (36 ms) [----------] 1 test from RegisterDeps (36 ms total) [----------] 1 test from RangeSetTest/1, where TypeParam = unsigned char [ RUN ] RangeSetTest/1.RangeSetRangeIntersectTest [ OK ] RangeSetTest/1.RangeSetRangeIntersectTest (2 ms) [----------] 1 test from RangeSetTest/1 (2 ms total) [----------] 1 test from RangeSetTest/2, where TypeParam = short [ RUN ] RangeSetTest/2.RangeSetDeletePointTest [ OK ] RangeSetTest/2.RangeSetDeletePointTest (1 ms) [----------] 1 test from RangeSetTest/2 (2 ms total) [----------] 1 test from RangeSetTest/4, where TypeParam = int [ RUN ] RangeSetTest/4.RangeSetRangeIntersectTest [ OK ] RangeSetTest/4.RangeSetRangeIntersectTest (1 ms) [----------] 1 test from RangeSetTest/4 (1 ms total) [----------] 1 test from RangeSetTest/5, where TypeParam = unsigned int [ RUN ] RangeSetTest/5.RangeSetDeletePointTest [ OK ] RangeSetTest/5.RangeSetDeletePointTest (2 ms) [----------] 1 test from RangeSetTest/5 (2 ms total) [----------] 1 test from RangeSetTest/7, where TypeParam = unsigned long [ RUN ] RangeSetTest/7.RangeSetRangeIntersectTest [ OK ] RangeSetTest/7.RangeSetRangeIntersectTest (10 ms) [----------] 1 test from RangeSetTest/7 (10 ms total) [----------] 1 test from RangeSetCastToNoopTest/6, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToNoopTest/6.RangeSetCastToNoopTest [ OK ] RangeSetCastToNoopTest/6.RangeSetCastToNoopTest (2 ms) [----------] 1 test from RangeSetCastToNoopTest/6 (3 ms total) [----------] 1 test from RangeSetCastToPromotionTest/10, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionTest/10.Test [ OK ] RangeSetCastToPromotionTest/10.Test (1 ms) [----------] 1 test from RangeSetCastToPromotionTest/10 (1 ms total) [----------] 1 test from RangeSetCastToTruncationTest/10, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationTest/10.Test [ OK ] RangeSetCastToTruncationTest/10.Test (1 ms) [----------] 1 test from RangeSetCastToTruncationTest/10 (1 ms total) [----------] 1 test from RangeSetCastToPromotionConversionTest/2, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionConversionTest/2.Test [ OK ] RangeSetCastToPromotionConversionTest/2.Test (1 ms) [----------] 1 test from RangeSetCastToPromotionConversionTest/2 (2 ms total) [----------] 1 test from RangeSetCastToTruncationConversionTest/2, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationConversionTest/2.Test [ OK ] RangeSetCastToTruncationConversionTest/2.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/2 (2 ms total) [----------] 1 test from NoStateChangeFuncVisitor [ RUN ] NoStateChangeFuncVisitor.ThoroughFunctionAnalysis ThoroughFunctionAnalysis.cc:12:7: warning: error() called [test.StatefulChecker] 12 | error(); | ^~~~~~~ 1 warning generated. ThoroughFunctionAnalysis.cc:13:7: warning: error() called [test.StatefulChecker] 13 | error(); | ^~~~~~~ 1 warning generated. [ OK ] NoStateChangeFuncVisitor.ThoroughFunctionAnalysis (9 ms) [----------] 1 test from NoStateChangeFuncVisitor (9 ms total) [----------] 1 test from CallDescription [ RUN ] CallDescription.RejectOverQualifiedNames [ OK ] CallDescription.RejectOverQualifiedNames (2 ms) [----------] 1 test from CallDescription (2 ms total) [----------] 1 test from StaticAnalyzerOptions [ RUN ] StaticAnalyzerOptions.getRegisteredCheckers [ OK ] StaticAnalyzerOptions.getRegisteredCheckers (0 ms) [----------] 1 test from StaticAnalyzerOptions (0 ms total) [----------] 16 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/8 [ OK ] SValTests/SValTest.GetConstType/8 (1 ms) [ RUN ] SValTests/SValTest.GetConstType/20 [ OK ] SValTests/SValTest.GetConstType/20 (2 ms) [ RUN ] SValTests/SValTest.GetLocAsIntType/11 [ OK ] SValTests/SValTest.GetLocAsIntType/11 (1 ms) [ RUN ] SValTests/SValTest.GetSymExprType/2 [ OK ] SValTests/SValTest.GetSymExprType/2 (2 ms) [ RUN ] SValTests/SValTest.GetSymExprType/14 [ OK ] SValTests/SValTest.GetSymExprType/14 (2 ms) [ RUN ] SValTests/SValTest.GetPointerType/5 [ OK ] SValTests/SValTest.GetPointerType/5 (2 ms) [ RUN ] SValTests/SValTest.GetPointerType/17 [ OK ] SValTests/SValTest.GetPointerType/17 (1 ms) [ RUN ] SValTests/SValTest.GetCompoundType/8 #0 0x0000ffff8be0acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8be090c8 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b90c8) #2 0x0000ffff8be0b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff94d82800 (linux-vdso.so.1+0x800) #4 0x0000ffff940829e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff940829e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff940829e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff940829e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff940829e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff940829e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff940829e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff940829e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff93d30048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff93d30048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff93d30048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff93d30048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff93d30f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff93d30f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff93d30f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff93d30f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff93d43b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff93d43b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff93d43b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff93d45060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff93d45060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff93d45060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff93d44530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff93d44530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff93d44530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff93d50b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff93d50b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff93d50b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff93d5a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff93d5a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff93d5a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff93cbeaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff93cbeaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff93cbeaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff93cbeaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff93cbefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff93cbefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff93cbefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff93c92620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff93c92620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff93c92620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff93ccef2c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff93ccef2c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff93ccef2c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff93cece78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff93cece78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff93cece78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff93fb6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff93fb6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff93fb6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff93fb6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff93fb6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff93fb7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff93fb7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff93fb7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff93fbc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff93fbc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff93fbc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff93fbc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff93fbc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff92412058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff92412058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff92412058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff92412058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff93ad7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff93a8f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff93a8f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff93a8f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff93c3d574 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #73 0x0000ffff93c3d574 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #74 0x0000ffff93c3d574 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #75 0x0000ffff93c3d574 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #76 0x0000ffff93c3bd18 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #77 0x0000ffff93c3c8c8 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #78 0x0000ffff93c3ce48 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #79 0x0000ffff93c3d180 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #80 0x0000aaaacf91e198 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #81 0x0000aaaacf91e198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #82 0x0000aaaacf91e198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #83 0x0000aaaacf91e198 clang::ento::(anonymous namespace)::SValTest_GetCompoundType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:278:1 #84 0x0000aaaacf940578 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x110578) #85 0x0000aaaacf941ae8 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111ae8) #86 0x0000aaaacf942208 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112208) #87 0x0000aaaacf94d6c8 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d6c8) #88 0x0000aaaacf94cf88 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf88) #89 0x0000aaaacf939ca8 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109ca8) #90 0x0000ffff8b06098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff8b060a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaacf88ff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-2532835-7-12.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/9/12 (18719 of 18966) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/9/12' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-2532835-9-12.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=12 GTEST_SHARD_INDEX=9 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 10 of 12. [==========] Running 29 tests from 15 test suites. [----------] Global test environment set-up. [----------] 1 test from RangeSetTest/0, where TypeParam = signed char [ RUN ] RangeSetTest/0.RangeSetNegateTest [ OK ] RangeSetTest/0.RangeSetNegateTest (3 ms) [----------] 1 test from RangeSetTest/0 (3 ms total) [----------] 1 test from RangeSetTest/1, where TypeParam = unsigned char [ RUN ] RangeSetTest/1.RangeSetContainsTest [ OK ] RangeSetTest/1.RangeSetContainsTest (3 ms) [----------] 1 test from RangeSetTest/1 (3 ms total) [----------] 1 test from RangeSetTest/3, where TypeParam = unsigned short [ RUN ] RangeSetTest/3.RangeSetNegateTest [ OK ] RangeSetTest/3.RangeSetNegateTest (2 ms) [----------] 1 test from RangeSetTest/3 (2 ms total) [----------] 1 test from RangeSetTest/4, where TypeParam = int [ RUN ] RangeSetTest/4.RangeSetContainsTest [ OK ] RangeSetTest/4.RangeSetContainsTest (2 ms) [----------] 1 test from RangeSetTest/4 (2 ms total) [----------] 1 test from RangeSetTest/6, where TypeParam = long [ RUN ] RangeSetTest/6.RangeSetNegateTest [ OK ] RangeSetTest/6.RangeSetNegateTest (2 ms) [----------] 1 test from RangeSetTest/6 (2 ms total) [----------] 1 test from RangeSetTest/7, where TypeParam = unsigned long [ RUN ] RangeSetTest/7.RangeSetContainsTest [ OK ] RangeSetTest/7.RangeSetContainsTest (1 ms) [----------] 1 test from RangeSetTest/7 (1 ms total) [----------] 1 test from RangeSetCastToPromotionTest/0, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionTest/0.Test [ OK ] RangeSetCastToPromotionTest/0.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionTest/0 (2 ms total) [----------] 1 test from RangeSetCastToTruncationTest/0, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationTest/0.Test [ OK ] RangeSetCastToTruncationTest/0.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationTest/0 (2 ms total) [----------] 1 test from RangeSetCastToConversionTest/0, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToConversionTest/0.Test [ OK ] RangeSetCastToConversionTest/0.Test (2 ms) [----------] 1 test from RangeSetCastToConversionTest/0 (2 ms total) [----------] 1 test from RangeSetCastToPromotionConversionTest/4, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionConversionTest/4.Test [ OK ] RangeSetCastToPromotionConversionTest/4.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionConversionTest/4 (2 ms total) [----------] 1 test from RangeSetCastToTruncationConversionTest/4, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationConversionTest/4.Test [ OK ] RangeSetCastToTruncationConversionTest/4.Test (1 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/4 (1 ms total) [----------] 1 test from FalsePositiveRefutationBRVisitorTestBase [ RUN ] FalsePositiveRefutationBRVisitorTestBase.UnSatAtErrorNodeWithNewSymbolNoReport [ SKIPPED ] FalsePositiveRefutationBRVisitorTestBase.UnSatAtErrorNodeWithNewSymbolNoReport (1 ms) [----------] 1 test from FalsePositiveRefutationBRVisitorTestBase (1 ms total) [----------] 1 test from CallDescription [ RUN ] CallDescription.SkipTopInlineNamespaces [ OK ] CallDescription.SkipTopInlineNamespaces (4 ms) [----------] 1 test from CallDescription (4 ms total) [----------] 1 test from StaticAnalyzerOptions [ RUN ] StaticAnalyzerOptions.StringOptions [ OK ] StaticAnalyzerOptions.StringOptions (0 ms) [----------] 1 test from StaticAnalyzerOptions (0 ms total) [----------] 15 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/10 [ OK ] SValTests/SValTest.GetConstType/10 (2 ms) [ RUN ] SValTests/SValTest.GetLocAsIntType/1 [ OK ] SValTests/SValTest.GetLocAsIntType/1 (2 ms) [ RUN ] SValTests/SValTest.GetLocAsIntType/13 [ OK ] SValTests/SValTest.GetLocAsIntType/13 (2 ms) [ RUN ] SValTests/SValTest.GetSymExprType/4 [ OK ] SValTests/SValTest.GetSymExprType/4 (2 ms) [ RUN ] SValTests/SValTest.GetSymExprType/16 [ OK ] SValTests/SValTest.GetSymExprType/16 (2 ms) [ RUN ] SValTests/SValTest.GetPointerType/7 [ OK ] SValTests/SValTest.GetPointerType/7 (2 ms) [ RUN ] SValTests/SValTest.GetPointerType/19 [ OK ] SValTests/SValTest.GetPointerType/19 (3 ms) [ RUN ] SValTests/SValTest.GetCompoundType/10 #0 0x0000ffff9af9acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9af990c8 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b90c8) #2 0x0000ffff9af9b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa3f1b800 (linux-vdso.so.1+0x800) #4 0x0000ffffa32129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa32129e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa32129e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa32129e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa32129e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa32129e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa32129e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa32129e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa2ec0048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa2ec0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa2ec0048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa2ec0048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa2ec0f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa2ec0f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa2ec0f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa2ec0f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa2ed3b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa2ed3b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa2ed3b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa2ed5060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa2ed5060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa2ed5060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa2ed4530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa2ed4530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa2ed4530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa2ee0b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa2ee0b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa2ee0b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa2eea414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa2eea414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa2eea414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa2e4eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa2e4eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa2e4eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa2e4eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa2e4efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa2e4efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa2e4efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa2e22620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa2e22620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa2e22620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa2e5ef2c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa2e5ef2c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa2e5ef2c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffa2e7ce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa2e7ce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa2e7ce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa3146bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa3146bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa3146bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa3146bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa3146bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa3147b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffa3147b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa3147b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa314c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa314c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa314c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa314c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa314c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa15a2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffa15a2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa15a2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffa15a2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa2c67450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa2c1f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa2c1f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa2c1f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa2dcd574 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #73 0x0000ffffa2dcd574 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #74 0x0000ffffa2dcd574 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #75 0x0000ffffa2dcd574 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #76 0x0000ffffa2dcbd18 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #77 0x0000ffffa2dcc8c8 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #78 0x0000ffffa2dcce48 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #79 0x0000ffffa2dcd180 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #80 0x0000aaaabffce198 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #81 0x0000aaaabffce198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #82 0x0000aaaabffce198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #83 0x0000aaaabffce198 clang::ento::(anonymous namespace)::SValTest_GetCompoundType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:278:1 #84 0x0000aaaabfff0578 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x110578) #85 0x0000aaaabfff1ae8 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111ae8) #86 0x0000aaaabfff2208 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112208) #87 0x0000aaaabfffd6c8 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d6c8) #88 0x0000aaaabfffcf88 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf88) #89 0x0000aaaabffe9ca8 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109ca8) #90 0x0000ffff9a1f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff9a1f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaabff3ff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-2532835-9-12.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/6/12 (18720 of 18966) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/6/12' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-2532835-6-12.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=12 GTEST_SHARD_INDEX=6 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 7 of 12. [==========] Running 30 tests from 15 test suites. [----------] Global test environment set-up. [----------] 1 test from RegisterDeps [ RUN ] RegisterDeps.UnsatisfiedDependency UnsatisfiedDependency.cc:1:11: warning: test.RegistrationOrder [test.RegistrationOrder] 1 | void f() {int i;} | ^~~~~ 1 warning generated. [ OK ] RegisterDeps.UnsatisfiedDependency (9 ms) [----------] 1 test from RegisterDeps (12 ms total) [----------] 1 test from RangeSetTest/1, where TypeParam = unsigned char [ RUN ] RangeSetTest/1.RangeSetPointIntersectTest [ OK ] RangeSetTest/1.RangeSetPointIntersectTest (2 ms) [----------] 1 test from RangeSetTest/1 (2 ms total) [----------] 1 test from RangeSetTest/2, where TypeParam = short [ RUN ] RangeSetTest/2.RangeSetAddTest [ OK ] RangeSetTest/2.RangeSetAddTest (2 ms) [----------] 1 test from RangeSetTest/2 (2 ms total) [----------] 1 test from RangeSetTest/4, where TypeParam = int [ RUN ] RangeSetTest/4.RangeSetPointIntersectTest [ OK ] RangeSetTest/4.RangeSetPointIntersectTest (2 ms) [----------] 1 test from RangeSetTest/4 (2 ms total) [----------] 1 test from RangeSetTest/5, where TypeParam = unsigned int [ RUN ] RangeSetTest/5.RangeSetAddTest [ OK ] RangeSetTest/5.RangeSetAddTest (2 ms) [----------] 1 test from RangeSetTest/5 (2 ms total) [----------] 1 test from RangeSetTest/7, where TypeParam = unsigned long [ RUN ] RangeSetTest/7.RangeSetPointIntersectTest [ OK ] RangeSetTest/7.RangeSetPointIntersectTest (2 ms) [----------] 1 test from RangeSetTest/7 (2 ms total) [----------] 1 test from RangeSetCastToNoopTest/5, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToNoopTest/5.RangeSetCastToNoopTest [ OK ] RangeSetCastToNoopTest/5.RangeSetCastToNoopTest (2 ms) [----------] 1 test from RangeSetCastToNoopTest/5 (2 ms total) [----------] 1 test from RangeSetCastToPromotionTest/9, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionTest/9.Test [ OK ] RangeSetCastToPromotionTest/9.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionTest/9 (2 ms total) [----------] 1 test from RangeSetCastToTruncationTest/9, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationTest/9.Test [ OK ] RangeSetCastToTruncationTest/9.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationTest/9 (2 ms total) [----------] 1 test from RangeSetCastToPromotionConversionTest/1, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionConversionTest/1.Test [ OK ] RangeSetCastToPromotionConversionTest/1.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionConversionTest/1 (2 ms total) [----------] 1 test from RangeSetCastToTruncationConversionTest/1, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationConversionTest/1.Test [ OK ] RangeSetCastToTruncationConversionTest/1.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/1 (2 ms total) [----------] 1 test from NoStateChangeFuncVisitor [ RUN ] NoStateChangeFuncVisitor.NonThoroughFunctionAnalysis NonThoroughFunctionAnalysis.cc:12:7: warning: error() called [test.StatefulChecker] 12 | error(); | ^~~~~~~ 1 warning generated. NonThoroughFunctionAnalysis.cc:13:7: warning: error() called [test.StatefulChecker] 13 | error(); | ^~~~~~~ 1 warning generated. [ OK ] NoStateChangeFuncVisitor.NonThoroughFunctionAnalysis (7 ms) [----------] 1 test from NoStateChangeFuncVisitor (7 ms total) [----------] 1 test from CallDescription [ RUN ] CallDescription.MatchConversionOperator [ OK ] CallDescription.MatchConversionOperator (3 ms) [----------] 1 test from CallDescription (3 ms total) [----------] 1 test from getAPSIntTypeTest [ RUN ] getAPSIntTypeTest.APSIntTypeTests [ OK ] getAPSIntTypeTest.APSIntTypeTests (1 ms) [----------] 1 test from getAPSIntTypeTest (1 ms total) [----------] 16 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/7 [ OK ] SValTests/SValTest.GetConstType/7 (2 ms) [ RUN ] SValTests/SValTest.GetConstType/19 [ OK ] SValTests/SValTest.GetConstType/19 (2 ms) [ RUN ] SValTests/SValTest.GetLocAsIntType/10 [ OK ] SValTests/SValTest.GetLocAsIntType/10 (2 ms) [ RUN ] SValTests/SValTest.GetSymExprType/1 [ OK ] SValTests/SValTest.GetSymExprType/1 (3 ms) [ RUN ] SValTests/SValTest.GetSymExprType/13 [ OK ] SValTests/SValTest.GetSymExprType/13 (3 ms) [ RUN ] SValTests/SValTest.GetPointerType/4 [ OK ] SValTests/SValTest.GetPointerType/4 (2 ms) [ RUN ] SValTests/SValTest.GetPointerType/16 [ OK ] SValTests/SValTest.GetPointerType/16 (2 ms) [ RUN ] SValTests/SValTest.GetCompoundType/7 #0 0x0000ffffacc1acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffacc190c8 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b90c8) #2 0x0000ffffacc1b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb5b9c800 (linux-vdso.so.1+0x800) #4 0x0000ffffb4e929e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb4e929e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb4e929e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb4e929e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb4e929e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb4e929e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb4e929e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb4e929e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb4b40048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb4b40048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb4b40048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb4b40048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb4b40f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb4b40f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb4b40f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb4b40f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb4b53b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb4b53b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb4b53b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb4b55060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb4b55060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb4b55060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb4b54530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb4b54530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb4b54530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb4b60b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb4b60b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb4b60b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb4b6a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb4b6a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb4b6a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb4aceaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb4aceaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb4aceaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb4aceaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb4acefb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb4acefb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb4acefb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb4aa2620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffb4aa2620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffb4aa2620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffb4adef2c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffb4adef2c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffb4adef2c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffb4afce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffb4afce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffb4afce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffb4dc6bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffb4dc6bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffb4dc6bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffb4dc6bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffb4dc6bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffb4dc7b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffb4dc7b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffb4dc7b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffb4dcc130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb4dcc130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb4dcc130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffb4dcc130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffb4dcc130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffb3222058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffb3222058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffb3222058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffb3222058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffb48e7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffb489f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffb489f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffb489f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffb4a4d574 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #73 0x0000ffffb4a4d574 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #74 0x0000ffffb4a4d574 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #75 0x0000ffffb4a4d574 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #76 0x0000ffffb4a4bd18 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #77 0x0000ffffb4a4c8c8 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #78 0x0000ffffb4a4ce48 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #79 0x0000ffffb4a4d180 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #80 0x0000aaaab442e198 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #81 0x0000aaaab442e198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #82 0x0000aaaab442e198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #83 0x0000aaaab442e198 clang::ento::(anonymous namespace)::SValTest_GetCompoundType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:278:1 #84 0x0000aaaab4450578 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x110578) #85 0x0000aaaab4451ae8 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111ae8) #86 0x0000aaaab4452208 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112208) #87 0x0000aaaab445d6c8 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d6c8) #88 0x0000aaaab445cf88 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf88) #89 0x0000aaaab4449ca8 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109ca8) #90 0x0000ffffabe7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffffabe70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaab439ff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-2532835-6-12.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/8/12 (18721 of 18966) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/8/12' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-2532835-8-12.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=12 GTEST_SHARD_INDEX=8 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 9 of 12. [==========] Running 29 tests from 15 test suites. [----------] Global test environment set-up. [----------] 1 test from RegisterDeps [ RUN ] RegisterDeps.DependencyInteraction DependencyInteraction.cc:1:11: warning: test.StrongDep test.WeakDep test.Dep test.RegistrationOrder [test.RegistrationOrder] 1 | void f() {int i;} | ^~~~~ 1 warning generated. DependencyInteraction.cc:1:11: warning: test.WeakDep test.StrongDep test.Dep test.RegistrationOrder [test.RegistrationOrder] 1 | void f() {int i;} | ^~~~~ 1 warning generated. DependencyInteraction.cc:1:11: warning: test.Dep test.RegistrationOrder test.StrongDep [test.RegistrationOrder] 1 | void f() {int i;} | ^~~~~ 1 warning generated. DependencyInteraction.cc:1:11: warning: test.Dep test.RegistrationOrder [test.RegistrationOrder] 1 | void f() {int i;} | ^~~~~ 1 warning generated. DependencyInteraction.cc:1:11: warning: test.Dep test.RegistrationOrder [test.RegistrationOrder] 1 | void f() {int i;} | ^~~~~ 1 warning generated. DependencyInteraction.cc:1:11: warning: test.StrongDep test.WeakDep test.Dep test.Dep2 test.RegistrationOrder [test.RegistrationOrder] 1 | void f() {int i;} | ^~~~~ 1 warning generated. [ OK ] RegisterDeps.DependencyInteraction (17 ms) [----------] 1 test from RegisterDeps (17 ms total) [----------] 1 test from RangeSetTest/1, where TypeParam = unsigned char [ RUN ] RangeSetTest/1.RangeSetGenericIntersectTest [ OK ] RangeSetTest/1.RangeSetGenericIntersectTest (2 ms) [----------] 1 test from RangeSetTest/1 (2 ms total) [----------] 1 test from RangeSetTest/2, where TypeParam = short [ RUN ] RangeSetTest/2.RangeSetUniteTest [ OK ] RangeSetTest/2.RangeSetUniteTest (2 ms) [----------] 1 test from RangeSetTest/2 (2 ms total) [----------] 1 test from RangeSetTest/4, where TypeParam = int [ RUN ] RangeSetTest/4.RangeSetGenericIntersectTest [ OK ] RangeSetTest/4.RangeSetGenericIntersectTest (2 ms) [----------] 1 test from RangeSetTest/4 (2 ms total) [----------] 1 test from RangeSetTest/5, where TypeParam = unsigned int [ RUN ] RangeSetTest/5.RangeSetUniteTest [ OK ] RangeSetTest/5.RangeSetUniteTest (2 ms) [----------] 1 test from RangeSetTest/5 (2 ms total) [----------] 1 test from RangeSetTest/7, where TypeParam = unsigned long [ RUN ] RangeSetTest/7.RangeSetGenericIntersectTest [ OK ] RangeSetTest/7.RangeSetGenericIntersectTest (2 ms) [----------] 1 test from RangeSetTest/7 (2 ms total) [----------] 1 test from RangeSetCastToNoopTest/7, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToNoopTest/7.RangeSetCastToNoopTest [ OK ] RangeSetCastToNoopTest/7.RangeSetCastToNoopTest (1 ms) [----------] 1 test from RangeSetCastToNoopTest/7 (2 ms total) [----------] 1 test from RangeSetCastToPromotionTest/11, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionTest/11.Test [ OK ] RangeSetCastToPromotionTest/11.Test (4 ms) [----------] 1 test from RangeSetCastToPromotionTest/11 (5 ms total) [----------] 1 test from RangeSetCastToTruncationTest/11, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationTest/11.Test [ OK ] RangeSetCastToTruncationTest/11.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationTest/11 (2 ms total) [----------] 1 test from RangeSetCastToPromotionConversionTest/3, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionConversionTest/3.Test [ OK ] RangeSetCastToPromotionConversionTest/3.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionConversionTest/3 (2 ms total) [----------] 1 test from RangeSetCastToTruncationConversionTest/3, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationConversionTest/3.Test [ OK ] RangeSetCastToTruncationConversionTest/3.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/3 (2 ms total) [----------] 1 test from FalsePositiveRefutationBRVisitorTestBase [ RUN ] FalsePositiveRefutationBRVisitorTestBase.UnSatInTheMiddleNoReport [ SKIPPED ] FalsePositiveRefutationBRVisitorTestBase.UnSatInTheMiddleNoReport (0 ms) [----------] 1 test from FalsePositiveRefutationBRVisitorTestBase (0 ms total) [----------] 1 test from CallDescription [ RUN ] CallDescription.DontSkipNonInlineNamespaces [ OK ] CallDescription.DontSkipNonInlineNamespaces (4 ms) [----------] 1 test from CallDescription (4 ms total) [----------] 1 test from StaticAnalyzerOptions [ RUN ] StaticAnalyzerOptions.SearchInParentPackageTests [ OK ] StaticAnalyzerOptions.SearchInParentPackageTests (0 ms) [----------] 1 test from StaticAnalyzerOptions (0 ms total) [----------] 15 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/9 [ OK ] SValTests/SValTest.GetConstType/9 (2 ms) [ RUN ] SValTests/SValTest.GetLocAsIntType/0 [ OK ] SValTests/SValTest.GetLocAsIntType/0 (3 ms) [ RUN ] SValTests/SValTest.GetLocAsIntType/12 [ OK ] SValTests/SValTest.GetLocAsIntType/12 (2 ms) [ RUN ] SValTests/SValTest.GetSymExprType/3 [ OK ] SValTests/SValTest.GetSymExprType/3 (1 ms) [ RUN ] SValTests/SValTest.GetSymExprType/15 [ OK ] SValTests/SValTest.GetSymExprType/15 (2 ms) [ RUN ] SValTests/SValTest.GetPointerType/6 [ OK ] SValTests/SValTest.GetPointerType/6 (2 ms) [ RUN ] SValTests/SValTest.GetPointerType/18 [ OK ] SValTests/SValTest.GetPointerType/18 (2 ms) [ RUN ] SValTests/SValTest.GetCompoundType/9 #0 0x0000ffffb3beacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb3be90c8 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b90c8) #2 0x0000ffffb3beb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbcb66800 (linux-vdso.so.1+0x800) #4 0x0000ffffbbe629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbbe629e8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbbe629e8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbbe629e8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbbe629e8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbbe629e8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbbe629e8 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbbe629e8 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbbb10048 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbbb10048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbbb10048 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbbb10048 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbbb10f78 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbbb10f78 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbbb10f78 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbbb10f78 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbbb23b10 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbbb23b10 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbbb23b10 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbbb25060 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbbb25060 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbbb25060 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbbb24530 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbbb24530 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbbb24530 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbbb30b70 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbbb30b70 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbbb30b70 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbbb3a414 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbbb3a414 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbbb3a414 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbba9eaec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbba9eaec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbba9eaec operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbba9eaec std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbba9efb8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbba9efb8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbba9efb8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffbba72620 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffbba72620 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffbba72620 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffbbaaef2c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffbbaaef2c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffbbaaef2c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffbbacce78 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffbbacce78 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffbbacce78 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffbbd96bcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffbbd96bcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffbbd96bcc clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffbbd96bcc RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffbbd96bcc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffbbd97b38 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffbbd97b38 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffbbd97b38 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffbbd9c130 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffbbd9c130 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffbbd9c130 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffbbd9c130 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffbbd9c130 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffba1f2058 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffba1f2058 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffba1f2058 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffba1f2058 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffbb8b7450 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffbb86f104 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffbb86f104 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffbb86f104 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffbba1d574 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #73 0x0000ffffbba1d574 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #74 0x0000ffffbba1d574 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #75 0x0000ffffbba1d574 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #76 0x0000ffffbba1bd18 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #77 0x0000ffffbba1c8c8 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #78 0x0000ffffbba1ce48 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #79 0x0000ffffbba1d180 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #80 0x0000aaaaeaa1e198 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #81 0x0000aaaaeaa1e198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #82 0x0000aaaaeaa1e198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #83 0x0000aaaaeaa1e198 clang::ento::(anonymous namespace)::SValTest_GetCompoundType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:278:1 #84 0x0000aaaaeaa40578 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x110578) #85 0x0000aaaaeaa41ae8 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111ae8) #86 0x0000aaaaeaa42208 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112208) #87 0x0000aaaaeaa4d6c8 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d6c8) #88 0x0000aaaaeaa4cf88 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf88) #89 0x0000aaaaeaa39ca8 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109ca8) #90 0x0000ffffb2e4098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffffb2e40a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaaea98ff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-2532835-8-12.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. ******************** Failed Tests (654): Clang :: Analysis/CFContainers.mm Clang :: Analysis/CFNumber.c Clang :: Analysis/CFRetainRelease_NSAssertionHandler.m Clang :: Analysis/CGColorSpace.c Clang :: Analysis/CheckNSError.m Clang :: Analysis/CheckThatArraySubsciptNodeIsNotCollected.cpp Clang :: Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m Clang :: Analysis/DeallocMissingRelease.m Clang :: Analysis/DeallocUseAfterFreeErrors.m Clang :: Analysis/DeleteWithNonVirtualDtor.cpp Clang :: Analysis/DynamicTypePropagation.m Clang :: Analysis/Issue56873.cpp Clang :: Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp Clang :: Analysis/Malloc+MismatchedDeallocator_intersections.cpp Clang :: Analysis/MemRegion.cpp Clang :: Analysis/MismatchedDeallocator-checker-test.mm Clang :: Analysis/MismatchedDeallocator-path-notes.cpp Clang :: Analysis/MissingDealloc.m Clang :: Analysis/NSContainers.m Clang :: Analysis/NSPanel.m Clang :: Analysis/NSString.m Clang :: Analysis/NSWindow.m Clang :: Analysis/NewDelete+MismatchedDeallocator_intersections.cpp Clang :: Analysis/NewDelete-atomics.cpp Clang :: Analysis/NewDelete-checker-test.cpp Clang :: Analysis/NewDelete-custom.cpp Clang :: Analysis/NewDelete-intersections.mm Clang :: Analysis/NewDelete-path-notes.cpp Clang :: Analysis/NewDelete-sized-deallocation.cpp Clang :: Analysis/NewDelete-variadic.cpp Clang :: Analysis/NewDeleteLeaks-PR18394.cpp Clang :: Analysis/NewDeleteLeaks-PR19102.cpp Clang :: Analysis/NewDeleteLeaks.cpp Clang :: Analysis/NoReturn.m Clang :: Analysis/OSAtomic_mac.cpp Clang :: Analysis/ObjCProperties.m Clang :: Analysis/ObjCRetSigs.m Clang :: Analysis/PR24184.cpp Clang :: Analysis/PR2978.m Clang :: Analysis/PR35418.cpp Clang :: Analysis/PR3991.m Clang :: Analysis/PR46264.cpp Clang :: Analysis/PR47511.cpp Clang :: Analysis/PR49490.cpp Clang :: Analysis/PR49642.c Clang :: Analysis/PR50268.c Clang :: Analysis/PR60412.cpp Clang :: Analysis/SpecialFunctionsCFError.cpp Clang :: Analysis/UserNullabilityAnnotations.m Clang :: Analysis/a_flaky_crash.cpp Clang :: Analysis/additive-folding-range-constraints.c Clang :: Analysis/additive-folding.cpp Clang :: Analysis/additive-op-on-sym-int-expr.c Clang :: Analysis/analysis-after-multiple-dtors.cpp Clang :: Analysis/analyzeOneFunction.m Clang :: Analysis/analyzer-stats.c Clang :: Analysis/array-bound-v2-constraint-check.c Clang :: Analysis/array-init-loop.cpp Clang :: Analysis/array-punned-region.c Clang :: Analysis/array-struct-region.c Clang :: Analysis/array-struct-region.cpp Clang :: Analysis/array-struct.c Clang :: Analysis/assume-controlled-environment.c Clang :: Analysis/atomics.c Clang :: Analysis/autoreleasewritechecker_test.m Clang :: Analysis/base-init.cpp Clang :: Analysis/bitwise-ops-nocrash.c Clang :: Analysis/bitwise-ops.c Clang :: Analysis/block-in-critical-section.cpp Clang :: Analysis/block-in-critical-section.m Clang :: Analysis/blocks-no-inline.c Clang :: Analysis/blocks.m Clang :: Analysis/blocks.mm Clang :: Analysis/bool-assignment.c Clang :: Analysis/bsd-string.c Clang :: Analysis/bstring.c Clang :: Analysis/bstring.cpp Clang :: Analysis/bstring_UninitRead.c Clang :: Analysis/bug_hash_test.cpp Clang :: Analysis/bug_hash_test.m Clang :: Analysis/builtin-functions.cpp Clang :: Analysis/c11lock.c Clang :: Analysis/call-and-message.cpp Clang :: Analysis/call-and-message.m Clang :: Analysis/call-invalidation.cpp Clang :: Analysis/call_once.cpp Clang :: Analysis/cast-to-struct.cpp Clang :: Analysis/cast-value-logic.cpp Clang :: Analysis/cast-value-notes.cpp Clang :: Analysis/cast-value-state-dump.cpp Clang :: Analysis/casts.c Clang :: Analysis/casts.cpp Clang :: Analysis/casts.m Clang :: Analysis/cert/env31-c.c Clang :: Analysis/cert/env34-c-cert-examples.c Clang :: Analysis/cert/env34-c.c Clang :: Analysis/cert/pos34-c-fp-suppression.cpp Clang :: Analysis/cert/pos34-c.cpp Clang :: Analysis/cfref_PR2519.c Clang :: Analysis/cfref_rdar6080742.c Clang :: Analysis/class-object-state-dump.m Clang :: Analysis/comparison-implicit-casts.cpp Clang :: Analysis/complex.c Clang :: Analysis/conditional-operator.cpp Clang :: Analysis/conditional-path-notes.c Clang :: Analysis/const-method-call.cpp Clang :: Analysis/constant-folding-crash.cpp Clang :: Analysis/constant-folding.c Clang :: Analysis/constraint-assignor.c Clang :: Analysis/constraint_manager_conditions.cpp Clang :: Analysis/constraint_manager_negate.c Clang :: Analysis/constraint_manager_negate_difference.c Clang :: Analysis/container-modeling.cpp Clang :: Analysis/conversion-tracking-notes.c Clang :: Analysis/conversion.c Clang :: Analysis/conversion.cpp Clang :: Analysis/copy-elision.cpp Clang :: Analysis/copy-elision.mm Clang :: Analysis/copypaste/asm.cpp Clang :: Analysis/copypaste/attributes.cpp Clang :: Analysis/copypaste/autogenerated_automoc.cpp Clang :: Analysis/copypaste/call.cpp Clang :: Analysis/copypaste/catch.cpp Clang :: Analysis/copypaste/clone-begin-end-different-file.cpp Clang :: Analysis/copypaste/dbus_autogenerated.cpp Clang :: Analysis/copypaste/delete.cpp Clang :: Analysis/copypaste/dependent-exist.cpp Clang :: Analysis/copypaste/expr-types.cpp Clang :: Analysis/copypaste/functions.cpp Clang :: Analysis/copypaste/generic.c Clang :: Analysis/copypaste/labels.cpp Clang :: Analysis/copypaste/lambda.cpp Clang :: Analysis/copypaste/macro-complexity.cpp Clang :: Analysis/copypaste/moc_autogenerated.cpp Clang :: Analysis/copypaste/not-autogenerated.cpp Clang :: Analysis/copypaste/objc-methods.m Clang :: Analysis/copypaste/plist-diagnostics-notes-as-events.cpp Clang :: Analysis/copypaste/plist-diagnostics.cpp Clang :: Analysis/copypaste/sub-sequences.cpp Clang :: Analysis/copypaste/suspicious-clones.cpp Clang :: Analysis/copypaste/text-diagnostics.cpp Clang :: Analysis/copypaste/ui_autogenerated.cpp Clang :: Analysis/coverage.c Clang :: Analysis/cstring-plist.c Clang :: Analysis/cstring-syntax-cxx.cpp Clang :: Analysis/cstring-syntax-weird.c Clang :: Analysis/cstring-syntax-weird2.c Clang :: Analysis/cstring-syntax.c Clang :: Analysis/ctor-array.cpp Clang :: Analysis/ctor-bug-path.cpp Clang :: Analysis/ctor-trivial-copy.cpp Clang :: Analysis/ctor.mm Clang :: Analysis/ctu-implicit.c Clang :: Analysis/ctu-main.c Clang :: Analysis/ctu-main.cpp Clang :: Analysis/ctu-on-demand-parsing.c Clang :: Analysis/ctu-on-demand-parsing.cpp Clang :: Analysis/ctu-onego-indirect.cpp Clang :: Analysis/ctu-onego-small.cpp Clang :: Analysis/ctu-onego-toplevel.cpp Clang :: Analysis/cxx-crashes.cpp Clang :: Analysis/cxx-dynamic-memory-analysis-order.cpp Clang :: Analysis/cxx-for-range.cpp Clang :: Analysis/cxx-inherited-ctor-init-expr.cpp Clang :: Analysis/cxx-inherited-ctor-is-skipped-as-top-level.cpp Clang :: Analysis/cxx-member-initializer-const-field.cpp Clang :: Analysis/cxx-method-names.cpp Clang :: Analysis/cxx-uninitialized-object-inheritance.cpp Clang :: Analysis/cxx-uninitialized-object-no-dereference.cpp Clang :: Analysis/cxx-uninitialized-object-notes-as-warnings.cpp Clang :: Analysis/cxx-uninitialized-object-ptr-ref.cpp Clang :: Analysis/cxx-uninitialized-object-unguarded-access.cpp Clang :: Analysis/cxx-uninitialized-object-unionlike-constructs.cpp Clang :: Analysis/cxx-uninitialized-object.cpp Clang :: Analysis/cxxctr-array-evalcall-analysis-order.cpp Clang :: Analysis/cxxctr-evalcall-analysis-order.cpp Clang :: Analysis/cxxnewexpr-callback.cpp Clang :: Analysis/dead-stores.c Clang :: Analysis/dead-stores.m Clang :: Analysis/debug-container-modeling.cpp Clang :: Analysis/debug-exprinspection-istainted.c Clang :: Analysis/debug-iterator-modeling.cpp Clang :: Analysis/delegates.m Clang :: Analysis/derived-to-base.cpp Clang :: Analysis/diagnostics/deref-track-symbolic-region.c Clang :: Analysis/diagnostics/deref-track-symbolic-region.cpp Clang :: Analysis/diagnostics/dtors.cpp Clang :: Analysis/diagnostics/explicit-suppression.cpp Clang :: Analysis/diagnostics/false-positive-suppression.c Clang :: Analysis/diagnostics/find_last_store.c Clang :: Analysis/diagnostics/implicit-cxx-std-suppression.cpp Clang :: Analysis/diagnostics/initializer.cpp Clang :: Analysis/diagnostics/invalid-srcloc-fix.cpp Clang :: Analysis/diagnostics/macro-null-return-suppression.cpp Clang :: Analysis/diagnostics/macros.cpp Clang :: Analysis/diagnostics/macros.m Clang :: Analysis/diagnostics/no-store-func-path-notes.c Clang :: Analysis/diagnostics/no-store-func-path-notes.cpp Clang :: Analysis/diagnostics/no-store-func-path-notes.m Clang :: Analysis/diagnostics/plist-diagnostics-include-check.cpp Clang :: Analysis/diagnostics/report-issues-within-main-file.cpp Clang :: Analysis/diagnostics/sarif-diagnostics-taint-test.c Clang :: Analysis/diagnostics/sarif-multi-diagnostic-test.c Clang :: Analysis/diagnostics/text-diagnostics.c Clang :: Analysis/diagnostics/track_subexpressions.cpp Clang :: Analysis/diagnostics/undef-value-param.c Clang :: Analysis/diagnostics/undef-value-param.m Clang :: Analysis/dispatch-once.m Clang :: Analysis/div-zero.cpp Clang :: Analysis/division-by-zero-track-zero.c Clang :: Analysis/division-by-zero-track-zero.cpp Clang :: Analysis/division-by-zero.c Clang :: Analysis/double-ranges-bug.c Clang :: Analysis/dtor-array.cpp Clang :: Analysis/dtor-cxx11.cpp Clang :: Analysis/dtor.cpp Clang :: Analysis/dump_egraph.cpp Clang :: Analysis/dynamic-cast.cpp Clang :: Analysis/edges-new.mm Clang :: Analysis/end-function-return-stmt.cpp Clang :: Analysis/engine/replay-without-inlining.c Clang :: Analysis/enum-cast-out-of-range.cpp Clang :: Analysis/enum.cpp Clang :: Analysis/equality_tracking.c Clang :: Analysis/errno-notes.c Clang :: Analysis/errno-options.c Clang :: Analysis/errno-stdlibraryfunctions-notes.c Clang :: Analysis/errno-stdlibraryfunctions.c Clang :: Analysis/errno.c Clang :: Analysis/eval-predefined-exprs.cpp Clang :: Analysis/exceptions.mm Clang :: Analysis/exercise-ps.c Clang :: Analysis/explain-svals.c Clang :: Analysis/explain-svals.cpp Clang :: Analysis/explain-svals.m Clang :: Analysis/exploded-graph-rewriter/dynamic_types.cpp Clang :: Analysis/exploded-graph-rewriter/initializers_under_construction.cpp Clang :: Analysis/exploded-graph-rewriter/objects_under_construction.cpp Clang :: Analysis/exploration_order/noexprcrash.c Clang :: Analysis/exploration_order/prefer_unexplored.cpp Clang :: Analysis/expr-inspection-printState-diseq-info.c Clang :: Analysis/expr-inspection-printState-eq-classes.c Clang :: Analysis/expr-inspection.c Clang :: Analysis/expr-inspection.cpp Clang :: Analysis/fields.c Clang :: Analysis/find-binop-constraints.cpp Clang :: Analysis/flexible-array-member.cpp Clang :: Analysis/flexible-array-members.c Clang :: Analysis/free.c Clang :: Analysis/free.cpp Clang :: Analysis/fuchsia_handle.cpp Clang :: Analysis/fuchsia_lock.c Clang :: Analysis/fuchsia_lock_impl.c Clang :: Analysis/func.c Clang :: Analysis/gcdantipatternchecker_test.m Clang :: Analysis/generics.m Clang :: Analysis/global-region-invalidation-errno.c Clang :: Analysis/global-region-invalidation.c Clang :: Analysis/global_region_invalidation.mm Clang :: Analysis/globals-are-not-always-immutable.c Clang :: Analysis/globals.cpp Clang :: Analysis/gmalloc.c Clang :: Analysis/gtest.cpp Clang :: Analysis/handle_constructors_for_default_arguments.cpp Clang :: Analysis/handle_constructors_with_new_array.cpp Clang :: Analysis/hangs.c Clang :: Analysis/html_diagnostics/control-arrows.cpp Clang :: Analysis/html_diagnostics/relevant_lines/goto.c Clang :: Analysis/html_diagnostics/relevant_lines/macros_same_file.c Clang :: Analysis/html_diagnostics/relevant_lines/multifile.c Clang :: Analysis/html_diagnostics/relevant_lines/multiline_func_def.c Clang :: Analysis/html_diagnostics/relevant_lines/objcmethods.m Clang :: Analysis/html_diagnostics/relevant_lines/simple_conditional.c Clang :: Analysis/html_diagnostics/relevant_lines/switch.c Clang :: Analysis/html_diagnostics/relevant_lines/switch_default.c Clang :: Analysis/html_diagnostics/relevant_lines/synthesized_body.cpp Clang :: Analysis/html_diagnostics/relevant_lines/unused_header.c Clang :: Analysis/identical-expressions.cpp Clang :: Analysis/implicit-ctor-undef-value.cpp Clang :: Analysis/incorrect-checker-names.mm Clang :: Analysis/infeasible-crash.c Clang :: Analysis/infeasible-sink.c Clang :: Analysis/initializer.cpp Clang :: Analysis/inline-not-supported.c Clang :: Analysis/inline-plist.c Clang :: Analysis/inline.cpp Clang :: Analysis/inline3.c Clang :: Analysis/inline4.c Clang :: Analysis/inlining/DynDispatchBifurcate.m Clang :: Analysis/inlining/InlineObjCClassMethod.m Clang :: Analysis/inlining/InlineObjCInstanceMethod.m Clang :: Analysis/inlining/ObjCDynTypePopagation.m Clang :: Analysis/inlining/ObjCImproperDynamictallyDetectableCast.m Clang :: Analysis/inlining/RetainCountExamples.m Clang :: Analysis/inlining/assume-super-init-does-not-return-nil.m Clang :: Analysis/inlining/containers.cpp Clang :: Analysis/inlining/dyn-dispatch-bifurcate.cpp Clang :: Analysis/inlining/false-positive-suppression.c Clang :: Analysis/inlining/false-positive-suppression.cpp Clang :: Analysis/inlining/false-positive-suppression.m Clang :: Analysis/inlining/inline-defensive-checks.c Clang :: Analysis/inlining/inline-defensive-checks.cpp Clang :: Analysis/inlining/inline-defensive-checks.m Clang :: Analysis/inlining/path-notes.c Clang :: Analysis/inlining/path-notes.cpp Clang :: Analysis/inlining/path-notes.m Clang :: Analysis/inlining/placement-new-fp-suppression.cpp Clang :: Analysis/inlining/retain-count-self-init.m Clang :: Analysis/inlining/stl.cpp Clang :: Analysis/inlining/temp-dtors-path-notes.cpp Clang :: Analysis/inlining/test_objc_inlining_option.m Clang :: Analysis/inner-pointer.cpp Clang :: Analysis/invalidated-iterator.cpp Clang :: Analysis/issue-55019.cpp Clang :: Analysis/iterator-modeling.cpp Clang :: Analysis/iterator-range.cpp Clang :: Analysis/ivars.m Clang :: Analysis/keychainAPI-diagnostic-visitor.m Clang :: Analysis/keychainAPI.m Clang :: Analysis/kmalloc-linux.c Clang :: Analysis/lambdas-generalized-capture.cpp Clang :: Analysis/lambdas-modern.cpp Clang :: Analysis/lambdas.cpp Clang :: Analysis/lambdas.mm Clang :: Analysis/left-shift-cxx2a.cpp Clang :: Analysis/lifetime-extended-regions.cpp Clang :: Analysis/lifetime-extension.cpp Clang :: Analysis/lifetime-extension.mm Clang :: Analysis/live-bindings-test.cpp Clang :: Analysis/live-variables.cpp Clang :: Analysis/live-variables.m Clang :: Analysis/llvm-conventions.cpp Clang :: Analysis/localization-aggressive.m Clang :: Analysis/localization.m Clang :: Analysis/logical-ops.c Clang :: Analysis/loop-unrolling.cpp Clang :: Analysis/loop-widening-notes.cpp Clang :: Analysis/loop-widening-preserve-reference-type.cpp Clang :: Analysis/loop-widening.c Clang :: Analysis/loop-widening.cpp Clang :: Analysis/main.c Clang :: Analysis/main.cpp Clang :: Analysis/malloc-annotations.c Clang :: Analysis/malloc-annotations.cpp Clang :: Analysis/malloc-bodyfarms.c Clang :: Analysis/malloc-bodyfarms.cpp Clang :: Analysis/malloc-fnptr-plist.c Clang :: Analysis/malloc-free-after-return.cpp Clang :: Analysis/malloc-interprocedural.c Clang :: Analysis/malloc-overflow2.c Clang :: Analysis/malloc-plist.c Clang :: Analysis/malloc-static-storage.cpp Clang :: Analysis/malloc.c Clang :: Analysis/malloc.cpp Clang :: Analysis/malloc.m Clang :: Analysis/malloc.mm Clang :: Analysis/max-nodes-suppress-on-sink.c Clang :: Analysis/max-nodes-suppress-on-sink.cpp Clang :: Analysis/member-expr.cpp Clang :: Analysis/memory-model.cpp Clang :: Analysis/method-call-intra-p.cpp Clang :: Analysis/method-call-path-notes.cpp Clang :: Analysis/method-call.cpp Clang :: Analysis/mig.mm Clang :: Analysis/misc-ps-64.m Clang :: Analysis/misc-ps-cxx0x.cpp Clang :: Analysis/misc-ps-eager-assume.m Clang :: Analysis/misc-ps-ranges.m Clang :: Analysis/misc-ps-region-store.cpp Clang :: Analysis/misc-ps-region-store.m Clang :: Analysis/misc-ps-region-store.mm Clang :: Analysis/misc-ps.c Clang :: Analysis/misc-ps.m Clang :: Analysis/mismatched-iterator.cpp Clang :: Analysis/missing-bind-temporary.cpp Clang :: Analysis/model-file.cpp Clang :: Analysis/mpichecker.cpp Clang :: Analysis/mpicheckernotes.cpp Clang :: Analysis/mutually_exclusive_null_fp.cpp Clang :: Analysis/new-aligned.cpp Clang :: Analysis/new-ctor-conservative.cpp Clang :: Analysis/new-ctor-inlined.cpp Clang :: Analysis/new-ctor-malloc.cpp Clang :: Analysis/new-ctor-null-throw.cpp Clang :: Analysis/new-ctor-null.cpp Clang :: Analysis/new-ctor-recursive.cpp Clang :: Analysis/new-ctor-symbolic.cpp Clang :: Analysis/new-dynamic-types.cpp Clang :: Analysis/new-with-exceptions.cpp Clang :: Analysis/new.cpp Clang :: Analysis/nil-receiver-undefined-larger-than-voidptr-ret-region.m Clang :: Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m Clang :: Analysis/no-exit-cfg.c Clang :: Analysis/no-outofbounds.c Clang :: Analysis/no-return.c Clang :: Analysis/no-store-suppression.cpp Clang :: Analysis/no-unreachable-dtors.cpp Clang :: Analysis/non-diagnosable-assumptions.c Clang :: Analysis/nonnull-global-constants.mm Clang :: Analysis/nonnull.cpp Clang :: Analysis/nonnull.m Clang :: Analysis/nonnullparamchecker-crash.cpp Clang :: Analysis/novoidtypecrash.c Clang :: Analysis/null-deref-offsets.c Clang :: Analysis/null-deref-path-notes.cpp Clang :: Analysis/null-deref-path-notes.m Clang :: Analysis/null-deref-ps-region.c Clang :: Analysis/null-deref-ps.c Clang :: Analysis/null-deref-static.m Clang :: Analysis/nullability-arc.mm Clang :: Analysis/nullability-no-arc.mm Clang :: Analysis/nullability-notes.m Clang :: Analysis/nullability.mm Clang :: Analysis/nullability_nullonly.mm Clang :: Analysis/nullptr.cpp Clang :: Analysis/objc-arc.m Clang :: Analysis/objc-boxing.m Clang :: Analysis/objc-for.m Clang :: Analysis/objc-indirect-copy-restore.m Clang :: Analysis/objc-live-crash.mm Clang :: Analysis/objc-message.m Clang :: Analysis/objc-radar17039661.m Clang :: Analysis/objc-subscript.m Clang :: Analysis/objc/direct-ivar-assignment-in-annotated-functions.m Clang :: Analysis/objc_invalidation.m Clang :: Analysis/objcpp-uninitialized-object.mm Clang :: Analysis/operator-calls.cpp Clang :: Analysis/osobject-retain-release.cpp Clang :: Analysis/out-of-bounds-new.cpp Clang :: Analysis/out-of-bounds.c Clang :: Analysis/outofbound.c Clang :: Analysis/override-werror.c Clang :: Analysis/path-notes-impl-param.m Clang :: Analysis/placement-new-user-defined.cpp Clang :: Analysis/placement-new.cpp Clang :: Analysis/plist-diagnostics-template-function.cpp Clang :: Analysis/plist-diagnostics-template-record.cpp Clang :: Analysis/plist-html-macros.c Clang :: Analysis/plist-macros.cpp Clang :: Analysis/plist-output-alternate.m Clang :: Analysis/plist-output.m Clang :: Analysis/pointer-to-member.cpp Clang :: Analysis/pr22954.c Clang :: Analysis/pr37802.cpp Clang :: Analysis/pr4209.m Clang :: Analysis/pr_2542_rdar_6793404.m Clang :: Analysis/pr_4164.c Clang :: Analysis/print-ranges.cpp Clang :: Analysis/properties.m Clang :: Analysis/properties.mm Clang :: Analysis/pthreadlock.c Clang :: Analysis/pthreadlock_state.c Clang :: Analysis/pthreadlock_state_nottracked.c Clang :: Analysis/ptr-arith.c Clang :: Analysis/ptr-arith.cpp Clang :: Analysis/ptr-cmp-const-trunc.cl Clang :: Analysis/ptr-iter.cpp Clang :: Analysis/ptr-sort.cpp Clang :: Analysis/qt_malloc.cpp Clang :: Analysis/range_casts.c Clang :: Analysis/rdar-6442306-1.m Clang :: Analysis/rdar-6540084.m Clang :: Analysis/rdar-6562655.m Clang :: Analysis/rdar-6600344-nil-receiver-undefined-struct-ret.m Clang :: Analysis/rdar-7168531.m Clang :: Analysis/redefined_system.c Clang :: Analysis/refcnt_naming.m Clang :: Analysis/reference.cpp Clang :: Analysis/region-1.m Clang :: Analysis/region-store.c Clang :: Analysis/region-store.cpp Clang :: Analysis/region_store_overflow.c Clang :: Analysis/reinterpret-cast-pointer-to-member.cpp Clang :: Analysis/reinterpret-cast.cpp Clang :: Analysis/retain-count-alloc.cpp Clang :: Analysis/retain-release-arc.m Clang :: Analysis/retain-release-cache-out.m Clang :: Analysis/retain-release-cf-audited.m Clang :: Analysis/retain-release-compound-literal.m Clang :: Analysis/retain-release-cpp-classes.cpp Clang :: Analysis/retain-release-inline.m Clang :: Analysis/retain-release-path-notes.m Clang :: Analysis/retain-release-region-store.m Clang :: Analysis/retain-release-safe.c Clang :: Analysis/retain-release.m Clang :: Analysis/retain-release.mm Clang :: Analysis/retaincountchecker-compoundregion.m Clang :: Analysis/return-ptr-range.cpp Clang :: Analysis/return-stmt-merge.cpp Clang :: Analysis/return-value-guaranteed.cpp Clang :: Analysis/returns_nonnull-attribute.cpp Clang :: Analysis/runtime-regression.c Clang :: Analysis/rvo.cpp Clang :: Analysis/scan-build/exclude_directories.test Clang :: Analysis/scan-build/silence-core-checkers.test Clang :: Analysis/self-assign.cpp Clang :: Analysis/self-init.m Clang :: Analysis/shallow-mode.m Clang :: Analysis/silence-checkers-and-packages-core-all.cpp Clang :: Analysis/silence-checkers-and-packages-core-div-by-zero.cpp Clang :: Analysis/silence-checkers.cpp Clang :: Analysis/simple-stream-checks.c Clang :: Analysis/smart-ptr-text-output.cpp Clang :: Analysis/smart-ptr.cpp Clang :: Analysis/solver-sym-simplification-adjustment.c Clang :: Analysis/solver-sym-simplification-concreteint.c Clang :: Analysis/solver-sym-simplification-no-crash.c Clang :: Analysis/solver-sym-simplification-no-crash2.c Clang :: Analysis/solver-sym-simplification-ptr-bool.cl Clang :: Analysis/solver-sym-simplification-with-proper-range-type.c Clang :: Analysis/stack-addr-ps.c Clang :: Analysis/stack-addr-ps.cpp Clang :: Analysis/stack-capture-leak-arc.mm Clang :: Analysis/stack-capture-leak-no-arc.mm Clang :: Analysis/stack-frame-context-revision.cpp Clang :: Analysis/stackaddrleak.c Clang :: Analysis/static_local.m Clang :: Analysis/std-c-library-functions-arg-constraints-note-tags.cpp Clang :: Analysis/std-c-library-functions-arg-constraints-notes.cpp Clang :: Analysis/std-c-library-functions-arg-constraints.c Clang :: Analysis/std-c-library-functions-arg-cstring-dependency.c Clang :: Analysis/std-c-library-functions-eof.c Clang :: Analysis/std-c-library-functions-inlined.c Clang :: Analysis/std-c-library-functions-path-notes.c Clang :: Analysis/std-c-library-functions-vs-stream-checker.c Clang :: Analysis/std-c-library-functions.c Clang :: Analysis/std-c-library-functions.cpp Clang :: Analysis/std-c-library-posix-crash.c Clang :: Analysis/std-string.cpp Clang :: Analysis/stl-algorithm-modeling-aggressive-std-find-modeling.cpp Clang :: Analysis/stl-algorithm-modeling.cpp Clang :: Analysis/stream-errno-note.c Clang :: Analysis/stream-errno.c Clang :: Analysis/stream-error.c Clang :: Analysis/stream-noopen.c Clang :: Analysis/stream-note.c Clang :: Analysis/stream-stdlibraryfunctionargs.c Clang :: Analysis/stream.c Clang :: Analysis/stream.cpp Clang :: Analysis/string-with-signedness.c Clang :: Analysis/string.c Clang :: Analysis/string.cpp Clang :: Analysis/structured_bindings.cpp Clang :: Analysis/svalbuilder-casts.cpp Clang :: Analysis/svalbuilder-float-cast.c Clang :: Analysis/svalbuilder-logic.c Clang :: Analysis/svalbuilder-rearrange-comparisons.cpp Clang :: Analysis/svalbuilder-simplify-compound-svals.cpp Clang :: Analysis/svalbuilder-simplify-in-evalbinop.cpp Clang :: Analysis/svalbuilder-simplify-intsym.cpp Clang :: Analysis/svalbuilder-simplify-no-crash.c Clang :: Analysis/switch-case.c Clang :: Analysis/symbol-escape.cpp Clang :: Analysis/symbol-reaper-lambda.cpp Clang :: Analysis/symbol-reaper.c Clang :: Analysis/symbol-reaper.cpp Clang :: Analysis/symbol-simplification-assertion.c Clang :: Analysis/symbol-simplification-bo-div.c Clang :: Analysis/symbol-simplification-disequality-info.cpp Clang :: Analysis/symbol-simplification-fixpoint-iteration-unreachable-code.cpp Clang :: Analysis/symbol-simplification-fixpoint-one-iteration.cpp Clang :: Analysis/symbol-simplification-fixpoint-two-iterations.cpp Clang :: Analysis/symbol-simplification-nonloc-loc.cpp Clang :: Analysis/symbol-simplification-reassume.cpp Clang :: Analysis/symbol-simplification-symplify-results-in-dead-symbol.cpp Clang :: Analysis/taint-diagnostic-visitor.c Clang :: Analysis/taint-dumps.c Clang :: Analysis/taint-generic.c Clang :: Analysis/taint-generic.cpp Clang :: Analysis/taint-tester.c Clang :: Analysis/taint-tester.cpp Clang :: Analysis/temp-obj-dtors-option.cpp Clang :: Analysis/template-param-objects.cpp Clang :: Analysis/templates.cpp Clang :: Analysis/temporaries-callback-order.cpp Clang :: Analysis/temporaries.cpp Clang :: Analysis/temporaries.mm Clang :: Analysis/test-after-div-zero.c Clang :: Analysis/test-include-cpp.cpp Clang :: Analysis/test-objc-non-nil-return-value-checker.m Clang :: Analysis/test-separate-retaincount.cpp Clang :: Analysis/test-variably-modified-types.c Clang :: Analysis/this-pointer.cpp Clang :: Analysis/track-control-dependency-conditions.cpp Clang :: Analysis/track-control-dependency-conditions.m Clang :: Analysis/traversal-algorithm.mm Clang :: Analysis/traversal-path-unification.c Clang :: Analysis/trivial-copy-struct.cpp Clang :: Analysis/trustnonnullchecker_test.mm Clang :: Analysis/unary-sym-expr-no-crash.c Clang :: Analysis/unary-sym-expr.c Clang :: Analysis/undef-buffers.c Clang :: Analysis/unified-sources/UnifiedSource-1.cpp Clang :: Analysis/unified-sources/source1.cpp Clang :: Analysis/uninit-bug-first-iteration-init.c Clang :: Analysis/uninit-const.c Clang :: Analysis/uninit-const.cpp Clang :: Analysis/uninit-exhaustive-switch-bug.c Clang :: Analysis/uninit-ps-rdar6145427.m Clang :: Analysis/uninit-structured-binding-array.cpp Clang :: Analysis/uninit-structured-binding-struct.cpp Clang :: Analysis/uninit-structured-binding-tuple.cpp Clang :: Analysis/uninit-val-const-likeness.c Clang :: Analysis/uninit-vals.c Clang :: Analysis/uninit-vals.cpp Clang :: Analysis/uninit-vals.m Clang :: Analysis/unions-region.m Clang :: Analysis/unions.cpp Clang :: Analysis/unix-api.c Clang :: Analysis/unix-api.cpp Clang :: Analysis/unix-fns.c Clang :: Analysis/unreachable-code-path.c Clang :: Analysis/use-after-move.cpp Clang :: Analysis/valist-as-lazycompound.c Clang :: Analysis/valist-uninitialized-no-undef.c Clang :: Analysis/valist-uninitialized.c Clang :: Analysis/valist-unterminated.c Clang :: Analysis/variadic-method-types.m Clang :: Analysis/vector.m Clang :: Analysis/vfork.c Clang :: Analysis/virtualcall-fixits.cpp Clang :: Analysis/virtualcall-plist.cpp Clang :: Analysis/virtualcall.cpp Clang :: Analysis/vla-overflow.c Clang :: Analysis/vla.c Clang :: Analysis/weak-functions.c Clang :: Analysis/wstring.c Clang :: Analysis/z3/apsint.c Clang :: Analysis/zero-operands.c Clang :: Analysis/zero-size-non-pod-array.cpp Clang :: CodeGen/LoongArch/intrinsic-la32.c Clang :: CodeGen/LoongArch/intrinsic-la64.c Clang :: CodeGen/LoongArch/lasx/builtin-alias.c Clang :: CodeGen/LoongArch/lasx/builtin.c Clang :: CodeGen/LoongArch/lsx/builtin-alias.c Clang :: CodeGen/LoongArch/lsx/builtin.c Clang :: Coverage/html-diagnostics.c Clang :: Tooling/clang-check-analyze-save-temps.cpp Clang :: Tooling/clang-check-analyzer.cpp Clang Tools :: clang-tidy/infrastructure/static-analyzer-config.cpp Clang Tools :: clang-tidy/infrastructure/static-analyzer.cpp Clang Tools :: clang-tidy/infrastructure/temporaries.cpp Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/0/12 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/1/12 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/10/12 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/11/12 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/2/12 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/3/12 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/4/12 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/5/12 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/6/12 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/7/12 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/8/12 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/9/12 Testing Time: 518.95s Skipped : 33 Unsupported : 162 Passed : 35632 Expectedly Failed: 29 Failed : 654 FAILED: CMakeFiles/check-all /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/CMakeFiles/check-all cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /usr/bin/python3.11 /usr/bin/lit -sv --param USE_Z3_SOLVER=0 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/include-cleaner/test /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/test /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/test/../unittests /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/test /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/test /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test ninja: build stopped: subcommand failed. + : + RPM_EC=0 ++ jobs -p + exit 0 Processing files: clang-17.0.6-3.ocs23.aarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.RB6cRW + umask 022 + cd /builddir/build/BUILD + cd clang-17.0.6.src + LICENSEDIR=/builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/licenses/clang + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/licenses/clang + cp -pr LICENSE.TXT /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/share/licenses/clang + RPM_EC=0 ++ jobs -p + exit 0 warning: Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang++ and /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-17 warning: Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang++ and /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-cl warning: Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang++ and /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-cpp Provides: clang = 17.0.6-3.ocs23 clang(aarch-64) = 17.0.6-3.ocs23 clang(major) = 17 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libLLVM-17.so()(64bit) libLLVM-17.so(LLVM_17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libclang-cpp.so.17()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) rtld(GNU_HASH) Processing files: clang-libs-17.0.6-3.ocs23.aarch64 Provides: clang-libs = 17.0.6-3.ocs23 clang-libs(aarch-64) = 17.0.6-3.ocs23 libclang-cpp.so.17()(64bit) libclang.so.17()(64bit) libclang.so.17(LLVM_13)(64bit) libclang.so.17(LLVM_16)(64bit) libclang.so.17(LLVM_17)(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libLLVM-17.so()(64bit) libLLVM-17.so(LLVM_17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_4.2.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.29)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.11)(64bit) libstdc++.so.6(CXXABI_1.3.13)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Recommends: compiler-rt = 17.0.6 libomp = 17.0.6 libomp-devel = 17.0.6 Processing files: clang-devel-17.0.6-3.ocs23.aarch64 Provides: clang-devel = 17.0.6-3.ocs23 clang-devel(aarch-64) = 17.0.6-3.ocs23 cmake(Clang) = 17.0.6 cmake(clang) = 17.0.6 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cmake-filesystem(aarch-64) libclang-cpp.so.17()(64bit) libclang.so.17()(64bit) Processing files: clang-resource-filesystem-17.0.6-3.ocs23.aarch64 Provides: clang-resource-filesystem = 17.0.6-3.ocs23 clang-resource-filesystem(aarch-64) = 17.0.6-3.ocs23 clang-resource-filesystem(major) = 17 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: clang-analyzer-17.0.6-3.ocs23.noarch Provides: clang-analyzer = 17.0.6-3.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/perl /usr/bin/python3 perl(Cwd) perl(File::Basename) perl(File::Copy) perl(File::Find) perl(File::Path) perl(File::Temp) perl(FindBin) perl(Hash::Util) perl(Sys::Hostname) perl(Term::ANSIColor) perl(Text::ParseWords) perl(lib) perl(strict) perl(warnings) python(abi) = 3.11 Processing files: clang-tools-extra-17.0.6-3.ocs23.aarch64 warning: absolute symlink: /usr/bin/clang-format-diff -> /usr/share/clang/clang-format-diff.py Provides: clang-tools-extra = 17.0.6-3.ocs23 clang-tools-extra(aarch-64) = 17.0.6-3.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libLLVM-17.so()(64bit) libLLVM-17.so(LLVM_17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libclang-cpp.so.17()(64bit) libclang.so.17()(64bit) libclang.so.17(LLVM_13)(64bit) libclang.so.17(LLVM_16)(64bit) libclang.so.17(LLVM_17)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libm.so.6(GLIBC_2.29)(64bit) libm.so.6(GLIBC_2.38)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.11)(64bit) libstdc++.so.6(CXXABI_1.3.13)(64bit) libstdc++.so.6(CXXABI_1.3.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libxml2.so.2()(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) libxml2.so.2(LIBXML2_2.5.2)(64bit) libxml2.so.2(LIBXML2_2.6.0)(64bit) rtld(GNU_HASH) Processing files: git-clang-format-17.0.6-3.ocs23.aarch64 Provides: git-clang-format = 17.0.6-3.ocs23 git-clang-format(aarch-64) = 17.0.6-3.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 Processing files: python3-clang-17.0.6-3.ocs23.aarch64 Provides: python-clang = 17.0.6-3.ocs23 python3-clang = 17.0.6-3.ocs23 python3-clang(aarch-64) = 17.0.6-3.ocs23 python3.11-clang = 17.0.6-3.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.11 Obsoletes: python3.11-clang < 17.0.6-3.ocs23 Processing files: clang-debugsource-17.0.6-3.ocs23.aarch64 Provides: clang-debugsource = 17.0.6-3.ocs23 clang-debugsource(aarch-64) = 17.0.6-3.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: clang-debuginfo-17.0.6-3.ocs23.aarch64 warning: Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/debug/usr/bin/clang++-17.0.6-3.ocs23.aarch64.debug and /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/debug/usr/bin/clang-17-17.0.6-3.ocs23.aarch64.debug warning: Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/debug/usr/bin/clang++-17.0.6-3.ocs23.aarch64.debug and /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/debug/usr/bin/clang-cl-17.0.6-3.ocs23.aarch64.debug warning: Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/debug/usr/bin/clang++-17.0.6-3.ocs23.aarch64.debug and /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/debug/usr/bin/clang-cpp-17.0.6-3.ocs23.aarch64.debug Provides: clang-debuginfo = 17.0.6-3.ocs23 clang-debuginfo(aarch-64) = 17.0.6-3.ocs23 debuginfo(build-id) = ca959ed322c5ab49843b8ef5a1bbeeaec0064e55 debuginfo(build-id) = nilnil Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: clang-debugsource(aarch-64) = 17.0.6-3.ocs23 Processing files: clang-libs-debuginfo-17.0.6-3.ocs23.aarch64 Provides: clang-libs-debuginfo = 17.0.6-3.ocs23 clang-libs-debuginfo(aarch-64) = 17.0.6-3.ocs23 debuginfo(build-id) = 3ba23e81ca7c6b42cb100edbca1a9951e55f1131 debuginfo(build-id) = be2e4417d7d5047fbcfa2be1622b8f3694bf6d7d libclang-cpp.so.17-17.0.6-3.ocs23.aarch64.debug()(64bit) libclang.so.17.0.6-17.0.6-3.ocs23.aarch64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: clang-debugsource(aarch-64) = 17.0.6-3.ocs23 Processing files: clang-tools-extra-debuginfo-17.0.6-3.ocs23.aarch64 Provides: clang-tools-extra-debuginfo = 17.0.6-3.ocs23 clang-tools-extra-debuginfo(aarch-64) = 17.0.6-3.ocs23 debuginfo(build-id) = 031b161966a4a22eb23502efc6e8543494485077 debuginfo(build-id) = 083784f292ca245a1fc4979c0c291d87aa933416 debuginfo(build-id) = 0a08cc2f3cc1a3241fb837ca7f8af6b1c00d75c8 debuginfo(build-id) = 0e078eb08269d9d40e7911894add5a93d2dda896 debuginfo(build-id) = 0e1e7873be6ac107877a55e3337c8e3d46f73b3b debuginfo(build-id) = 195b5c0d683c4a54a13f0023ff5556ba05d5d3d2 debuginfo(build-id) = 3f46eed3100dd6602a62e3e80f779f608eff88b6 debuginfo(build-id) = 4370e06e863ebcc6b695eef0a0a3f2f0f1f3bb29 debuginfo(build-id) = 5e7c8fdfc801f7a13f144087739d63ed365ab565 debuginfo(build-id) = 6059bad66687c4de121f06941702b3d8e73133e0 debuginfo(build-id) = 6693506d1ef94cd61d518014a51bcac01c5f5a80 debuginfo(build-id) = 6ca9fd71b19b15ea9984a5270c091d2cf827f273 debuginfo(build-id) = 6f26400c932514f91f8a65aa4d4bd31f6febe6d2 debuginfo(build-id) = 862dc87e7603012cb24258c95820747e94f93dd7 debuginfo(build-id) = 8633485c9e26e5cea148769fda6c424b98bfd240 debuginfo(build-id) = 933b387937e1e1784f5d1f6a956c2e9c81e11059 debuginfo(build-id) = 9e819c10cacc0c95ace61e324694302db40d8d35 debuginfo(build-id) = 9fcd260e45e59658241c70372bfebef72d350b50 debuginfo(build-id) = ac13be86fc282fc33a147ddc760c33ba751a1281 debuginfo(build-id) = bd0a367a1c34440b975847ba301f3ee066a236a2 debuginfo(build-id) = bdc92f31dadc08aa038d2d45fc0f341f5e13dd2c debuginfo(build-id) = c0877c8c7cb063a509fbd0a1332b68046da00d18 debuginfo(build-id) = d1aaa58c2df20b342a6c48580d8dc541f6017251 debuginfo(build-id) = e1a79e85088d46a55cdb92092e2e8829f67d5cac debuginfo(build-id) = e3eda2374d1a794958fd754fe4ad2d977e0da05c debuginfo(build-id) = ec7a1d8c46b1a5bd56efeb18d6eeaec54da40018 debuginfo(build-id) = ef05758c5275447b90f3b15f6055936f81d130e2 debuginfo(build-id) = fcb8ae0f7870abb64f1f6de855ec56e2fac708a8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: clang-debugsource(aarch-64) = 17.0.6-3.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64 Wrote: /builddir/build/RPMS/clang-17.0.6-3.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/clang-analyzer-17.0.6-3.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/python3-clang-17.0.6-3.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/git-clang-format-17.0.6-3.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/clang-resource-filesystem-17.0.6-3.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/clang-devel-17.0.6-3.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/clang-debuginfo-17.0.6-3.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/clang-debugsource-17.0.6-3.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/clang-tools-extra-17.0.6-3.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/clang-libs-17.0.6-3.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/clang-libs-debuginfo-17.0.6-3.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/clang-tools-extra-debuginfo-17.0.6-3.ocs23.aarch64.rpm RPM build warnings: %patchN is deprecated (9 usages found), use %patch N (or %patch -P N) Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang++ and /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-17 Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang++ and /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-cl Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang++ and /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/bin/clang-cpp absolute symlink: /usr/bin/clang-format-diff -> /usr/share/clang/clang-format-diff.py Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/debug/usr/bin/clang++-17.0.6-3.ocs23.aarch64.debug and /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/debug/usr/bin/clang-17-17.0.6-3.ocs23.aarch64.debug Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/debug/usr/bin/clang++-17.0.6-3.ocs23.aarch64.debug and /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/debug/usr/bin/clang-cl-17.0.6-3.ocs23.aarch64.debug Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/debug/usr/bin/clang++-17.0.6-3.ocs23.aarch64.debug and /builddir/build/BUILDROOT/clang-17.0.6-3.ocs23.aarch64/usr/lib/debug/usr/bin/clang-cpp-17.0.6-3.ocs23.aarch64.debug Child return code was: 0